Download Now Code Base AsyncDocs Contact Us
asyncWindow
liveDemo
  • Select an AsyncWindow theme to view.
  • To activate a window click in the AsyncWindow content area or click the AsyncWindow title bar.

Multi-AsyncWindow environment



Show Vista Theme
Show Windows XP Theme
Show Custom Theme

Vista Theme

Window content can be composed of any of the 30+ AsyncControls.

Praesent at massa ac enim vehicula suscipit. Mauris sed augue. Aenean lacinia, urna vitae placerat venenatis, metus mauris egestas tortor, ut hendrerit urna nisi et metus. Nunc felis ipsum, pharetra nec, iaculis vel, mattis vel, erat. Ut fringilla vulputate quam. Phasellus fermentum. Sed odio justo, pellentesque non, gravida ac, accumsan eget, mi. Nullam urna nisl, dictum nec, tincidunt quis, accumsan id, diam. Fusce rutrum.

Title:

Description

The AsyncWindow provides you with a fast, easy-to-use, and feature rich Async-Enabled window. It can be customized in every way, from the visibility of the title bar, to the size of the collapse box button. Being built to provide a truly useful and functional window, it has the bells and whistles that make it more than unique. It even has a totally customizable shadow, featuring transparency and accurate shadow casting.



Features
  • Show and Hide during an AsyncCallback.
  • Allows you to easily receive OnClosed and OnShown events.
  • Easily show and position next to any cotnrol on the page.
  • Built-in scrollbar.
  • Customize the collapse and close images.
  • Fully customizable title bar.
  • Change the Title bar text during an AsyncCallback.
  • Customize movement and collapsing.
  • Can be scrolled into view during an AsyncCallback.
  • Prevents the user from dragging outside the bounds of the window.
  • Easily manage multiple windows on a single page.
  • Tested and certified on all major browsers (FireFox, IE 5+, Opera 9+, Safari 2.0+).
  • Its an AsyncWebControl, which means that you can change it's CSS class, Left/Top coordinate, Width/Height, and ForeColor/BackColor, during an AsyncCallback.
  • Functions as a regular server control if the browser does not support asynchronus operations, allowing you to support legacy browsers.
   
<%@ Register Assembly="AsyncControls" Namespace="DelvingWare.AsyncControls" TagPrefix="dw" %>

<dw:AsyncLabel runat="server" RenderMode="H4" ID="lblMain">Multi-AsyncWindow environment</dw:AsyncLabel>

<dw:AsyncButton runat="server" ID="btVisible"
CssClass="greyButton" 
Enabled="false"
OnClick="btVisible_Click">Hide Active AsyncWindow</dw:AsyncButton>
<br/>
<br/>
<dw:AsyncLinkButton runat="server" ID="lnkVistaTheme"
OnClick="lnkVistaTheme_Click">Show Vista Theme</dw:AsyncLinkButton>
<br/>
<dw:AsyncLinkButton runat="server" ID="lnkXPTheme"
OnClick="lnkXPTheme_Click">Show Windows XP Theme</dw:AsyncLinkButton>
<br/>
<dw:AsyncLinkButton runat="server" ID="lnkCustomTheme"
OnClick="lnkCustomTheme_Click">Show Custom Theme</dw:AsyncLinkButton>

<br />
<br />

<dw:AsyncWindow runat="server" ID="wndXp" 
    Left="200"
    Title="XP Theme AsyncWindow" 
    Visible="false"
    EnableShadow="true" 
    CssClass="asyncWin1" 
    DefaultStyle="false"
    CloseIconUrl="../images/xpWinClose.gif" 
    CollapseIconUrl="../images/xpWinMinimize.gif" 
    TitleBarCssClass="titleBar1" 
    TitleCssClass="titleBarText1"
    TitleBarButtonHeight="30" 
    TitleBarButtonWidth="21" 
    ShadowCssClass="awShadow" 
    OnClosed="wnd_Closed"
    OnActivated="wnd_Activated">  
    
</dw:AsyncWindow>

<dw:AsyncWindow runat="server" ID="wndVista" 
    Left="400"
    Width="500"
    Title="Vista Theme" 
    EnableShadow="true" 
    CssClass="asyncWin2" 
    DefaultStyle="false"
    AllowCollapsing="false" 
    ShadowCssClass="awShadow"
    CloseIconUrl="../images/vistaClose.gif" 
    OnClosed="wnd_Closed"
    TitleBarCssClass="titleBar2" 
    TitleCssClass="titleBarText2"
    TitleBarButtonHeight="28" 
    TitleBarButtonWidth="42"
    OnActivated="wnd_Activated">
    
 <p align="center">
 Title: <dw:AsyncTextBox runat="server" ID="txtVistaTitle"
 EnableValidation="Enabled"
 ErrorMessage="Please enter a window title."
 ErrorMessageCssClass="errorMsg"
 MaxLength="25" />

<dw:AsyncButton runat="server" ID="btVistaTitle"
CssClass="greyButton"
CausesStrictValidation="true"
OnClick="btVistaTitle_Click" 
Text="Change Window Title"/>
</p>
</dw:AsyncWindow>

<dw:AsyncWindow runat="server" ID="wndCustom" 
    Left="400"
    Title="Custom Theme AsyncWindow" 
    EnableShadow="true" 
    Visible="false"
    CssClass="asyncWin3" 
    DefaultStyle="false"
    AllowCollapsing="true" 
    ShadowCssClass="awShadow"
    CloseIconUrl="../images/cust2Close.gif" 
    CollapseIconUrl="../images/cust2Collapse.gif"
    OnClosed="wnd_Closed"
    TitleBarCssClass="titleBar3" 
    TitleCssClass="titleBarText3"
    TitleBarButtonHeight="23" 
    TitleBarButtonWidth="20"
    OnActivated="wnd_Activated">
    
 <div align="center">
 <iframe src="http://www.DelvingWare.com" width="90%">AJAX for ASP.NET</iframe>
 </div>
</dw:AsyncWindow>