开发者

Pop up based search and return values to parent form or any other altrenative

I have a scenario where i want user to open a popup or other page from a web form to search contacts from database and add them to list and when done return that list back to parent form field and continue filling other fields.

I have 2-3 user input which should take multiple values for each field from list of values and i wanted to implement this usin开发者_如何学Gog pop up based search and add method (other alternative was to use dropdown with checkbox but the list is so big and it is not user friendly to use that)

Is this feasible using asp.net or is there a better architecture/method in .NET to implement this type other than popup based search and retrieval.


ASP.NET and jQuery are perfectly acceptable for this. Add the required js references to your page (or master page) and jQuery works a treat.

Check out the jQuery site for the dialog component (click on the modal form example).

http://jqueryui.com/demos/dialog/

You can use javascript to modify/add to the page that's already on the client.

You can also use jQuery to do send infos back to your site, via GET or POST. JSON is supported as well. If you bring the MVC framework into the mix you get a bunch of other goodies that make it real easy to work with sending data back-and-forth from your controllers to the web UI.

Cheers, -jc

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜