Init/configure controls on all web pages

2 posts, 0 answers
  1. miksh
    miksh avatar
    285 posts
    Member since:
    Nov 2006

    Posted 25 Apr 2014 Link to this post

    How to init/configure telerik controls to look similar on every website page? I.e. very similar what I can do with theme's skin for asp.net controls.
    E.g. have all DatePickers with the parameters below.
    <telerik:RadDatePicker runat="server" Width="140px"
        DateInput-EmptyMessage="mm/dd/yyyy" MinDate="2000-01-01">
    </telerik:RadDatePicker>
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    5459 posts

    Posted 29 Apr 2014 Link to this post

    Hi,

    I believe that the most suitable approach for predefining certain control properties are the ASP Themes: http://msdn.microsoft.com/en-us/library/vstudio/ykzx33wh(v=vs.100).aspx. Since our controls inherit from System.Web.UI.WebControls.WebControl, the ASP Themes work with our controls as well.


    Regards,

    Marin Bratanov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top