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

Creating single theme XML file Q1 2010

3 Answers 88 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Prakash P
Top achievements
Rank 1
Prakash P asked on 22 Jun 2010, 01:06 PM
Hi Team,

       I have following problem please help me in doing that,

Problem Desc:

    Actaully we used Q3 2009 RadControls for winforms. recently we have upgraded to Q1 2010 RadControls for winform. 
In Q3 2009 version we had customized Themes in XML file. I need to create the customized theme in single xml file in Q1 2010 too.
I tried in visual style builder but it's creating single file for each and every control. i need to a single xml file which should have all controls themes inside it. how to do that     
    
Thanks In Advance

3 Answers, 1 is accepted

Sort by
0
Robert
Top achievements
Rank 1
answered on 22 Jun 2010, 06:52 PM
0
Prakash P
Top achievements
Rank 1
answered on 23 Jun 2010, 06:25 AM
Hi Robert,

Thanks for your kindly reply 

But still i want to create all control's style in single xml file only. Is there any option for that through which i can create all control's style in single xml file not as a package. 

Regards
P.Prakash
0
Deyan
Telerik team
answered on 25 Jun 2010, 04:41 PM
Hello Prakash P,

Thanks for writing back.

In this case you should copy all existing XmlStyleBuilderRegistration blocks from the different XML files (and their content) into one single file:
<?xml version="1.0" encoding="utf-8"?>
<XmlTheme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ThemeName="ControlDefault,*" ThemeVersion="2.0">
  <BuilderRegistrations>
    <!--here come all XmlStyleBuilderRegistrations from your files-->
  </BuilderRegistrations>
   <StyleRepository>
      <!--here comes the theme's style repository-->
   </StyleRepository>
</XmlTheme>

Please note that this will significantly decrease the performance of your application since the XML file will become very large.

I hope this helps.

Kind regards,
Deyan
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
Tags
Themes and Visual Style Builder
Asked by
Prakash P
Top achievements
Rank 1
Answers by
Robert
Top achievements
Rank 1
Prakash P
Top achievements
Rank 1
Deyan
Telerik team
Share this question
or