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

grid edit in popup window with master pages - need sample

1 Answer 32 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Darren
Top achievements
Rank 1
Darren asked on 01 Oct 2008, 05:14 PM
Hi, I have been trying to figure out the best way to use a radwindow to edit a grid record (manually) and then refresh the grid only when an update has been made. I have searched and found examples that do not use master pages and these work fine. However, because I am using a master page it doesn't seem to work. I have tried various things that I found throughout the forum and can't get it to work. The last post I saw said to try and find the ajax manager on the master page - but I don't know how to tie this into the other parts. Is it possible to get a full example of how to use a grid in master pages and radwindow for editing while using ajax manager? Thanks in advance. 

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 06 Oct 2008, 12:34 PM
Hi Darren,

You can use this online demo and the project from the KB article linked under the Description tab as a starting point for your implementation:

http://demos.telerik.com/ASPNET/Prometheus/Controls/Examples/Integration/GridAndWindow/DefaultCS.aspx?product=grid

Note that the difference is that you need to place the RadAjaxManager instance in the master page and RadAjaxManagerProxy control in the content page which holds the grid:

http://demos.telerik.com/ASPNET/Prometheus/Ajax/Examples/Manager/MasterPage/DefaultCS.aspx

Then if you need to reference the ajax manager on the master page and trigger ajax request from the client with the ajaxRequest(args) method of the manager, utilize the GetCurrent(page) method of RadAjaxManager as disccused in the aforementioned resources.

Kind regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Darren
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or