Solved

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

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

776 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