Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Syntax Error 2 48
consuming an asmx web service in winforms application 3 26
C#  Radio button search for Date not DateTime 4 35
Gridview alignment 1 12
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

864 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

19 Experts available now in Live!

Get 1:1 Help Now