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

[Solved] Reload row

3 Answers 93 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.
Terry Foster
Top achievements
Rank 1
Terry Foster asked on 24 Nov 2009, 08:29 PM
Hi,

I have a column that contains an image.  When you hover over the image, I display some text information through a tooltip.  I set all of this up through a cell data template and the 'RowLoaded' event, and all is working well.  However, the user can perform an action, whereby the information displayed in the tooltip needs to get updated.  Because the tooltip cannot be bound to anything, this information cannot get updated automatically, as when a column is directly bound to some object property.  Therefore, I have to rebind the entire grid in order for the tooltip in one cell of one row to get updated.  Is there a more efficient way of doing this?  Ideally, I would imagine a way to reload just the row that contains the image with the tooltip that needs to get updated.

Thanks,
Terry

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 25 Nov 2009, 06:53 AM
Hi Terry,

Since the tooltip is not bound you can call the code from RowLoaded event explicitly if this is extracted in separate method.

All the best,
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
Terry Foster
Top achievements
Rank 1
answered on 25 Nov 2009, 02:03 PM
I tried that, but I can't figure out how to access the row I need (like the one provided by the RowLoadedEventArgs).  RadGridView has a Columns property but I can't seem to find a Rows property.  How can I get at the row I need?

Thanks,
Terry
0
Vlad
Telerik team
answered on 26 Nov 2009, 06:50 AM
Hi Terry,

You can get the grid row using ItemContainerGenerator. Please check this demo for more info:
http://demos.telerik.com/silverlight/#GridView/Disabled

Sincerely yours,
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.
Tags
GridView
Asked by
Terry Foster
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Terry Foster
Top achievements
Rank 1
Share this question
or