473,320 Members | 1,804 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Popup dialog boxes?

et
Am I correct in that Popup dialog boxes are not available in asp.net? Like
the "Are you sure you want to delete?" with yes/no options? What are ways
to do this?

Thanks for your help. Am new to this, so I may have just missed it.
Nov 19 '05 #1
5 1275
et wrote:
Am I correct in that Popup dialog boxes are not available in asp.net?
Like the "Are you sure you want to delete?" with yes/no options?
What are ways to do this?

Thanks for your help. Am new to this, so I may have just missed it.

This is client side, so you will need to use Javascript.

--

Nov 19 '05 #2
et,

You need to use javascript for this.

If you would like some examples I have a few useful javascripts in a
Javascript component I built and give away free on my website at:
http://www.aboutfortunate.com?page=javascript

The code is free and comes with all source as a visual studio.net 2003
project. There is also a downloadable help file for all the objects
available on my site.

Feel free to email me if you have any questions. The code you'd want to look
at in the javascript object is in the "Confirmations" section.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"et" <ea*************@yahoo.com> wrote in message
news:Oy**************@TK2MSFTNGP14.phx.gbl...
Am I correct in that Popup dialog boxes are not available in asp.net?
Like the "Are you sure you want to delete?" with yes/no options? What are
ways to do this?

Thanks for your help. Am new to this, so I may have just missed it.

Nov 19 '05 #3
Use the Attributes.Add method to assign a JavaScript variable to the
button:

btnDelete.Attributes.Add("onclick", "javascript:if(confirm('Do you
really want to delete the record?')== false) return false;")

Nov 19 '05 #4
et wrote:
Am I correct in that Popup dialog boxes are not available in asp.net?
Like the "Are you sure you want to delete?" with yes/no options?
What are ways to do this?

Thanks for your help. Am new to this, so I may have just missed it.

This is client side, so you will need to use Javascript.

--

Nov 19 '05 #5
I have implemented a method of using a Panel (a.k.a. DIV layer) that would
become visible after a certain event has occured to avoid some popup
blockers.

The only problem is that DIV layers cannot appear on top of Selection lists.
"et" <ea*************@yahoo.com> wrote in message
news:Oy**************@TK2MSFTNGP14.phx.gbl...
Am I correct in that Popup dialog boxes are not available in asp.net? Like the "Are you sure you want to delete?" with yes/no options? What are ways
to do this?

Thanks for your help. Am new to this, so I may have just missed it.

Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Newbie | last post by:
Hello all~ I have got some questions about popup window, hope that someone can help me.. m(_ _)m~thx~ when a popup window appear, can I force users to focus on the popup window "ONLY" that...
2
by: QA | last post by:
http://www.popupcheck.com/popup_manual/modeless.asp can still have a popup even when I have a popup blocker - google toolbar. I want to know the technology, but I can not read the source code....
2
by: steggun | last post by:
How To: Popup Confirmation Dialog & Redirect in LinkButton_OnClick Hello All, I have a ASP.NET 2.0 (C#) web form with a LinkButton control. In the server-side code for the LinkButton_OnClick...
2
by: jackson2005 | last post by:
OK, I need to do three different things. On the ONLOAD event I would like a popup box to open. In this popup box I need two text boxes. One for the UserName and one for the BillingTo name. ...
1
by: susikto chaudhuri | last post by:
Hi, I have created a server response page (written in PHP). This is receiving the response from the server and writing into a text file. What I want to do when I will get the response from the...
4
by: Macbane | last post by:
Hi, I have a 'main' form called frmIssues which has a subform control (named linkIssuesDrug) containing the subform sfrmLink_Issues_Drugs. A control button on the main form opens a pop-up form...
3
by: ApexData | last post by:
I am using code from the following links to establish a Browse File and Browse Folder dialog. http://www.mvps.org/access/api/api0001.htm http://www.mvps.org/access/api/api0002.htm This code...
3
by: Victor | last post by:
Hi guys. I want to implement a customized user webcontrol (.ascx). Inside this control I have a dropdownlist and a button. when user click the button, it will open a pop up window(not Ajax popup...
3
by: Mike Hofer | last post by:
Okay, here's the situation: we want to be able to display ASPX pages in an UpdatePanel. The reasons for this are performance related. The site in development uses *lots* of modal popups from some...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.