4 Answers, 1 is accepted
0
Hi fforna,
The visual appearance of RadControls for ASP.NET Ajax is controlled via the skin files. The different controls have different properties that might be used to change some state styles (e.g. RadToolBar's CssClass, FocusedCssClass, HoveredCssClass, etc. properties).
If you need a simple style change, you can use these properties.
On the other hand, if the functionality they provide is not enough, you can create a custom skin, or modify an existing one.
Let me know if we can assist with the change in the appearance of a control you use.
Kind regards,
Erjan Gavalji
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
The visual appearance of RadControls for ASP.NET Ajax is controlled via the skin files. The different controls have different properties that might be used to change some state styles (e.g. RadToolBar's CssClass, FocusedCssClass, HoveredCssClass, etc. properties).
If you need a simple style change, you can use these properties.
On the other hand, if the functionality they provide is not enough, you can create a custom skin, or modify an existing one.
Let me know if we can assist with the change in the appearance of a control you use.
Kind regards,
Erjan Gavalji
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
fforna
Top achievements
Rank 2
answered on 19 Jun 2008, 01:05 PM
Hi, thank's for your replay, but I need to change some visual apparence directly by program because I'm integrating your components in my CMS and so my customer want to change the apparence without any tecnical mechanism, only by select the color from a list.
For example in upload component I need to change the image of the search button, or the color of the text.
If it is not possible to have some behavior like these, I have to create a page that create the css file dinamically and so I have more load on the server.
Also I have seen tha there is a property called Style (RadUpload1.Style.Item) but I have not find any information about it in the documentation, may be can I use it?
Thank's
For example in upload component I need to change the image of the search button, or the color of the text.
If it is not possible to have some behavior like these, I have to create a page that create the css file dinamically and so I have more load on the server.
Also I have seen tha there is a property called Style (RadUpload1.Style.Item) but I have not find any information about it in the documentation, may be can I use it?
Thank's
0
Hi fforna,
I understand your need. Basically you can change the style of any element by overriding the CSS class that gets applied to it.
For example, using Firebug (for FireFox) or the IE Dev ToolBar (for Internet Explorer), you will find that the RadUpload Select button is an input element with the classes ruBrowse and ruButton applied. You can add a small style to the page, which will override one of these classes to get the desired result.
Please, find attached an example, demonstrating that approach.
As per the Style property - RadUpload inherits it from the base WebControl class. As RadUpload is a complex control, the Style property is not enough to modify all of the elements of the control.
Let me know if I can help further.
Kind regards,
Erjan Gavalji
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I understand your need. Basically you can change the style of any element by overriding the CSS class that gets applied to it.
For example, using Firebug (for FireFox) or the IE Dev ToolBar (for Internet Explorer), you will find that the RadUpload Select button is an input element with the classes ruBrowse and ruButton applied. You can add a small style to the page, which will override one of these classes to get the desired result.
Please, find attached an example, demonstrating that approach.
As per the Style property - RadUpload inherits it from the base WebControl class. As RadUpload is a complex control, the Style property is not enough to modify all of the elements of the control.
Let me know if I can help further.
Kind regards,
Erjan Gavalji
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
fforna
Top achievements
Rank 2
answered on 22 Jun 2008, 01:36 PM
Hi Erjan, I have tried you suggestion and I fount that it is a good way to integrate you controls in my cms.
Thank's a lot
Francesco
Thank's a lot
Francesco