473,948 Members | 19,418 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Floating Panel in ASP.NET...

I would like to have a panel (i.e. DIV-layer) appear in the middle of a web
browser as a sort of pop-up window asking the standard "Are you sure?"
question. This panel would promptly become invisable after the response.

Are there any example of floating panels like this?

Is there a way to get this panel to appear in the middle of the available
screen, at least?

TIA...
Nov 18 '05 #1
2 8193
Rob
The simplest way would be to use the javascript confirm function for
the appropriate event, which pops up a window as you describe e.g.
something like

<input onchange="retur n confirm('Are you sure you?')">

If confirm returns false, nothing happens.

Alterntively you could have an <asp:Panel>,, ,</asp:Panel> section in
your .aspx and set its visbility true o false in the Page_Load or
event handling code of the code behind file (this solution invloves a
postback to the server of course).

Rob

On Thu, 14 Oct 2004 13:18:16 -0400, "The Eeediot"
<ee*****@hotmai l.com> wrote:
I would like to have a panel (i.e. DIV-layer) appear in the middle of a web
browser as a sort of pop-up window asking the standard "Are you sure?"
question. This panel would promptly become invisable after the response.

Are there any example of floating panels like this?

Is there a way to get this panel to appear in the middle of the available
screen, at least?

TIA...


Nov 18 '05 #2
Sure. Use absolute positioning.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

"The Eeediot" <ee*****@hotmai l.com> wrote in message
news:zd******** ************@gi ganews.com...
I would like to have a panel (i.e. DIV-layer) appear in the middle of a web browser as a sort of pop-up window asking the standard "Are you sure?"
question. This panel would promptly become invisable after the response.

Are there any example of floating panels like this?

Is there a way to get this panel to appear in the middle of the available
screen, at least?

TIA...

Nov 18 '05 #3

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

Similar topics

2
12252
by: Isaac Varghese | last post by:
HI, Is it possible to create a floating/dockable form in C# winforms. Something similar to Properties/Solution Explorer window in Visual Studio.net or Search/Index window in MSDN. Any help or input is appreciated. Thanks in advance Isaac Varghese TCS
7
1704
by: Simon Storr | last post by:
The Microsoft CRM has custom combo boxes and date calendar controls that pop up outside the current window in a floating panel (they DON'T open a sub window in the normal way - there's no title bar for a start). How do they do it? I want to do the same thing in my web app but can't find any info on how to do it... Anyone know how its done!? Thanks, Simon
4
3337
by: CMM | last post by:
Has any one gotten a "stay-in-view" floating div to work in ASP.NET 2.0? For those that don't know, the classic way is this (for IE anyway): (window.onscroll...) document.all.Toolbar.style.pixelTop = document.body.scrollTop; But, this doesn't seem to work in any way with ASP.NET 2.0. The problem seems to lay in ASP.NET 2.0's default doctype... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
6
6907
by: TyBreaker | last post by:
What is the best way to create a menu bar like the Office menu bar ie one that can dock to the four corners of the screen? Is it a standard windows form or is it some other more specialised control? -- ______ ___ __ /_ __/_ __/ _ )_______ ___ _/ /_____ ____ / / / // / _ / __/ -_) _ `/ '_/ -_) __/ /_/ \_, /____/_/ \__/\_,_/_/\_\\__/_/ /___/
31
3014
by: Martin Clark | last post by:
Hello, I am daring to stick my head above the parapet and ask as question. I am working on redesigning a website to use CSS rather than tables for layout. I have come across a problem when trying to float an image to the right. For ease of looking at the problem, I have stripped away other parts of the page layout, and have just included the "content" section in the examples below. The basic design of having a left column and a main...
0
1052
by: strontiumpaul | last post by:
Hi, First, let me state, I am a total newbie!!! C# Application. I want to create a floating control panel similar to the PhotoShop's floating designer panel (with images as buttons). It must be capable of floating outside the Parent Form (minimised or otherwise). What is the best approach to this problem? Thanks in advance.
0
1846
by: msnews | last post by:
Hi All! How to make my toolbar as floating toolbar in VB.NET 2005. I am using toolstrip control and have the toolstrip container panel. Based on this i can set the toolbar to left, right, top, bottom option click from a form. How to set the floating option. --
2
1441
by: juanton | last post by:
I have a webpage that is working great in IE and Firefox but is having issues in Opera Version 9.26. I have the CSS controlling the size of the right panel of the page to match the size of the content panel. It works in Opera on all pages except for ones where any items in the content part of the page are floating. Does anyone have any idea why the right panel is not sized correctly in Opera when there are floating elements? Any thoughts or...
0
11580
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
11179
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11354
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10694
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9898
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8256
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7431
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6339
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4541
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.