All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
<
telerik:RadDropDownList
ID
=
"RadDropDownList1"
runat
"server"
DataSourceID
"SqlDataSource1"
DefaultMessage
"select"
DataTextField
"Cityname"
AutoPostBack
"true"
>
</
telerik:RadButton
"RadButton1"
Text
"Set Item"
OnClientClicked
"OnClientClicked"
asp:SqlDataSource
ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
SelectCommand="SELECT [Cityname] FROM [City]">
<script type=
"text/javascript"
function
OnClientClicked(sender, args) {
var
dropdownlist = $find(
"<%=RadDropDownList1.ClientID %>"
);
dropdownlist.findItemByText(
"Chennai"
).set_selected(
true
}
</script>