使用asp.net 4.0的Web应用程序的子窗口 [英] child window for web application using asp.net 4.0

查看:64
本文介绍了使用asp.net 4.0的Web应用程序的子窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友

我正在开发学生注册表.要获取学生ID,我想在子窗口中输入学生学术详细信息,该子窗口由student.aspx表单中的按钮事件控制.完成学生学术详细信息后,我可以将学生ID获取到student.aspx表单中.关闭此子窗口时会发生这种情况.有可能.如果有,请帮助我
谢谢

Hello friends

i am developing student registration form. To get a student id i want to enter student acadamic detail in the child window that is directed by button event from the student.aspx form.After completing student acadamic details i am able to get student id to the student.aspx form. this will happen when closing this child window. is it possible.if so please help me
thank you

推荐答案

类似以下文章的声音将为您提供帮助: ^ ]

看看并选择您需要的东西.
Sounds like following article will help you out: Partial update of parent page via AJAX (ASP.NET 2.0) on close of a child window - conditionally[^]

Have a look at it and pick the things you need.


看看 Juice UI [ ^ ]简化了jQuery UI开发.

最好的问候
Espen Harlinn
Have a look at ASP.NET Popup Control[^]

It''s quite good looking and fairly easy to use.

[Update]
Then there is, as Sergey mentions, jQuery UI. For asp.net Juice UI[^] simplifies jQuery UI development.

Best regards
Espen Harlinn


浏览器窗口之间没有父子关系.更确切地说,从HTML或JavaScript的角度来看,大多数浏览器还具有选项卡,其行为类似于单独的浏览器窗口,但从用户的角度来看,其行为方式却截然不同.它们的使用不规范.每次HTML锚点或脚本请求创建新窗口时,都可以创建它,但是可以设置特定浏览器的选项以将其解释为单独的顶层浏览器窗口或新选项卡.应用程序代码,HTML或脚本无法控制它.

这只是不强制创建新窗口的原因之一.它在某些情况下可能很有用,但最好避免.例如,用户可以执行Ctrl + Click,而不仅仅是单击锚点元素来导航并创建新窗口.

这只是不强制创建新窗口的原因之一.它在某些情况下可能很有用,但最好避免.例如,用户可以执行Ctrl + Click,而不仅仅是单击锚点元素来导航并创建新窗口.

您可能会感兴趣的一种高级技术是模式弹出窗口,其中您具有模式行为但不创建任何窗口.请参阅:
http://jqueryui.com/demos/dialog/ [ http://choosedaily.com/1178/15-jquery-popup-modal-dialog -plugins-tutorials/ [ ^ ].

—SA
There is no parent-child relationship between browser windows. More exactly, most browsers also have tabs which behave like separate browser windows from the standpoint of HTML or JavaScript, but behave in a very different ways from the user''s standpoint. Their use is not standardized. Every time a HTML anchor or script request a new window to be created, it can be created, but the options of a particular browser can be set to interpret it as a separate top-level browser window or a new tab. The application code, HTML or script cannot control it.

This is only one of the reasons for not forcing creation of new windows. It can be useful in certain situation but is best to avoid. The user can, for example, perform Ctrl+Click instead of just click on an anchor element to navigate with creation of a new window.

This is only one of the reasons for not forcing creation of new windows. It can be useful in certain situation but is best to avoid. The user can, for example, perform Ctrl+Click instead of just click on an anchor element to navigate with creation of a new window.

One advanced technique you might be interested in is modal popup, where you have modal behavior but do not create any windows. Please see:
http://jqueryui.com/demos/dialog/[^].

There are a number of good collections of jQuery plug-ins with modal behavior:
http://choosedaily.com/1178/15-jquery-popup-modal-dialog-plugins-tutorials/[^].

—SA


这篇关于使用asp.net 4.0的Web应用程序的子窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆