Solved

ASP.net VB.net using client side code to generate a popup form

Posted on 2014-02-24
5
916 Views
Last Modified: 2014-02-25
Hi

In my ASP.net VB.net web application I wanted to create a popup form. I asked how to do this and got the following answer. I am not sure how to do what was suggested:

"best and faster way is use client side code.
Define a div which you want to show as popup. with by default setting as display: none;
if you are using jQuery then you can dialog or if you are not using jQuery then in simple Javascript also you can make that div visible."
0
Comment
Question by:murbro
5 Comments
 
LVL 39

Assisted Solution

by:Pratima Pharande
Pratima Pharande earned 200 total points
ID: 39882140
try this in code behind page  from where you want to open popup

ScriptManager.RegisterStartupScript(this, typeof(string), "OpenWindowScript", "window.open('pagename.aspx');", true);
0
 
LVL 8

Accepted Solution

by:
johny_bravo1 earned 300 total points
ID: 39882238
Hi I think this is what you need,

check
http://istockphp.com/jquery/creating-popup-div-with-jquery/
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 39882806
What is your functional requirement?
0
 

Author Comment

by:murbro
ID: 39883070
To get a form or new browser to pop up without being blocked by the Windows Pop Up Blocker
0
 

Author Closing Comment

by:murbro
ID: 39885170
Thanks very much
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now