Steve-Appetere
-
6/15/2009 6:05:07 AM
Templated Form Controls
Hi
When using ASPX templates, it is quite restrictive using Alternative Forms. For example, I am using a CustomRegistrationForm WebPart, and getting the precise validation I want is difficult (you cannot set FullName & Email to be compulsory values, without changing some code in the WebPart).
A more elegant solution would be to also offer the CustomRegistrationForm (& all the other controls which use Alternative Forms) as Templated Controls.
Then you could define the layout of the form using a template within the Kentico control, in the ASPX page. This would make ASPX development much easier, and allow the use of standard ASP.NET validation controls, etc.
|