Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
Which is the best method for extending umbraco ?
For example: to made new usercontrols, forms, ecc...
For more basic forms you may want to look at Contour. It depends on how complex the form logic and UI need to be. But it's a good starting point. http://umbraco.org/products/umbraco-contour.
-Chris
Ok...
but I can create a normal html form with javascript ajax methods and post to server data via web service without made usercontrol+dll.
Do you specifically have to use Web Services?
.NET controls are very powerful within Umbraco so here's how I would do it.
Or if you don't need to send email, you could also post the form to another page (internal/external).
I'll use web service as frontend to remote server.
Then,
Do I need to use Visual Studio and not out of the box trick , If I want to made some form?...
The template system/ usercontrol system is pretty open so referring back to your previous comment, you can use standard
<input> tags and jquery (.ajax method http://api.jquery.com/category/ajax/) to post the form to a webservice.
As for using a user control without the compiled dll, you can always use it simply as a container for you standard html/jquery code
or if you want code behind execution you can place the server code in a <script runat="server" language="C#"> directly in the source of the control.
<%@ Control Language="C#" ClassName="MyControl" %>
<script runat="server">
//put server code here
</script>
<div>
<label>First Name</label><asp:TextBox id="txtFirstName" Runat="Server"/>
<label>Last Name</label><asp:TextBox id="txtLastName" Runat="Server"/>
</div>
This is a good solution for small or simple code. But in that situation there isn't separation between layout and code...
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Which is the best method for extending umbraco ?
Hi,
Which is the best method for extending umbraco ?
For example: to made new usercontrols, forms, ecc...
For more basic forms you may want to look at Contour. It depends on how complex the form logic and UI need to be. But it's a good starting point. http://umbraco.org/products/umbraco-contour.
-Chris
Ok...
but I can create a normal html form with javascript ajax methods and post to server data via web service without made usercontrol+dll.
Do you specifically have to use Web Services?
.NET controls are very powerful within Umbraco so here's how I would do it.
Or if you don't need to send email, you could also post the form to another page (internal/external).
I'll use web service as frontend to remote server.
Then,
Do I need to use Visual Studio and not out of the box trick , If I want to made some form?...
The template system/ usercontrol system is pretty open so referring back to your previous comment, you can use standard
<input> tags and jquery (.ajax method http://api.jquery.com/category/ajax/) to post the form to a webservice.
As for using a user control without the compiled dll, you can always use it simply as a container for you standard html/jquery code
or if you want code behind execution you can place the server code in a <script runat="server" language="C#"> directly in the source of the control.
This is a good solution for small or simple code. But in that situation there isn't separation between layout and code...
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.