How to ajax load a parent-child listbox in JQuery/Asp.net MVC popup?

Posted by melaos on Stack Overflow See other posts from Stack Overflow or by melaos
Published on 2010-04-10T14:29:48Z Indexed on 2010/04/10 14:33 UTC
Read the original article Hit count: 668

Filed under:
|
|
|
|

hi guys,

i'm new to the asp.net mvc. and i have a link which will popup show a 3 panes listbox which allows the user to select country, region and language.

and when the user click on the language, this will redirect back to the controller and refresh the page and show the proper localized content.

i was thinking of using a jquery dialog/modal to do this but so i try using fancybox for this which will load the hidden div of the three listbox up.

unfortunately, on clicking on the first listbox, the page will call a jquery event which will show the populate the 2nd list box in which the lightbox will close.

is there a better way to do this? or i'm not using the proper jquery plugin? i was thinking of putting the whole three panes inside a html file and do ajax call to get the content into that page and load the listbox like that and just use the html popup like a normal popup.

Any suggestions? i'm stuck, help!!

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about mvc