Hello All,
I want to display a popup window when i click on a button.Please anyone send me the code.
Thanks & Regards
Prashant S. More
Hello All,
I want to display a popup window when i click on a button.Please anyone send me the code.
Thanks & Regards
Prashant S. More
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
kareem elhossenyPosted Jul 12, 2008, 3:57 AM
it working with me
Response.Write("");
Ryan AlfordPosted Jul 11, 2008, 1:03 PM
Response.Write("");
Niradhip ChakrabortyPosted Jul 9, 2008, 12:00 PM
You can do it by using javascript. Say your popup page name is 'ForgotPassword.aspx'
and your button id is 'btnGo'
.aspx page coding:
function OpenForgotPassword()
{
strUrl="ForgotPassword.aspx";
x = window.showModalDialog(strUrl,"newwin","dialogHeight:20;dialogWidth:36; status:No; edge:Raised; center:yes; help:No; resizable:No; ")
}
.aspx.cs page coding
protected void Page_Load(object sender, EventArgs e)
{
btnGo.Attributes.Add("onclick","return OpenForgotPassword();");
}
ramarajan raPosted Jul 9, 2008, 8:07 AM
hi.
try in this link, i found this and cleared my solution, try this link
http://forums.asp.net/tags/popup/default.aspx?PageIndex=5
regards
ram