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

update grid from button click within tooltip

1 Answer 54 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
RICHARD FRIEND
Top achievements
Rank 2
RICHARD FRIEND asked on 16 Jul 2010, 03:14 PM
Hi

I am showing my tooltip from my grid and i am firing an event which rebind my grid, however the grid does not get updated on the screen.

Im using an UpdatePanel.

My question is how to get the panel to update controls that sit outside of the tooltip from a button click that sits inside the tooltip ?


1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 21 Jul 2010, 11:15 AM
Hello RICHARD FRIEND,

As far as I understand you are using a RadToolTipManager with OnAjaxUpdate event and you want to update the grid from a button inside the tooltip. Of so, please note that in this case the tooltip contains another update panel which is used to make the ajax request to load the content. Since the update panel works as updating only the part of the page it wraps it is expected that the grid will not be updated.

In order to get the desired result you can simply consider the tooltip as another update panel. The easiest solution is to wrap the grid in an update panel with UpdateMode="Conditional" and when the button in the tooltip is clicked and modifications to the grid are made to call its method Update(). Note, that this is general MS AJAX knowledge and how the things work and it is not directly related to RadControls.


Best wishes,
Svetlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ToolTip
Asked by
RICHARD FRIEND
Top achievements
Rank 2
Answers by
Svetlina Anati
Telerik team
Share this question
or