This question is locked. New answers and comments are not allowed.
I've worked with 4 or 5 other grids before and not once needed to ask how to do this. Please show me how to bold the entire first row (not header row) in the GridView.DataLoaded event.
5 Answers, 1 is accepted
0
Hi,
Vlad
the Telerik team
You can access the rows using ItemContainerGenerator similar to this demo to set desired properties.
All the best,Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Aaron
Top achievements
Rank 1
answered on 05 Jan 2011, 05:29 PM
I believe I was pretty clear and specific on what I was asking. It seems the standard quick reply from the Telerik team is a vague example of how to solve the problem, requiring your customer to still rummage through the example code to find a solution. Don't get me wrong - I feel your demos are fantastic but when a customer takes time to post a new thread, I would hope you would trust that they did due diligence in running searches and looking through demos to find their answer. Especially when the customer is specific in their request, I would hope that the Telerik team would reply with code instead of a link to a demo.
Your example does not show me how to set the first row bold. It shows me how to loop through rows and change the enabled property.
This returns nothing:
Your example does not show me how to set the first row bold. It shows me how to loop through rows and change the enabled property.
This returns nothing:
GridView1.Items.MoveCurrentToFirst()Dim row As GridView.GridViewRow = TryCast(GridView1.ItemContainerGenerator.ContainerFromItem(GridView1.CurrentItem), GridView.GridViewRow)0
Hi,
Vlad
the Telerik team
The example will show you how to access rows - no matter if this is the first row or not.
Kind regards,Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Aaron
Top achievements
Rank 1
answered on 05 Jan 2011, 05:38 PM
I noticed you took time to say Kind Regards but still lack the effort to post code specific to my request.
The following returns nothing; however GridView1.Items(0) does return a value
The following returns nothing; however GridView1.Items(0) does return a value
Dim row As GridView.GridViewRow = TryCast(GridView1.ItemContainerGenerator.ContainerFromItem(GridView1.Items(0)), GridView.GridViewRow)0
Aaron
Top achievements
Rank 1
answered on 12 Jan 2011, 11:49 PM
I'm still looking for a way to set properties for a specific row in the grid. I've tried the following but it returns nothing.
Dim RowToAlter As GridViewRow = TryCast(GridView1.ItemContainerGenerator.ContainerFromItem(GridView1.Items(0)), GridViewRow)