Default control properties

2 posts, 0 answers
  1. Trevor
    Trevor avatar
    6 posts
    Member since:
    Dec 2011

    Posted 23 May 2013 Link to this post

    I searched around for an answer to this and the most closely related answer said that default properties were handled by the skin manager but did not show how to do it.  I am wondering if there is a way that I can set default values for controls.  Say that all inputs in my project should have a width of 100px .  Could I define that RadTextBoxes, RadComboBoxes, etc. should have 100px by default if not explicitly set on my markup?  Possibly in the webconfig file?
  2. Ryan
    Ryan avatar
    9 posts
    Member since:
    Jun 2012

    Posted 24 May 2013 Link to this post

    I do this in my file.  Just don't have a SkinID associated with your default properties.  You would have to do it for each control though.

    <tel:RadCombobox Runat="server" Width="100px" />

    <tel:RadNumericTextBox runat="server" Width="100px" />




Back to Top