More in this section

Forums / General Discussions / How to implement standard asp code behind ?

How to implement standard asp code behind ?

2 posts, 0 answered
  1. Bassem
    Bassem avatar
    19 posts
    29 Dec 2010
    02 Feb 2011
    Link to this post
    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 ?

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    02 Feb 2011
    Link to this post
    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

    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
2 posts, 0 answered