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

Default Cell Style and Custom column

3 Answers 96 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Daní
Top achievements
Rank 1
Daní asked on 11 Jan 2011, 01:07 PM
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í

3 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 11 Jan 2011, 06:15 PM
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>>
0
Daní
Top achievements
Rank 1
answered on 12 Jan 2011, 10:08 AM
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í
0
Vanya Pavlova
Telerik team
answered on 12 Jan 2011, 01:57 PM
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>>
Tags
GridView
Asked by
Daní
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Daní
Top achievements
Rank 1
Share this question
or