Hi,
I hav used RadColorDialog ,on the click of a button i will show this radcolordialog and from it i select a color.Now i want the selected color to add to the themeslist so that i can use that color has my theme to be applied to my application .How can i do this .....
Thanks
Divya
I hav used RadColorDialog ,on the click of a button i will show this radcolordialog and from it i select a color.Now i want the selected color to add to the themeslist so that i can use that color has my theme to be applied to my application .How can i do this .....
Thanks
Divya
6 Answers, 1 is accepted
0
Hello Divya,
Thank you for writing.
I am not quite sure that I understand your requirement. Could you please try paraphrasing your requirement so I can provide you with adequate support?
If you are trying to set the color which you have previously selected in RadColorDialog to override the theme color, please consider the following help articles:
I am looking forward to your reply.
Best wishes,
Stefan
the Telerik team
Thank you for writing.
I am not quite sure that I understand your requirement. Could you please try paraphrasing your requirement so I can provide you with adequate support?
If you are trying to set the color which you have previously selected in RadColorDialog to override the theme color, please consider the following help articles:
I am looking forward to your reply.
Stefan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Divya
Top achievements
Rank 1
answered on 02 May 2011, 10:03 AM
Hi,
Yes as u understood ,i want the selected color from the radcolordialog to be applied to my entire application
how can i do this....
earlier like if i want office colors i was writing this
Yes as u understood ,i want the selected color from the radcolordialog to be applied to my entire application
how can i do this....
earlier like if i want office colors i was writing this
ThemeResolutionService
.ApplyThemeToControlTree(this, "Office2007Silver"); so that silver color was applied to my entire application
in the same way when i select a color from radcolordialog that color shld be applied
Thanks
Divya
0
Hi Divya,
Thank you for writing.
Themes and colors are different things. Themes are complex property settings to all our controls and when you apply one of the predefined themes, the entire application gets the look and feel defined in the theme. This is why you can not select a color in the color dialog and expect it to be applied to the application.
However, there is a possibility, where you set a certain theme and you can change its base color using the ColorBlending mechanism. Please refer to this help article, which demonstrates how can you use this mechanism.
I hope that this will work for you. Should you have any other questions, do not hesitate to contact us.
All the best,
Stefan
the Telerik team
Thank you for writing.
Themes and colors are different things. Themes are complex property settings to all our controls and when you apply one of the predefined themes, the entire application gets the look and feel defined in the theme. This is why you can not select a color in the color dialog and expect it to be applied to the application.
However, there is a possibility, where you set a certain theme and you can change its base color using the ColorBlending mechanism. Please refer to this help article, which demonstrates how can you use this mechanism.
I hope that this will work for you. Should you have any other questions, do not hesitate to contact us.
All the best,
Stefan
the Telerik team
0
Divya
Top achievements
Rank 1
answered on 06 May 2011, 11:23 AM
Hi
Wt u explained me i understand but for every each color i cant create separate themes na ............so please can u post me a sample how to override colorblending concept
Thanks
Divya
Wt u explained me i understand but for every each color i cant create separate themes na ............so please can u post me a sample how to override colorblending concept
Thanks
Divya
0
Divya
Top achievements
Rank 1
answered on 10 May 2011, 05:45 AM
Hi,
If possible can u post me the code regarding colorblending concept r send me a sample ....
Thanks
Divya
If possible can u post me the code regarding colorblending concept r send me a sample ....
Thanks
Divya
0
Hi Divya,
Thank you for writing back.
The color blending takes a specified color from the current theme and changes it to another specified color. For example, take the silver color of the Office2007Silver theme and change it to orange. Please refer to the attached video.
As far as I understand, this is exactly what you want - to change the main color of a theme. Otherwise, if you want to change other color as well, you have to edit the theme(s) and change them accordingly.
Let me know if this works for you and whether I understood your requirement correctly.
All the best,
Stefan
the Telerik team
Thank you for writing back.
The color blending takes a specified color from the current theme and changes it to another specified color. For example, take the silver color of the Office2007Silver theme and change it to orange. Please refer to the attached video.
As far as I understand, this is exactly what you want - to change the main color of a theme. Otherwise, if you want to change other color as well, you have to edit the theme(s) and change them accordingly.
Let me know if this works for you and whether I understood your requirement correctly.
All the best,
Stefan
the Telerik team