在asp.net中使用Jquery的模型弹出窗口 [英] Model Popup window using Jquery in asp.net
本文介绍了在asp.net中使用Jquery的模型弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有我的评论页面,其中有3个字段。
审核标题,说明和目的地。
当我点击提交按钮时,如果用户已登录,则该评论将插入到sql数据库中,否则将打开登录模型弹出窗口。
如果他/她添加凭据,则必须进入该审核页面。
请帮我解决 jQuery模式弹出窗口。
如何用按钮代码写条件?
我写了这个button_click:
if (Request.QueryString [ userid]!= null )
{
// 插入代码..
}
else
{
}
解决方案
Codeproject本身有一个可靠的解决方案,可以帮助您的应用程序。检查以下网址。
网址:http://www.codeproject.com/Articles/488312/jQuery-Modal-Dialog-with-Dynamic-Content
Hi,
I have my Review page, in that 3 fields are there.
review title, Description, and Destination.
When I click submit button, if user is already loggedin, that review will insert in to sql database, otherwise login model popup window will open.
If he/she add credentials, it has to go that review page.
Please help me with jQuery modal popup window.
How to write condition in button code ?
I wrote this button_click:
if(Request.QueryString["userid"] != null)
{
//insert code..
}
else
{
}
解决方案
Codeproject itself have 1 solid solution which may help you in your application. Check the following url.
Url : http://www.codeproject.com/Articles/488312/jQuery-Modal-Dialog-with-Dynamic-Content
这篇关于在asp.net中使用Jquery的模型弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文