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:
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!
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!