Disabling a button loses theme in 4.0 framework

4 posts, 0 answers
  1. Adam King
    Adam King avatar
    24 posts
    Member since:
    May 2010

    Posted 07 Mar 2011 Link to this post

    For some reason now in .net framework 4.0 all disabled buttons seem to lose their theme and become the default grey color. Enabling them again brings its theme back

    We just switched to a new iis server 7.5 using asp.net framework 4.0

    The buttons through out the website have a nice style/theme. These are not set inside each button and there are no classes set specifically for buttons I dont think but I believe inherit the theme from somewhere, I believe the web.config in either:

     <appSettings>
        <add key="Telerik.Skin" value="WebBlue" />
    ...

    OR it is set in our custom theme
    <system.web>
        <pages styleSheetTheme="Seniors">

    All the buttons did display a nice light blue gradient, and when disabled they go a few shades lighter blue

    Any ideas why the disabled button would look different now? Or how to change it

    Thanks
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 11 Mar 2011 Link to this post

    Hello Adam,

    We are familiar with this issue. The problem here is that the new framework puts a class to the disabled controls (class="aspNetDisabled") and in such cases, as explained before, the decorator does not style these controls. For the time being we cannot provide a workaround, but we will do our best to have it fixed for Q1 2011 SP1.


    Kind regards,
    Georgi Tunev
    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. UI for ASP.NET Ajax is Ready for VS 2017
  4. Adam King
    Adam King avatar
    24 posts
    Member since:
    May 2010

    Posted 17 Mar 2011 Link to this post

    fyi - the same problem exists after upgrading to the new telerik (March 16 2011) Q1 11 release
  5. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 21 Mar 2011 Link to this post

    Hello Adam,

    Yes, as I noted in my previous reply, we are still investigating possible solutions and we will do our best to have this issue resolved for the first service pack.


    Best wishes,
    Georgi Tunev
    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.
Back to Top