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

[Solved] Ajax Binding Back button support

2 Answers 85 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Aiyaz
Top achievements
Rank 1
Aiyaz asked on 12 Jul 2010, 11:46 PM
Hi there,
I have a ajax paging grid which has links in the row to a different page url.   I want the back button to goto the page that the user was on when they clicked on the link.  Currently the default behavior is that it goes to the first page.
Does the Grid support back button history when using Ajax databinding? What is the best way to handle this?

Cheers
Aiyaz

2 Answers, 1 is accepted

Sort by
0
Shane Cotee
Top achievements
Rank 2
answered on 21 Jul 2010, 07:10 PM
I'd like to "bump" this thread because I have the same question regarding how to recover the grid state (in Ajax binding mode), either through clicking a link or hitting the browser's back button.

Thanks in advance.
0
Atanas Korchev
Telerik team
answered on 22 Jul 2010, 06:54 AM
Hello,

Browser history works with URLS out of the box. Providing ajax history support is not a trivial task and requires a lot of code and browser hacks (hidden iframes etc).

If browser back button support is a must you could use server binding. If you just wish to restore the grid state you could check this forum thread.

Greetings,
Atanas Korchev
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
Grid
Asked by
Aiyaz
Top achievements
Rank 1
Answers by
Shane Cotee
Top achievements
Rank 2
Atanas Korchev
Telerik team
Share this question
or