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

JavaScript Error after close RadWindow and Postback

1 Answer 47 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Fernando
Top achievements
Rank 1
Fernando asked on 17 Oct 2014, 07:30 AM
I have a RadWindow to show comments when I click button of GridButtonColumn of a RadGrid. When I click, in the ItemCommand event of the RadGrid I have the following code:

protected void rgQualityReport_OnItemCommand(object sender, GridCommandEventArgs e)
{
    if (e.CommandName == "ShowComment")
    {
        GridDataItem dataItem = e.Item as GridDataItem;
        comments.Content = dataItem["ColumnDate"].Text;
        this.modalPopupComments.VisibleOnPageLoad = true;
        RadWindowManager1.DestroyOnClose = true;
        RadWindowManager1.Controls.Add(modalPopupComments);
    }
}


The problem is the following:When I click the button, the radwindow is showed correctly. However, after close the radwindow and reload the page, in a postback reload I have the following error:sys.webforms.pagerequestmanagerservererrorexception JSCRIPT error.

Can you help me, please?Thanks!

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 21 Oct 2014, 12:02 PM
Hi Fernando,

Could you please share the entire error stuck trace so that we could further investigate the error you are facing? Also in case Ajax is enabled on your page, try to disable it and verify what the result in this case is.

Regards,
Maria Ilieva
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Fernando
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or