Display pop box from code behind in asp net

I want to display pop window on click of the button from code behind in asp.net. Any help from your side will be appreciated.
Posted by Prince Mahajan 7/1/2014 10:26:07 PM
Total Answers : 1
Answer 1
Try the below code:
public void OpenNewWindow(string url)
ClientScript.RegisterStartupScript(this.GetType(), "newWindow",
String.Format("", url));
protected void Button1_Click(object sender, EventArgs e)
I hope this will helped you.
Enjoy and Keep Coding.
Posted by Prince Mahajan 7/1/2014 10:32:17 PM
Post your answer
Sign in to your account
Your Email : 
Password :   
Forgot your password
Don't have StepCoder account ?
Create a new account
Follow me on twitter
About Me
Harpreet Singh
I began programming with C++ when i was 17. Then at the middle of my study .NET came. Then I began to read C# and VB.NET. By the time i learnt SQL and ASP.NET, and developed some websites such as news portals that are active now. Currently i am running my own Software company.
Answer these questions! If you know the answer.