Edit a copy unavailable

16 posts, 0 answers
  1. Marcel Pietsen
    Marcel Pietsen avatar
    16 posts
    Member since:
    Apr 2010

    Posted 18 Apr 2010 Link to this post

    I was trying the new VS2010 with Blend 4 RC, Edit a copy is unavailable/grayed out. All styles under Edit additional styles are grayed out from Telerik components. Now I cannot edit RoyStyle and such, please help me.
  2. Marcel Pietsen
    Marcel Pietsen avatar
    16 posts
    Member since:
    Apr 2010

    Posted 20 Apr 2010 Link to this post

    No one to the rescue?
  3. UI for WPF is Visual Studio 2017 Ready
  4. Marcel Pietsen
    Marcel Pietsen avatar
    16 posts
    Member since:
    Apr 2010

    Posted 21 Apr 2010 Link to this post

    Support is rubbish here :(
  5. Kalin Milanov
    Admin
    Kalin Milanov avatar
    447 posts

    Posted 22 Apr 2010 Link to this post

    Hello Marcel,

    We have found a way to reintroduce Edit c Copy in Blend and this fix will be available in an upcoming service pack roughly at the end of next month. It is possible however to have this fixed and available in a prior to that internal build.

    Right now your only option is to drop a GridViewRow in Blend's design surface, edit its template by selecting from the menu Object -> Edit Style -> edit a Copy ...
    Once done you can delete the GridViewRow you just dropped and apply the style to the RadGridView's RowStyle property.

    I hope this will do until we get this Blend matter resolved.

    Regards,
    Kalin Milanov
    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.
  6. Marcel Pietsen
    Marcel Pietsen avatar
    16 posts
    Member since:
    Apr 2010

    Posted 22 Apr 2010 Link to this post

    Just checked it but I don't see any of the settings here:
    http://www.telerik.com/help/wpf/styling-radgridview-rows.html

    Like:

    Blend will update and will provide you the style properties for the style. In this case we will change the Background property to RowBackground and BorderBrush property to RowBorder.

    And:

    To do this from the menu select Object > Edit Other Styles > Edit RowStyle > Edit Style.

    Doesn't even exists here.


    I really need to edit the style since the default style doesn't match with the rest of the program. Any other idea's how to resolve this?





  7. Kalin Milanov
    Admin
    Kalin Milanov avatar
    447 posts

    Posted 23 Apr 2010 Link to this post

    Hi Marcel Pietsen,

    Please find attached a sample application which contains a RadGridView with attached row style and template to it so you can edit it to match your design.

    Also you might want to check out this article, especially the Styling GridViewHeaderCell for another view on how to style control parts.

    All the best,
    Kalin Milanov
    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.
  8. raven
    raven avatar
    4 posts
    Member since:
    Jul 2007

    Posted 21 Jul 2010 Link to this post

    do you have a project sample for styling the header row? I dont have access to expression blend...

    Thanks
  9. Paul
    Paul avatar
    102 posts
    Member since:
    Jun 2010

    Posted 31 Oct 2011 Link to this post

    This is still not working!

    Telerik Q2 2011
    Expression Blend 4

    Create empty is the only option.
  10. Julien
    Julien avatar
    9 posts
    Member since:
    Oct 2011

    Posted 29 Dec 2011 Link to this post

    Hi there,

    Problem is also available in version 2011.3.1214.40.

    Could you check what is wrong ?

    Thanks,

    Regards,

    Julien Dutto
  11. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 29 Dec 2011 Link to this post

    Hi,

     

    Unfortunately we have some issues related to the Blend support for RadGridView/WPF. I'll recommend you to use the following approach:


    1.Find in Assets library a single GridViewRow.
    2.Drag it onto the Artboard, right click on it and choose the option Edit Template -> Edit a copy.

    You may use the same approach for any other GridView part.


    Kind regards,
    Vanya Pavlova
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  12. Julien
    Julien avatar
    9 posts
    Member since:
    Oct 2011

    Posted 29 Dec 2011 Link to this post

    Hi Vanya,

    Thanks a lot for your answer. Do you have an estimated date when a fix could be provided for Blend support ? 
    Indeed, it is quite problematic for our designer who doesn't have the full WPF knowledge and who is wasting a lot of time on style editing.

    Thanks a lot,

    Regards,

    Julien.
  13. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 29 Dec 2011 Link to this post

    Hello,

     

    We will do our best to provide a fix for this issue for the next official release.
    Can you verify how the suggested workaround works for you? It is quite the same, however you should modify the styles element by element, not directly through the RadGridView and "Edit Additional Templates" option.  Indeed this is the only one diffference.
    If you have any additional questions about styling Telerik RadControls/WPF do not hesitate to contact us! 


    Greetings,
    Vanya Pavlova
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  14. Julien
    Julien avatar
    9 posts
    Member since:
    Oct 2011

    Posted 29 Dec 2011 Link to this post

    Hi Vanya,

    Indeed, this way is working perfectly.

    Do you know if this is a more general problem ? The "Edit a copy" option is unavailable for almost all the Rad controls we are using.

    Thanks a lot for your responsiveness.

    Regards,

    Julien.
  15. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 29 Dec 2011 Link to this post

    Hi,

     

    This sounds really strange. I have just tested the behavior you described however everything works fine by my side.
    Please try the following one and let me know what happens:


    1. Create a brand new WPF project in Blend. 
    2. Manually add references to the controls you need to use. 
    3. Drag a single RadButton or any other RadControl (not templated part of RadGridView) onto the ArtBoard, right click on it and choose the option Edit Template->Edit a copy. 


    Kind regards,
    Vanya Pavlova
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  16. May
    May avatar
    6 posts
    Member since:
    Apr 2012

    Posted 29 May 2012 Link to this post

    I want to change the BorderBrush for the background property for the "PART_RowBorder" border in the gridrow controltemplate. I know I can take edit the controltemplate but I find it a bit excessive to take out the whole template when i only need to edit one brush in the intire template. Can I solve this from the style?
    I hope you can answer this and that there is a solution, because I need to do a lot of flickering on the default style, but I don't want to do massive changes them.
  17. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 29 May 2012 Link to this post

    Hello May,

     

    The logic behind the grid lines is internally incorporated within the templates of GridViewRow (horizontal)/GridViewCell(vertical). There is no way to modify properties such as BorderBrush/BorderThickness using a simple style. If you want to modify either the horizontal/vertical gridlines and their thickness you should predefine the templates of GridViewRow/GridViewCell.
    In addition to this you may also use the properties of RadGridView HorizontalGridLinesBrush/VerticalGridLinesBrush: 

    <telerik:RadGridView  ItemsSource="{Binding Path=Items}" HorizontalGridLinesBrush="Red" VerticalGridLinesBrush="Blue" />




    Greetings,
    Vanya Pavlova
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top
UI for WPF is Visual Studio 2017 Ready