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

OnClientClick refresh in an AJAX way?

1 Answer 107 Views
Window
This is a migrated thread and some comments may be shown as answers.
Adam Hubble
Top achievements
Rank 1
Adam Hubble asked on 18 Feb 2009, 02:21 PM
Hi,
 
I have hooked up a radgrid edit button column to a radwindow so a user can edit a record in the radwindow. The parent page then refreshes when the radwindow is closed. This all works fine, I'm using this code..

function OnClientClose(sender,args)
{
window.location.reload();
}

This works, but obviously causes a big fat refresh of the whole page. Is there a way I can just refresh my radgrid with ajax without having to do the full refresh?

Thanks,
Matt

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 18 Feb 2009, 03:10 PM
Hi Matt,

I suggest to check the following demo that shows how to achieve the desired behavior:
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=grid



Greetings,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Window
Asked by
Adam Hubble
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or