培训以在asp.net中弹出表格 [英] training to form pop up in asp.net
本文介绍了培训以在asp.net中弹出表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个表单aspx,当我单击其他表单aspx时,此表单将打开windown弹出窗口.你能告诉我怎么做
谢谢verymurch
I have a form aspx, when i click other form aspx, this form will open windown pop up. could you show me how to do
Thank you verymurch
推荐答案
此 [< ^ ]是旧文章,但它仍然可以为您提供帮助.
This[^] is an old article, but it might still help you.
步骤:
1.定义一个JavaScript方法,该方法将在点击
时触发 2. Click事件实际上会触发在新窗口中启动新表单.
如果您有一个ASP.NET服务器按钮,则可以使用OnClientClick
event.
有关如何使用Window.Open
方法的信息,请参见此处:
MSDN:打开方法 [使用Window.Open方法-1 [使用Window.Open方法-2 [
Steps:
1. Define a JavaScript method that will be triggered on the click
2. Click event would actually trigger the launch of new form in a new window.
If you have a asp,net server button, you can useOnClientClick
event.
For how to useWindow.Open
method, look here:
MSDN: Open method[^]
Using Window.Open method - 1[^]
Using Window.Open method - 2[^]
这篇关于培训以在asp.net中弹出表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文