Customize the Advanced Form in FormCreated event

Thread is closed for posting
1 posts, 0 answers
  1. 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD avatar
    1572 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

This Code Library is part of the product documentation and subject to the respective product license agreement.