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

Trouble with pagination

4 Answers 88 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 2
Joe asked on 02 Apr 2008, 11:19 PM
I'm having trouble getting tool tips to display on my ajaxified grid view after changing pages.

My grid view is wired up using a RadAjaxManagerProxy to update itself when the page is changed.

The first page works fine and if I switch back to it it still works.

All the pages work when I remove the grid from RadAjaxManager and do a full postback. So I conclude my problem has something to do with the fact that the grid view is wired up to use AJAX for page changes,sorts,etc.

Do you guys have a tooltip example that does pagination using ajax with tooltips on multiple pages?


4 Answers, 1 is accepted

Sort by
0
Joe
Top achievements
Rank 2
answered on 04 Apr 2008, 01:02 AM
Is it possible to make this scenario work?
0
Svetlina Anati
Telerik team
answered on 07 Apr 2008, 11:46 AM
Hello Joe,

I am not quite sure why the RadToolTip shows only for your first page - I assume that it could possibly be a missing rebinding of the GridView. If you don't rebind it, the row_databound event will not fire and the target controls would not be added to the RadToolTipManager's TargetControls collection.

I prepared a simple example which demonstrates the desired functionality - you can find it in the attached archive file. The GridView's ajaxifying is made by simply putting it in a RadAjaxPanel, you can also use a standard UpdatePanel control. I have enabled sorting in order to demonstrate that Ajax requests are thrown instead of postbacks.

I hope this would be helpful but in case you experience troubles, please, open a new support ticket and send us your project. 

Regards,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Joe
Top achievements
Rank 2
answered on 09 Apr 2008, 03:17 PM
Hi Svetlina,

I looked at your example and it appears that it may be for a version other than Prometheus. For instance there is a reference to RadAjaxPanel.

Needless to say I'm using the Prometheus version.

Thanks,
Joe
0
Svetlina Anati
Telerik team
answered on 14 Apr 2008, 02:26 PM
Hello Joe,

I apologize for using the RadAjaxPanel instead of RadAjaxPanel "Prometheus".
 
Basically, in your particular case it does not matter which version of the RadAjaxPanel control you use. If you prefer, you can also replace the RadAjaxPanel with a standard UpdatePanel - this is done only in order to provide ajax request when the GridView initiates a postback. Of course, if you want you can entirely remove the ajax functionality and perform full postbacks. It is all up to your specific scenario and you should decide this by yourself.

I send you back your project, which is modified in order to use only RadControls "Prometheus" - you can find it in the attached archive file.

All the best,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ToolTip
Asked by
Joe
Top achievements
Rank 2
Answers by
Joe
Top achievements
Rank 2
Svetlina Anati
Telerik team
Share this question
or