Set Common Properties or Behavior for a Type of Control

Thread is closed for posting
1 posts, 0 answers
  1. BC36940A-3DDA-4D74-9EDF-0CC5B44D1CAB
    BC36940A-3DDA-4D74-9EDF-0CC5B44D1CAB avatar
    11 posts
    Member since:
    Oct 2012

    Posted 15 Jul 2019 Link to this post

    Requirements


    Telerik Product and Version

    3.5+

    Supported Browsers and Platforms

    All browsers supported by Telerik UI for ASP .NET AJAX

    Programming language

    C#

    PROJECT DESCRIPTION

    Telerik toolset for ASP.NET AJAX provides more than 100 different controls and components. In some scenarios you may want to define a specific standard configuration/properties and behavior for some of these control types. This requirement is possible to achieve using different ways. It is important to note here that using custom controls is not supported, even when they are inherited directly from Telerik controls. Instead, you can use one of the following options to implement this requirement:

    1. Place the control within an .ascx WebUserControl. Define the whole configuration and in the .aspx pages, you can use this custom UserControl version of the control.

    2. You can try using adapters:
    http://www.telerik.com/forums/raddatepicker-remove-1-1-1980-mindate-default
    https://www.telerik.com/forums/hide-row-header-of-filter-raddatepicker

    You can also download and run the attached web site sample demonstrating this option.

    3. Alternatively, you can check predefined Themes, however, this integration is not tested with Telerik controls and out of our support scope:

    https://msdn.microsoft.com/en-us/library/ykzx33wh.aspx
    https://msdn.microsoft.com/en-us/library/0yy5hxdk.aspx

Back to Top

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