no second edit available

2 posts, 0 answers
  1. paul
    paul avatar
    4 posts
    Member since:
    Jul 2010

    Posted 02 Dec 2010 Link to this post

    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?
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 03 Dec 2010 Link to this post

    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.
Back to Top