I am using a Drop Down List for selecting some options. Everything works fine, all I need is to change the name in the URL. Is there a way to change the URL ONLY based on the option?
Default Puma –
Default.aspx?Dept=Shoes&Type=Puma
if Nike is selected –
Default.aspx?Dept=Shoes&Type=Nike
To handle this on the server you could enable the autopostback property of the control and create a SelectedIndexChanged event to call a method to identify the selected option and redirect based on this selection.