The OnSelectedIndexChanged occurs and gets fired when the user is selecting a different item in the drop down list. You can registered the event on the ASPX page or behind code.

To register it on the ASPX page:


To register it from the code behind page, place this code inside the  Page_Load event block:

ddlSites.SelectedIndexChanged += new RadComboBoxSelectedIndexChangedEventHandler(ddlSites_SelectedIndexChanged);

HTML File:

<asp:Panel ID="paSelectSite" runat="server" Visible="false" CssClass="SelectSiteBox" >

        <div class="date"><% =DateTime.Now.ToString("dd MMMM yyyy") %></div>

            <br />

        <h3>Visitor Site Sign In</h3>

        <telerik:RadCodeBlock runat="server">

            <telerik:RadComboBox ID="ddlSites" runat="server"  Width="250px" AutoPostBack="true"






Code File:


public void ddlSites_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)


            Response.Redirect("defaut.aspx?siteid=" + ddlSites.SelectedValue);


* iOS Development * OS X * Product Review