Download Now Code Base AsyncDocs Contact Us
asyncRadioButton
liveDemo
Click a radio button to change the color of the label.
Blue Green Yellow

Select a color.
Description

The AsyncRadioButton provides you with an Async-Enabled radio button server control.



Features
  • Functions in an AsyncRepeater just as it does on the page, without any "extra" work.
  • Allow you to easily receive OnCheckedChanged events.
  • Supports many of the other properties provided by asp:RadioButton.
  • 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:AsyncRadioButton runat="server" ID="rbMain1" 
Text="Blue" 
Group="one"
OnCheckedChanged="rbMain_Checked" 
Value="blue" />
 
<dw:AsyncRadioButton runat="server" ID="rbMain2" 
Text="Green" 
Group="one"
OnCheckedChanged="rbMain_Checked" 
Value="green" />
 
<dw:AsyncRadioButton runat="server" ID="rbMain3" 
Text="Yellow" 
Group="one" 
OnCheckedChanged="rbMain_Checked" 
Value="yellow" />

<p/>

<dw:AsyncLabel runat="server" ID="lblMain" 
    Width="450" 
    RenderMode="div"
    CssClass="radioBtnLabel">Select a color.</dw:AsyncLabel>