Hi ,
I have used rad window in my pjt. it was working. when i move the rad window manager inside rad ajax panel it stopped working and throwing error like,"Cannot called after dispose"..
Here is the code
I have used rad window in my pjt. it was working. when i move the rad window manager inside rad ajax panel it stopped working and throwing error like,"Cannot called after dispose"..
Here is the code
function OpenRadWindowAddRecurrencePopup(isConflict, startDate, endDate, startTime, EndTime, SessionID, recordid, LOCATIONname, roomNo) {
var Url = "./AddRecurrence.aspx?ISCONFLICT=" + isConflict + "&STARTDATE=" + startDate + "&ENDDATE=" + endDate + "&STARTTIME=" + startTime + "&ENDTIME=" + EndTime + "&SESSIONID=" + SessionID + "&CODE=" + recordid + "&LOCATIONID=" + LOCATIONname + "&roomNo=" + roomNo;
var oWnd = radopen(Url, "radWindowAddRecurrencePopup");
//oWnd.SetUrl(oWnd.GetUrl());
return false;
}
<
telerik:RadAjaxPanel
>
// some controls here
<
telerik:RadWindowManager
ID
=
"RadWindowManager2"
runat
=
"server"
MinWidth
=
"500"
ReloadOnShow
=
"false"
>
<
Windows
>
<
telerik:RadWindow
ID
=
"radWindowAccountCodePopup"
OnClientClose
=
"CallBackFunctionAccountCode"
Behavior
=
"Close"
VisibleTitlebar
=
"false"
Modal
=
"true"
Width
=
"650px"
runat
=
"server"
Height
=
"530px"
NavigateUrl
=
"~\Admin\AccountCodePopup.aspx"
VisibleStatusbar
=
"false"
>
</
telerik:RadWindow
>
<
telerik:RadWindow
ID
=
"radWindowAddRecurrencePopup"
Modal
=
"true"
Width
=
"750px"
runat
=
"server"
Height
=
"650px"
OnClientClose
=
"CallBackFunctionRecurrence"
InitialBehaviors
=
"None"
>
<%--OnClientClose="CallBackFunctionRecurrence"--%>
</
telerik:RadWindow
>
<
telerik:RadWindow
ID
=
"radWindowViewEditRecurremcePopup"
OnClientClose
=
"CallBackFunctionRecurrence"
Behaviors
=
"None"
VisibleTitlebar
=
"false"
Modal
=
"true"
Width
=
"700px"
runat
=
"server"
Height
=
"450px"
VisibleStatusbar
=
"false"
>
</
telerik:RadWindow
>
<
telerik:RadWindow
ID
=
"radWindowLocationPopup"
OnClientClose
=
"CallBackFunctionService"
OpenerElementID
=
""
OffsetElementID
=
""
Behavior
=
"Close"
VisibleTitlebar
=
"false"
Modal
=
"true"
Width
=
"578px"
runat
=
"server"
Height
=
"450px"
NavigateUrl
=
"~\Admin\LocationPopup.aspx"
VisibleStatusbar
=
"false"
>
</
telerik:RadWindow
>
</
Windows
>
</
telerik:RadWindowManager
>
</
telerik:RadAjaxPanel
>
thx
esther