在Asp.net中打开一个表单(弹出窗口) [英] Open a Form(popup) in Asp.net
本文介绍了在Asp.net中打开一个表单(弹出窗口)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个表格,其中包含姓名,手机号码,电子邮件ID,城市,并有两个按钮保存和搜索。所有都是asp.net控件而不是 Html控件
当我点击保存按钮时,所有字段都插入了到目前为止我已经完成了数据库。
现在当我点击搜索按钮时,它应该打开一个像弹出窗口一样的表格。我不太了解JQuery,Ajax。所以任何人都帮助我。
I have a Form that contains Name, Mobile No, Email Id, City and having two buttons save and search. All are asp.net controls not Html Controls
when i click on save buttons all the fields are inserted into database as of now i done.
Now when i click on search button it should open a form like a popup. I donot have much knowledge on JQuery, Ajax. so anybody help me.
推荐答案
div中的用户iframe并调用一个页面,其中包含您希望在表单上的控件。这在实践中是最好的。如果需要更多帮助,请告诉我
http: //www.w3schools.com/tags/tag_iframe.asp [ ^ ]
User Iframe inside a div and call a page having the controls you wanted to be on the form. This is best in practice. In case more help needed, do let me know
http://www.w3schools.com/tags/tag_iframe.asp[^]
试试这个...
rel =stylesheettype =text / css/>
Try this...
rel="stylesheet" type="text/css" />
([id * = btnModalPopup])。live(click,function(){
("[id*=btnModalPopup]").live("click", function () {
这篇关于在Asp.net中打开一个表单(弹出窗口)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文