开发者

How to bring up new window for each selection from checkbox list in ASP.NET?

I'm new, building a practice project in C# and ASP.NET. Have a checkbox list with 7 insurance product开发者_运维技巧s; when a user selects a product, I need to bring up a new window where they can customize this product. What is the simplest way to do this?


To open a new window, you need client-side javascript (window.open).
EDIT
in response to the submit of the list, generate some script statements (see RegisterStartupScript).

But are you really sure that this is what you want: open a handful of new windows? A different approach would be to remember that list server-side (in Session) and handle those products one-by-one.
EDIT
You could have a redirect page: as long as there are items in the list, take&remove the first one and show the page for that. When that page is finished, redirect back yo the redirect page. When the list is done, go back to the list (or whatever).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜