开发者

how to open a popup window and return values to the parent page

开发者 https://www.devze.com 2022-12-21 22:42 出处:网络
how to open a popup window and return values to the parent page i.e passing value fom popup window to parent form.

how to open a popup window and return values to the parent page

i.e passing value fom popup window to parent form.

(The child window contain textbox with a button. Once the value entered开发者_Go百科 in the textbox the value entered should be updated in parent window from child window)

in asp.net web application using C# ... any suggestions???


When I want to achieve this affect I use the JQuery UI Dialog. If you take a look at the ModalForm example in the link, it describes this sort of functionality.

This does depend on you're clients having Javascript enabled, but circumvents the whole issue with popup blockers.

If you want to do this the old way, popping up a new window by using window.ShowModalDialog and passing the values back to the original form is explained here.

0

精彩评论

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

关注公众号