This is a migrated thread and some comments may be shown as answers.

Disabling a button loses theme in 4.0 framework

3 Answers 82 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Adam King
Top achievements
Rank 1
Adam King asked on 07 Mar 2011, 10:24 PM
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

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 11 Mar 2011, 09:59 AM
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.
0
Adam King
Top achievements
Rank 1
answered on 17 Mar 2011, 05:29 PM
fyi - the same problem exists after upgrading to the new telerik (March 16 2011) Q1 11 release
0
Georgi Tunev
Telerik team
answered on 21 Mar 2011, 01:45 PM
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.
Tags
General Discussions
Asked by
Adam King
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Adam King
Top achievements
Rank 1
Share this question
or