Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
Custom args in windowStateChangingEvt of WebDialogWindow.

I am new to Infragistics ASP.NET controls and try to learn as much as possible.

I am stuck with WebDialogWindow control. I am using WebHierarchicalDataGrid and on each cell I am opening Web Dialog window in WHDG_CellSelectionChanged function using overrideWindow.get_contentPane().set_contentUrl("Override.aspx?QryValue=" + param);

My Override.aspx page doing some business process and same some data to backend database. the same data I need to return when WebDialogWindow state changed to closed.

I found windowStateChangingEvt function is getting called on closing WebDialogWindow but how to set custom args in windowStateChangingEvt function?

Also please let me know if any better way to achive this functionality.


  • 19693

    Hello omidixit,

    Thank you for posting in our forums.

    I recommend you using input button added inside the WebDialogWindow.

    You can pass arguments through the onClick function.

    In the implementation of this function you can use the passed paramener and close the WebDialogWindow.

    Let me know if you need further assistance.