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

[Solved] Accessing cells in newly added column

2 Answers 70 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dhileep Kumar Sampath
Top achievements
Rank 1
Dhileep Kumar Sampath asked on 09 Dec 2009, 02:14 PM
Hi All,
       I am allowing users to add a column in a gridview at runtime. I am able to add the column using gridview.Columns.Insert method. Now cells have to be formatted (such as setting tooltip, setting background and foreground color) in the newly added column. I am not able to get control of the cells of the newly added column because they are not available. At the time of first load, Same formatting was done during Rowloaded event since the cells of the row are available already. But i dont want to reload all the rows because it is time consuming. Can someone help me on this?

Please let me know if u need more info.

Regards,
Dhileep

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 09 Dec 2009, 03:50 PM
Hi Dhileep,

 I've attached an example project to demonstrate you a bit different approach.


Greetings,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Dhileep Kumar Sampath
Top achievements
Rank 1
answered on 09 Dec 2009, 04:48 PM
Hi Vlad,
    Thanks for sending me the application in quick time. I think this will solve my problem. will try the approach and let you know if i have any issues.

Thanks again.

Regards,
Dhileep
Tags
GridView
Asked by
Dhileep Kumar Sampath
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Dhileep Kumar Sampath
Top achievements
Rank 1
Share this question
or