How to implement standard asp code behind ?
Hi ,
I used to do some developing in code behind in standard ASP.NET application.
I see it is quite different for the Sitefinity (RC 4.0).
I have few questions here :
1- How to access and modify programmatically my forms (I may want to see the HTML or ASP tags generated from the design mode)
2- How to add a code behind for a form that is already created with the design mode ?
Thanks
Hi xheo,
If you are talking about the built-in forms you can access them by using FormsManager class and its methods.
As for the second question it depends on whether you want to extend a form - in this case you have to inherit from the base class or if you want to create a new form - in this case you should inherit from FieldControl and implement IFormFieldControl
Regards,
Ivan Dimitrov
the Telerik team