Hide Subject Textbox and label on Custom Advanced Form

2 posts, 0 answers
  1. davidp
    davidp avatar
    11 posts
    Member since:
    Jun 2012

    Posted 05 Nov 2012 Link to this post

    I need to hide the Subject textbox and label and make that field not required when using the Custom AdvancedForm User Control.
    I have found examples of how to hide Subject Textbox when not using the AdvancedForm User Control by using OnFormCreated, which works well.  However, I cannot get OnFormCreated to work with the AdvancedForm User Control.  

    Any Examples of how to do this?
    Thanks
  2. Plamen
    Admin
    Plamen avatar
    2958 posts

    Posted 07 Nov 2012 Link to this post

    Hi David,

     
    When using the AdvancedForm User Control we recommend using the PageLoad of the AdvancedForm.ascx.cs page instead of using FormCreated and customize the form as you want directly in the mark up.

    You can also refer to this help topic where more information about such customization is provided.

    All the best,
    Plamen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top