473,465 Members | 1,379 Online
Bytes | Software Development & Data Engineering Community
Create 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 8169
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="return 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*****@hotmail.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*****@hotmail.com> wrote in message
news:zd********************@giganews.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
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...
7
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...
4
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...)...
6
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...
31
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...
0
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...
0
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,...
2
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.