[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1044
  • Last Modified:

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

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
Murray Brown
Asked:
Murray Brown
2 Solutions
 
Pratima PharandeCommented:
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
 
Johny BravoCommented:
Hi I think this is what you need,

check
http://istockphp.com/jquery/creating-popup-div-with-jquery/
0
 
CodeCruiserCommented:
What is your functional requirement?
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
To get a form or new browser to pop up without being blocked by the Windows Pop Up Blocker
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks very much
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now