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

Copy Style failed error (Visual Studio 2012 and Blend)

6 Answers 80 Views
LoopingList
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Add-in Express
Top achievements
Rank 1
Add-in Express asked on 26 Apr 2013, 09:51 AM
Hello guys,

When I try to modify the Style property according to the documentation:

In the 'Objects and Timeline' pane, select the RadLoopingList control you want to style. From the menu choose Object -> Edit Style -> Edit a Copy. You will be prompted for the name of the style and where to be placed.

I get the Copy Style failed error (please see the screenshot attached).

However, I would like to notice that the RadLoopingList control is located inside a container (not in the root of the page). For example:

<Grid Grid.Row="1" Margin="24,20,24,72">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="136"/>                
                <ColumnDefinition Width="4*"/>
            </Grid.ColumnDefinitions>
 
            <telerikPrimitives:RadLoopingList Grid.Column="1"/>
...

If I remove all containers and place the RadLoopingList on the page directly I don't get any errors and able to modify styles and templates. It looks like you need to correct the documentation, am I right?

The main questions is: why do I get such a strange error in both IDEs and is it allowed to place the RadLoopingList control inside containers such as Grid and etc.?

Regards from Belarus,
Eugene Astafiev

6 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 29 Apr 2013, 08:35 AM
Hi Eugene,

Thanks for writing and for your questions.

You are allowed to place RadLoopingList wherever you want so you should not experience any problems with its behavior in your scenario.

I guess the error you are seeing is more or less related to the Design Time engine of Blend.

Can I ask if you have the Update 2 for Visual Studio installed on your machine?

Greetings,
Deyan
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Add-in Express
Top achievements
Rank 1
answered on 29 Apr 2013, 08:44 AM
Hi Deyan,

Of course, Visual Studio 2012 is up to date (with Update 2 installed).

Please note that I get the same error in Visual Studio 2012 too (not only Expression Blend is affected).

Regards from Belarus,
Eugene Astafiev
0
Valentin.Stoychev
Telerik team
answered on 02 May 2013, 07:49 AM
Hello Irina,

As we mentioned on the other thread - we are working on the problem and it should be resolved soon.

All the best, Valentin.Stoychev
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Add-in Express
Top achievements
Rank 1
answered on 02 May 2013, 10:41 AM
Hi Valentin,

Please let me know (update the forum thread) when the issue is fixed. Thank you!

Regards from Belarus,
Eugene Astafiev
0
Prescornitoiu
Top achievements
Rank 1
answered on 26 Jan 2016, 10:33 PM

hi man if u fix it i tell how ... change the  net framework on the project  better 1 i have same error on my project 3.0 to 3.5 and fix the copy style failed

 

hope help you

0
Lance | Manager Technical Support
Telerik team
answered on 27 Jan 2016, 10:01 PM
Hello Prescornitoiu,

Can you elaborate further on your problem, I'm not clear on what the question is. If possible, please include a screenshot of what you're seeing and the template/style you're trying to extract. If you'd like me to provide a copy of the template/style please respond with the following:

-Version of Visual Studio you're using
-Version of Telerik UI for Windows Phone you're using
-The Style name/Template name
-Is this for Windows Phone 7 or 8

Regards,
Lance | Tech Support Engineer, Sr.
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
LoopingList
Asked by
Add-in Express
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Add-in Express
Top achievements
Rank 1
Valentin.Stoychev
Telerik team
Prescornitoiu
Top achievements
Rank 1
Lance | Manager Technical Support
Telerik team
Share this question
or