Hi,
There is Infragistics webdialog window in page used for popup. When the popup is closed, values are sent back to page and postback occurs. The issue is during postback which resets webdialog id and am unable to proceed further. Can you please let me know how to recreate/reinitialize webdialog window in postback method.'
Thanks
Hello,
I am not sure I dully understand your requirements. The WebDialogWindow is available on IsPostBack, even if it is closed/exited. Is that you require to create a similar WebDialogWindow in code behind? I am looking forward more details from you.
You could find detailed information regarding the control at:http://help.infragistics.com/doc/ASPNET/2014.2/CLR4.0/?page=Web_WebDialogWindow.html
Yes you are also right in that I have to create similar WebDialogWindow in code behind with same id.
Hello Deepu,
Thank you for the details shared.
I am currently looking into this matter for you and I will update you with more details.
Thank you. I have used below statement and initializecomponent on page_init. Still it does not work. I also tried the solutions posted on one of your forums (http://www.infragistics.com/community/forums/t/83802.aspx
http://www.infragistics.com/community/forums/t/50478.aspx)
Nothing works.
Protected WithEvents igWebDialog As Infragistics.Web.UI.LayoutControls.WebDialogWindow
If you have trouble accessing the controls’s ID, please make sure you are using ClientIDMode="Static" http://msdn.microsoft.com/en-us/library/system.web.ui.control.clientidmode(v=vs.110).aspx
Also you could get the control’s id client side using something like
$find("<%=WebDialogWindow1.ClientID%>"):For example if you want to get the DialogWindow id it could be done by the following function:
function GetID(sender, args) { var ClientID = $find("<%=WebDialogWindow1.ClientID%>")._id; };
<ig:WebDialogWindow ID="WebDialogWindow1" runat="server" ClientEvents-Loaded="GetID" ClientIDMode="Static"………>