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

no second edit available

1 Answer 40 Views
Window
This is a migrated thread and some comments may be shown as answers.
paul
Top achievements
Rank 1
paul asked on 02 Dec 2010, 11:54 PM
i'm having issues using the radwindow as a data entry dialog for a page. the main page content (radgrid etc) is in a control, not directly on the page. the page inherits from a master page.

i've basically recreated the demo
http://www.telerik.com/support/kb/aspnet-ajax/grid/using-radwindow-for-editing-inserting-radgrid-records.aspx
with a couple of minor exceptions; sqldatasource, and using a control

everything works great except that when i edit and update the data in the window it returns to the grid page and my link to the window no longer works. so i can't subsequently go an edit a second item or add a new item.

                function ShowEditForm(id, rowIndex) {
                    var grid = $find("<%= RadGrid1.ClientID %>");
                    alert(grid);

the first time around the alert shows an object, the second time around it shows null.

has anyone else experienced this? is it because the grid is sitting in an ascx not an aspx? what am i doing wrong?

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 03 Dec 2010, 01:12 PM
Hello Paul,

I tried to reproduce the problem locally, but everything worked as expected. At this point I am not sure what the reason for the problem might be, so I would like to ask you to rework the attached sample (I used the one in the KB article as a base and moved the grid in an user control - the difference in the database should not be related to the problem in any way) so the problem can be reproduced and to send it back in a support ticket.
I will check it right away.

All the best,
Georgi Tunev
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Window
Asked by
paul
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or