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
70
A "global" WebDialogWindow on a MasterPage
posted

Greetings.  I'm in the process of re-writing a legacy Classic ASP application in ASP.NET and am making heavy use of the Infragistics controls set (they are cool).

I'm using a classic design methodology employing a single Master page for a common site header/navigation/footer and then cycling in content pages.  Nothing big here.

What I'm after is a method to have a WDW on the Master page such that all subsequent content pages can show/manipulate the dialog window based on user input (e.g. field validation errors, or positive feedback on submitting new records).

Oh, and I'm really trying to avoid full page postbacks.  My site already makes heavy use of the Infragistics WARPs to avoid this (e.g. selecting a record from an UWG updates details fields, etc.).

I'm pulling my hair out trying to get simple test cases to work with no avail.  I've tried using the CSOM and other methods with no luck.  Perhaps if I spell out one test case in detail, you can shed some light on it.

 

I've defined a master page and in it I've included a ScriptManager (ID = smMaster) and UpdatePanel (ID = upUserPrompt) (I've read that the WDW doesn't play well with Infragistics WARPs).  In the UpdatePanel's content template, I've placed a WebDialogWindow (ID = wdwUserPrompt).  The WDW also has the following initial conditions set in markup on the master page (InitialLocation="Centered" and WindowState="Hidden").

In a particular content page I have an UtraWebTab.  I've created a tab and inside the tab's content pane are 3 WARPs (ID = warpTable, ID = warpDetails, ID=warpButtons).  Inside warpTable, I have an UWG that, when a row is clicked updates several details fields and sets button visiblity.  Inside warpDetails, I have several <igtxt:WebTextEdit> controls which are set by the UWG and buttons.  Inside warpControls I have several <igtxt:WebImageButton> controls which perform business logic to update an underlying data source used by the UWG.  I would like to display the WDW (set the WindowState to Normal) on the Master page on clicking these buttons.  How can I do this?

In short, I have <igtxt:WebImageButton> inside an <igmisc:WebAsynchronousRefreshPanel> inside an <igtab:Tab> inside an <igtab:UltraWebTab> inside an <asp:Content> content page.  I want that button to manipulate an <ig:WebDialogWindow> which is inside the content template of an <asp:UpdatePanel> that is on a MasterPage with a ScriptManager.

Thoughts?

Thanks in advance!

Ben