How do I customize an asp:Button class? - General Discussions - General Discussions - Progress Community
 General Discussions

How do I customize an asp:Button class?

  • How do I customize an asp:Button class?
  • How do I customize an asp:Button class?I have this bit of code in an ASPX file:[CODE]
    <div class="buttonContainer" style="clear:both;width:100%;text-align:left">
       <asp:Button ID="btnProceed" runat="server"  Text="Next" OnClick="ProceedButton_Clicked" Enabled="true" />
    </div>[/CODE]
    So, if I want to make the button bigger or bolder text, how would I do it? 
  • Hi,
    Styling controls on simple .aspx page is a standard asp.net procedure and it is not directly relate to our product. However you can use the CssClass property on the asp:Button control with value of yourClass.
    Then you can refer to the class in your CSS file like this:

    .yourClass
          

    You need to also put a reference in the <head> tag of the .aspx page to point to your CSS file.

    Greetings,
    Kaloyan
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items