使用asp.net 4.0的Web应用程序的子窗口

编程入门 行业动态 更新时间:2024-10-22 11:25:23
本文介绍了使用asp 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

推荐答案

类似以下文章的声音将为您提供帮助:在子窗口关闭时通过AJAX(ASP.NET 2.0)对父页面进行部分更新-有条件 [ ^ ] 看看并选择您需要的东西. 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.

看看 ASP.NET弹出控件 [ ^ ] 它的外观非常好,而且易于使用. [更新] 正如Sergey所提到的,然后就是jQuery UI.对于asp 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 Juice UI[^] simplifies jQuery UI development. Best regards Espen Harlinn

浏览器窗口之间没有父子关系.更确切地说,从HTML或JavaScript的角度来看,大多数浏览器还具有选项卡,其行为类似于单独的浏览器窗口,但从用户的角度来看,其行为方式却截然不同.它们的使用不规范.每次HTML锚点或脚本请求创建新窗口时,都可以创建它,但是可以设置特定浏览器的选项以将其解释为单独的顶层浏览器窗口或新选项卡.应用程序代码,HTML或脚本无法控制它. 这只是不强制创建新窗口的原因之一.它在某些情况下可能很有用,但最好避免.例如,用户可以执行Ctrl + Click,而不仅仅是单击锚点元素来导航并创建新窗口. 这只是不强制创建新窗口的原因之一.它在某些情况下可能很有用,但最好避免.例如,用户可以执行Ctrl + Click,而不仅仅是单击锚点元素来导航并创建新窗口. 您可能会感兴趣的一种高级技术是模式弹出窗口,其中您具有模式行为但不创建任何窗口.请参阅: jqueryui/demos/dialog/ [ ^ ]. 有很多具有模态行为的jQuery插件: choosedaily/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: jqueryui/demos/dialog/[^]. There are a number of good collections of jQuery plug-ins with modal behavior: choosedaily/1178/15-jquery-popup-modal-dialog-plugins-tutorials/[^].
—SA

更多推荐

使用asp.net 4.0的Web应用程序的子窗口

本文发布于:2023-11-12 11:59:20,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1581445.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   窗口   net   asp   Web

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!