We need to open 3 pop-up windows from one aspx page to edit the information, i am using telerik window
I am using a radwindowmanager and i have 3 - windows
<telerik:RadWindowManager ID="WinManager" runat="server">
<Windows>
<telerik:RadWindow id="WinAccInfo"
Behaviors="Close"
Skin="Vista"
ReloadOnShow = "true"
ClientCallBackFunction="CallBackFunction"
OnClientshow = "OnClientshow"
OnClientclose = "OnClientclose"
openerElementId = "<%# btnEditAccountInformation.ClientID %>"
OffsetElementId = "<%# lblContactName.ClientID%>"
Left="350px"
Modal = "true"
Runat="server"
Width="400px"
Height="500px"
Title="Account Information"
VisibleStatusbar="false" >
</telerik:RadWindow>
<telerik:RadWindow ID="winPaymentInfo"
Behavior="Close"
Skin="Vista"
ReloadOnShow="true"
ClientCallBackFunction="PaymentInfoCallBack"
OnClientShow="PaymentInfoShow"
OnClientclose = "PaymentOnClientclose"
openerElementId = "<%# btnEditPaymentInformation.ClientID %>"
OffsetElementId = "<%# lblNameOnCard.ClientID%>"
Left="350px"
Modal = "true" Runat="server"
Width="400px"
Height="400px"
Title="Payment Information" VisibleStatusbar="false">
</telerik:RadWindow>
<telerik:RadWindow id="DialogBillingWindow"
Behaviors="Close"
Skin="Vista"
ReloadOnShow = "true"
ClientCallBackFunction="BillingCallBackFunction"
OnClientshow = "OnBillingClientshow"
OnClientclose = "OnClientclose"
openerElementId = "<%# btnEditBillingInformation.ClientID %>"
OffsetElementId = "<%# lblBillingName.ClientID%>"
Left="350px"
Modal = "true"
Runat="server"
Width="400px"
Height="400px"
Title="Billing Information" >
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
the javascript functions to open window are
function showDialog()
{
var oWnd = $find("<%=WinAccInfo.ClientID%>");
var url= "AccountInfoEdit.aspx?oState=" +document.getElementById('<%=lblState.ClientID%>').innerHTML
url= url +
"&ocountry=" + document.getElementById('<%=lblCountry.ClientID%>').innerHTML;
oWnd.setUrl(url);
oWnd.show();
}
function showbillDialog()
{
var oManager = GetRadWindowManager();
var oWnd = oManager.GetWindowByName("DialogBillingWindow");
var url= "BillingInfoEdit.aspx?oState=" +document.getElementById('<%=lblBillingState.ClientID%>').innerHTML;
url= url + "&ocountry=" + document.getElementById('<%=lblBillingCountry.ClientID%>').innerHTML;
oWnd.setUrl(url);
oWnd.show();
}
function showDialogPaymentInfo()
{
var oWnd = $find("<%=winPaymentInfo.ClientID%>");
var url= "PaymentInfoEdit.aspx?expdt=" + document.getElementById('<%=lblExpirationDate.ClientID%>').innerHTML ;
url= url +
"&ccType=" + document.getElementById('<%=lblCardType.ClientID%>').innerHTML
oWnd.setUrl(url);
oWnd.show();
}
i have no issues to open windows and get back the value but when i click on the submit button on parent window to save the information. I am getting the javascript error "Microsoft JScript runtime error: 'parentNode' is null or not an object" .
May i know what may be causing teh issue or how can i solve this issue.
the main goal is to open multiple windows from an aspx page.
Thanks in advance
Parvati