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

Where to set Application wide setting for control?

4 Answers 39 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 12 Sep 2009, 09:30 AM
Hello Folks,

Can anyone tell that if it possible to set some Telerik's components property in ASP.INET Application wide?
For example: I have RadTextBoxes in my Application and when setting their ReadOnly property to false I would rather
want text to appear black than grey.

Where can I chage this kind of settings?

Cheers,

4 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 12 Sep 2009, 09:56 AM
Hi,

You can add the following CSS to page if you want to set particular color for text displayed in RadTextBox if that controls is ReadOnly.

CSS:
 
<style type="text/css"
html body .RadInput_Default .riRead, 
html body .RadInput_Read_Default 
    color:black !important; 
</style> 

-Shinu.



0
Mike
Top achievements
Rank 1
answered on 12 Sep 2009, 10:12 AM
Hello Shinu,

Thanks for your answer!

So would the nice solution be a own .css file which would override Telerik's basic css settings?

By the way, where can I find those Telerik/css names like .RadInput_Read_Default etc. Are there any
list that what kind of css definings are used in different controls?

Cheers
0
Shinu
Top achievements
Rank 1
answered on 14 Sep 2009, 05:15 AM
Hi Mike,

Check  out the following help articles.


Thanks
Shinu
0
Mike
Top achievements
Rank 1
answered on 14 Sep 2009, 06:08 AM
Thanks again!

Cheers,
Tags
General Discussions
Asked by
Mike
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Mike
Top achievements
Rank 1
Share this question
or