Solved

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

Posted on 2014-02-24
5
955 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

749 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