Customize the Advanced Form in FormCreated event

1 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1679 posts
    Member since:
    Oct 2004

    Posted 12 Sep 2011 Link to this post

    Requirements

    RadControls version

    Q1 2016 or higher 

    .NET version

     4.0

    Visual Studio version

     2010

    programming language

     C# and VB.NET

    browser support

    all browsers supported by RadControls


    PROJECT DESCRIPTION       

    This project shows how the advance form can be customized in the FormCreated event handler. It covers the following cases:

    • Change the start time picker options (not available in Mobile RenderMode);
    • Update the end date picker when the start date picker is changed;
    • Update the end date picker when the start date picker is changed;
    • Find the textbox for the annotations custom attribute and change its label (the latter is not available in Mobile RenderMode);
    • Add a new combobox that updates the subject field (not available in Mobile RenderMode);
    • Hide the "all day checkbox";
    • Change the selected index of a resource combobox so always one option is preselected;
    • Make changes in the recurrence editor;
    • Add a new custom validator for the description field.

    Below are included three separate implementations for the different RenderModes supported by the RadScheduler control: Classic, Lightweight and Mobile.

Back to Top