More in this section
Forums / General Discussions / How do I customize an asp:Button class?

How do I customize an asp:Button class?

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Eric Larsen
    Eric Larsen avatar
    1 posts
    31 Jan 2006
    10 Apr 2013
    Link to this post
    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" />
    So, if I want to make the button bigger or bolder text, how would I do it? 
  2. Kaloyan
    Kaloyan avatar
    272 posts
    06 Feb 2017
    12 Apr 2013
    Link to this post
    Styling controls on simple .aspx page is a standard 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:


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

    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
2 posts, 0 answered