Telerik blogs

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 containing 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.


About the Author

Iana Tsolova

is Product Manager at Telerik’s DevTools division. She joined the company back in the beginning of 2008 as a Support Officer and has since occupied various positions at Telerik, including Senior Support Officer, Team Lead at one of the ASP.NET AJAX teams and Technical Support Director. Iana’s main interests are web development, reading articles related to geography, wild nature and latest renewable energy technologies.

Comments

Comments are disabled in preview mode.