RadCombobox with disabled javascript

Thursday, October 16, 2008 by fakalieva | Comments 0

Hi, all.

We have a couple of requests from customers to do something and make RadComboBox working when javascript is disabled. And we did it. We implemented a new AccessibilityMode property which will render noscript tag containg a select html element. This will make the combobox control usable even if the javascript of the browser is disabled.

Yes, it will be displayed like an usual drop down list but still it will be RadComboBox on the server.

The following RadComboBox definition :

<telerik:RadComboBox ID="RadComboBox1" runat="server" Width="250px" ForeColor="Green"
AccessibilityMode="True" OnSelectedIndexChanged="RadComboBox1_SelectedIndexChanged"
AutoPostBack="True">
<Items>
<telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem1" Value="RadComboBoxItem1" ForeColor="green"/>
<telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem2" Value="RadComboBoxItem2" ForeColor="green"/>
<telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem3" Value="RadComboBoxItem3" ForeColor="green"/>
<telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem4" Value="RadComboBoxItem4" ForeColor="green"/>
<telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem5" Value="RadComboBoxItem5" ForeColor="green"/>
</Items>
<CollapseAnimation Duration="200" Type="OutQuint" />
</telerik:RadComboBox>

will return this result with enabled javascript:

image 

and this with disabled javascript:

 image

 

This feature will be released in the upcoming Q3 beta release. Stay tuned to see what else we have prepared for you.

Add comment

  1. Formatting options
       
     
     
     
     
       
  2. (optional, emails won't be shown on public pages)
  3. (optional)