Default Cell Style and Custom column

4 posts, 0 answers
  1. Daní
    Daní avatar
    303 posts
    Member since:
    Feb 2008

    Posted 11 Jan 2011 Link to this post

    Hello,

    I have to questions that I would appreciate some one helps me to solve them:
    1. I'd like to define a default cell style for all columns in a GridView. I've tried to define the style (without x:key attribute) insid the GridView Resources unsuccesfully. Now, I'm providing the style explicitly on ecah column, and I suspect that this is degrading the application performance (I have many columns).
    2. I've created a Custom Column following the example at Add a button column. It's working fine but I'd like to remove the uggly border that appears when cell is selected (the same border is visible in the linked example).
    thanks

    Daní
  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 11 Jan 2011 Link to this post

    Hello Daní,

     
    Straight to the questions:

    1. I was not able to reproduce an issue related to the implicit style targeted at GridViewCell. I suppose that there is something specific in this use-case and it could be great if you can send us a small application which can help us to see what is wrong. 
    2. You need to remove the border of GridViewCell in its current state, as it is demonstrated here.


    If you need any additional information please let me know.

    Kind regards,
    Vanya Pavlova
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  3. DevCraft banner
  4. Daní
    Daní avatar
    303 posts
    Member since:
    Feb 2008

    Posted 12 Jan 2011 Link to this post

    Thanks Vanya for your help,

    My scenario is a bit complex. In fact, I'm not using a GridView but a TreeListView wich has RowStyleSelector provided. This TreeListview is part of a DataTemplate definied in a resource dictionari hosted in a xap downloaded dynamically. This DataTemplate is the ContentTemplate of a transition control (depending on user's interaction, a xap is loaded dynamically and via MEF it exports the TransitionControl's Content and ContentTemplate. I've tried to define the desired default CellStyle insied the TransitionControl's Resources and also inside the TreeListView's Resources, as I said, unsuccesfully. I'll retry to solve this issue and if I cannot solve it, I'll try to reproduce my scenario in a "small" demo.
    Thnaks again.

    Daní
  5. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 12 Jan 2011 Link to this post

    Hi Daní,

     
    Thank you for the detailed information about your use-case. It could be great if you can incorporate these issues in a small sample project which you can send us via support ticket to see what is wrong.
    I will be waiting for your response!

    All the best,
    Vanya Pavlova
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top