How to implement standard asp code behind ?

Posted by Community Admin on 03-Aug-2018 21:47

How to implement standard asp code behind ?

All Replies

Posted by Community Admin on 02-Feb-2011 00:00

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
 

Posted by Community Admin on 02-Feb-2011 00:00

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

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed