开发者

ASP.net and implementation of dropdownlist

I would like to implement a dropdownlist with so开发者_JAVA技巧me listedItems.After that I want for every selected item to be connected to a new aspx page(i.e. if I select meat I want to have a new aspx page that will contain some information about the meat). Does anybody have any ideas? Thanks, Naim


Set the Value of your ListItem to the URL you want to redirect to when the item is selected. When the user selects the value, simply redirect to that URL.

This can be done in either Javascript or serverside. I'd prefer doing it in javascript to avoid the extra server roundtrip.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜