telerik radbutton to look like native controls

5 posts, 1 answers
  1. Aarsh
    Aarsh avatar
    192 posts
    Member since:
    Jun 2012

    Posted 29 Jan 2014 Link to this post

    hello friends, no doubt the reverse has been asked too many times, but to save on performance I mostly likely use vanilla asp.net server controls or even html controls, then it is always a cherry on the top, aka CSS. My question is, considering the "population" of rad buttons is there a way to make them look like native css controls ?

    This is an IE 9 / 10 / 11 specific asp.net 4.0 appif that opens any door, but I'd prefer to have a generic solution.

    Thanks,
    -Aarsh
  2. Aarsh
    Aarsh avatar
    192 posts
    Member since:
    Jun 2012

    Posted 30 Jan 2014 Link to this post

    ...
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Answer
    Danail Vasilev
    Admin
    Danail Vasilev avatar
    1493 posts

    Posted 31 Jan 2014 Link to this post

    Hi Aarsh,

    You can change the appearance of the RadButton, so that it resembles the appearance of the standard asp button by setting its EnableBrowserButtonStyle property to "true". For example:
    ASPX:
    <telerik:RadButton ID="RadButton1" runat="server" Text="click" EnableBrowserButtonStyle="true"/>


    Regards,
    Danail Vasilev
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
  5. Aarsh
    Aarsh avatar
    192 posts
    Member since:
    Jun 2012

    Posted 03 Feb 2014 in reply to Danail Vasilev Link to this post

    Thanks,  Danail.

    Is that also achievable for RadCombobox ?
     ( Here is why : http://www.telerik.com/forums/decorated-dropdownlist-control-doesn%27t-render-sometimes )
  6. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1493 posts

    Posted 05 Feb 2014 Link to this post

    Hi Aarsh,

    The mentioned appearance behavior is achievable with RadComboBox as well. You must set the RenderMode property to "Native". For example:
    ASPX:
    <telerik:RadComboBox ID="RadComboBox1" runat="server" RenderMode="Native">
        <Items>
            <telerik:RadComboBoxItem Text="item 1" />
            <telerik:RadComboBoxItem Text="item 2" />
            <telerik:RadComboBoxItem Text="item 3" />
        </Items>
    </telerik:RadComboBox>

    As for the issue with the RadFormDecorator, we can continue our discussion in the mentioned forum thread.

    Regards,
    Danail Vasilev
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017