Copy Style failed error (Visual Studio 2012 and Blend)

7 posts, 0 answers
  1. Add-in Express
    Add-in Express avatar
    15 posts
    Member since:
    Jan 2013

    Posted 26 Apr 2013 Link to this post

    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

  2. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 29 Apr 2013 Link to this post

    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.
  3. DevCraft banner
  4. Add-in Express
    Add-in Express avatar
    15 posts
    Member since:
    Jan 2013

    Posted 29 Apr 2013 Link to this post

    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
  5. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 02 May 2013 Link to this post

    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.
  6. Add-in Express
    Add-in Express avatar
    15 posts
    Member since:
    Jan 2013

    Posted 02 May 2013 Link to this post

    Hi Valentin,

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

    Regards from Belarus,
    Eugene Astafiev
  7. Prescornitoiu
    Prescornitoiu avatar
    1 posts
    Member since:
    Jan 2016

    Posted 26 Jan in reply to Add-in Express Link to this post

    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

  8. Lance | Tech Support Engineer, Sr.
    Admin
    Lance | Tech Support Engineer, Sr. avatar
    137 posts

    Posted 27 Jan Link to this post

    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
Back to Top
DevCraft banner