Download Now Code Base AsyncDocs Contact Us
asyncSlidePanel
liveDemo
  • Clicking on the collapse/uncollapse button located to the left of the title will expand or shrink the panel. This action can also be tied to an event allowing you to alter the behavior or provide more feedback.
  • Clicking on "Collapse All" will dynamically collapse all the AsyncSlidePanels.
  • Clicking on "Uncollapse All" will dynamically uncollapse/expand all the AsyncSlidePanels.
  • Enter text into the text box, and use the radio buttons to select the slide panel that will be used, then click "Change the AsyncSlidePanel Title"
  • All above behaviors and actions can be customized.
AsyncSlidePanel 1
AsyncSlidePanel 2


Panel Two

Sed et eros. Pellentesque commodo arcu ac enim. Sed erat. Proin pretium justo a nibh. Ut porttitor neque quis arcu consectetuer mattis. Cras elementum blandit tortor. Integer varius tellus interdum velit. Maecenas a metus. Etiam ligula ipsum, ullamcorper sit amet, luctus quis, venenatis nec, dui. Donec porta tincidunt odio.

Sed ligula sapien, feugiat feugiat, lobortis et, volutpat ac, ante. Etiam id leo eu lectus placerat mollis. Maecenas purus sem, luctus at, bibendum non, egestas eu, nibh. Duis quis nibh. Pellentesque aliquam, diam id consequat sodales, orci purus ultricies lacus, sit amet egestas lacus nulla eu tortor. Nunc ac tellus at dui sodales aliquam. Proin commodo ultricies mi. Mauris at pede. Phasellus et purus non metus nonummy ultrices. In hac habitasse platea dictumst. Suspendisse malesuada massa ut pede. Duis sed justo in lacus elementum gravida. Sed sapien. Mauris at odio. Nam eget ante. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Phasellus vulputate ultricies metus. Cras turpis neque, hendrerit eu, viverra aliquam, luctus eget, nisl. Pellentesque adipiscing accumsan leo.

AsyncSlidePanel 3


Panel One Panel Two Panel Three

Description

The AsyncSlidePanel is an Async-Enabled collapsable server control.



Features
  • Collapse and Uncollapse the panel during an AsyncCallback.
  • Change the title during an AsyncCallback.
  • Allow you to easily receive OnCollapsePanel and OnUnCollapsePanel events.
  • Can be scrolled into view during an AsyncCallback.
  • Functions as a regular server control if the browser does not support asynchronus operations, allowing you to support legacy browsers.
  • Its an AsyncWebControl, which means that you can change it's visibility, CSS class, Left/Top coordinate, Width/Height, and ForeColor/BackColor, during an AsyncCallback.
   
<%@ Register Assembly="AsyncControls" Namespace="DelvingWare.AsyncControls" TagPrefix="dw" %>

<dw:AsyncSlidePanel runat="server" ID="sldMain" 
Title="AsyncSlidePanel 1"
Width="490"
DefaultStyle="false" 
CssClass="asyncSlidePanel1" 
TitleBarCssClass="spTitleBar"
CollapsedImageUrl="../images/open.png" 
UncollapsedImageUrl="../images/close.png">

</dw:AsyncSlidePanel>

<dw:AsyncSlidePanel runat="server" ID="sldMain2" 
Title="AsyncSlidePanel 2"
Collapsed="false"
Width="490"
DefaultStyle="false" 
CssClass="asyncSlidePanel2"
TitleBarCssClass="spTitleBar"
CollapsedImageUrl="../images/open.png" 
UncollapsedImageUrl="../images/close.png">

</dw:AsyncSlidePanel>

<dw:AsyncSlidePanel runat="server" ID="sldMain3" 
Title="AsyncSlidePanel 3"
Width="490"
DefaultStyle="false" 
CssClass="asyncSlidePanel3"
TitleBarCssClass="spTitleBar"
CollapsedImageUrl="../images/open.png" 
UncollapsedImageUrl="../images/close.png">

</dw:AsyncSlidePanel>
<br/>

<dw:AsyncButton runat="server" ID="btCollapseAll" 
OnClick="btCollapsAll_Click" 
Text="Collapse All"
CssClass="greyButton" />

<dw:AsyncButton runat="server" ID="btUncollapseAll" 
OnClick="btUncollapseAll_Click" 
Text="Uncollapse All"
CssClass="greyButton" />
<p>
<dw:AsyncTextBox runat="server" ID="txtMain"
MaxLength="10"
EnableValidation="Enabled"
ErrorMessage="Please enter a name."
ErrorMessageCssClass="errorMsg" />

<dw:AsyncButton runat="server" ID="btTitle"
Text="Change the AsyncSlidePanel Title"
OnClick="btTitle_Click"
CssClass="greyButton"
CausesValidation="true" />
    
<dw:AsyncLabel runat="server" ID="lblMain" RenderMode="bold"/>

<br/>
<dw:AsyncRadioButton runat="server" ID="rbOne"
Checked="true"
Text="Panel One" />

<dw:AsyncRadioButton runat="server" ID="rbTwo"
Text="Panel Two" />

<dw:AsyncRadioButton runat="server" ID="rbThree"
Text="Panel Three" />
</p>