In-Browser Window Management

Return to Introduction  Previous page  Next page

[To Be Completed]

toggleJump);
Flynet E-Migration UI Application Generator

In-Browser Window Management

In-Browser Window Management

Previous topic Next topic  

In-Browser Window Management

Previous topic Next topic  

 Summary

The E-Migration DHTML framework includes management of multiple, IFRAME-based, overlayed windows that can be used for messages or to better manage the concept of a pop-up modal window.

 Controlling Properties

rolloverScreenDef.IsWindowPopup, rolloverScreenDef.WindowColumns, rolloverScreenDef.WindowRows, rolloverScreenDef.WindowUpperLeftColumn, rolloverScreenDef.WindowUpperLeftRow, rolloverScreenAction.ActionTemplate, rolloverField.SelectionPopup, rolloverField.PopupTitle, rolloverField.PopupOnF4

 Details

While the properties displayed are the same as used for the Popup Web Pages topic, the concepts supported in the DHTML framework for overlayed windows goes beyond what is automatically generated for you.

 

Beyond what is generated, you can display and control windows in both Code-behind as well as Client-Side Javascript.

 

Features:

Windows have familiar controls such as a Title Bar and Close (X-out) corner icon
Users can move and resize windows inside the browser client area
User preferences for size and location are saved for next display of a particular window
AJAX support for filling contents of windows when requested using client-side script
Parent ASPX Page Code-Behind receives event notification in OnNextAction method

 

Useful Methods and Functions:

 

PopupView (FVPage Method- FVPage is parent class for all ASPX Forms)

 

         /// <summary>

         /// Redisplay the active web page and popup a new view that

         /// will display the active session view in the popup.

         /// </summary>

         /// <param name="title">Title to be displayed in the popup's title bar</param>

         /// <param name="winName">Window name of this popup, will be used at the client to

         /// track the popup's size and position so that it can be restored the next time

         /// this popup is viewed at the client (saved in a cookie)</param>

         public void PopupView(string title, string winName)

 

RequestNextChild (FVPage Method- FVPage is parent class for all ASPX Forms)

 

         /// <summary>

         /// Open a Child (Popup) Window at the Client

         /// </summary>

         /// <param name="title">Title to display</param>

         /// <param name="icon">Icon: 16x16 valid IMG Source relative URL</param>

         /// <param name="winName">Name of the window for persistence of size and location</param>

         /// <param name="url">Relative URL of page to display in the window</param>

         protected void RequestNextChild(string title, string icon, string winName, string url)