RadFormDecorator is causing RadButton to load slowly

2 posts, 0 answers
  1. Gary Meagher
    Gary Meagher avatar
    29 posts
    Member since:
    Jan 2010

    Posted 18 Nov 2010 Link to this post

    Removing RadFormDecorator  solves the RadButton problem but then all my asp:Buttons are displayed without the skin.
    I also tried to replace all the asp:Buttons with RadButtons but that opens a whole new pandora's box with javascript errors etc.
    Is there a way to not use RadFormDecorator but still apply skin to asp:Button controls?
  2. Bozhidar
    Bozhidar avatar
    677 posts

    Posted 19 Nov 2010 Link to this post

    Hi Gary,

    It is not necessary to remove RadFormDecorator if you want RadButton to work correctly you should use the following CSS fix:

    <style type="text/css">
        .RadButton button,
        .RadButton input[type='submit'],
        .RadButton input[type='reset'],
        .RadButton input[type='button'],
        .RadButton input[type='checkbox'],
        .RadButton input[type='radio'],
        .RadButton select,
        .RadButton input,
        .RadButton textarea,
        .RadButton button,
        .RadButton select
             visibility: visible!important;

    This will allow you to use both controls on the same page without the annoying postponed appearance of the buttons left part. 

    But if you want to remove RadFormDecorator and still want the buttons to be skinned, you should use RadButton control, otherwise the button will not be styled.

    Kind regards,
    the Telerik team
    Explore the entire set of ASP.NET AJAX controls we offer here and browse the myriad online demos to learn more about the components and the features they incorporate.
  3. DevCraft R3 2016 release webinar banner
Back to Top