Good afternoon --
I have a drop down list created that has the description as the text and a URL as the value. I want the user to select an item from the drop down list and redirect them to the URL. However, the event doesn't fire. This is what I have on the form:
<telerik:RadDropDownList ID="MUQuickLinks" CssClass="QuickLinks" AutoPostBack="true" DefaultMessage="MU QUICK LINKS" OnSelectedIndexChanged="MUQuickLinks_SelectedIndexChanged" runat="server" TabIndex="1" ToolTip="Jump to a particular subject on our site." DataSourceID="dsQuickLinks" DataTextField="qlDescription" DataValueField="qlLink"></telerik:RadDropDownList>
And this is in the code-behind:
Protected Sub MUQuickLinks_SelectedIndexChanged(sender As Object, e As DropDownListEventArgs)
HttpContext.Current.Response.Redirect(e.Value, True)
End Sub
Again, the event doesn't fire when the user selects an item in the drop down list. The AutoPostBack simply reloads the page. I've tried other events like OnItemSelected and the event still doesn't fire.
Any assistance is greatly appreciated.
Thanks,
Michael
I have a drop down list created that has the description as the text and a URL as the value. I want the user to select an item from the drop down list and redirect them to the URL. However, the event doesn't fire. This is what I have on the form:
<telerik:RadDropDownList ID="MUQuickLinks" CssClass="QuickLinks" AutoPostBack="true" DefaultMessage="MU QUICK LINKS" OnSelectedIndexChanged="MUQuickLinks_SelectedIndexChanged" runat="server" TabIndex="1" ToolTip="Jump to a particular subject on our site." DataSourceID="dsQuickLinks" DataTextField="qlDescription" DataValueField="qlLink"></telerik:RadDropDownList>
And this is in the code-behind:
Protected Sub MUQuickLinks_SelectedIndexChanged(sender As Object, e As DropDownListEventArgs)
HttpContext.Current.Response.Redirect(e.Value, True)
End Sub
Again, the event doesn't fire when the user selects an item in the drop down list. The AutoPostBack simply reloads the page. I've tried other events like OnItemSelected and the event still doesn't fire.
Any assistance is greatly appreciated.
Thanks,
Michael