Panel Layers? Confused....

dragonsbb16
03-27-2007, 07:12 AM
Ill try and keep it simple....I am a semi-noob at ASP.Net..i have over 6 years exp with VB6....

I have a User Control on my ASPX Form......the control contains a DataGrid which is inside of a Panel. Think of it as a Pop-up Help Screen...I am kind of stumped...When i run this on XP IE7 everything is fine......the Panel is on TOP (layered) of all controls on the ASPX form. When i hop over to my 2000 with IE6 test it there and my combo boxes on top of the panel...I guess my questin is how to force the Panel to be on top of EVERY control on the ASPX screen?

wayneph
03-28-2007, 09:25 AM
it's related to a bug in IE6. <select> HTML elements (which is what a DropDownList is) gets rended on top of everything. About the only thing I've seen that covers it are IFrames. But then each of the panels end up in different pages. Maybe if you give us more ideas of what you're trying to do, we can offer some suggestions.

dragonsbb16
03-28-2007, 09:53 AM
it's related to a bug in IE6. <select> HTML elements (which is what a DropDownList is) gets rended on top of everything. About the only thing I've seen that covers it are IFrames. But then each of the panels end up in different pages. Maybe if you give us more ideas of what you're trying to do, we can offer some suggestions.

Attached are 3 screenshots of what i am currently doing...my workaround thus farfor the drop down boxes was to just resize the panel and move it over. That is obviously not a good fix...

Basically what i's LIKE to do without client side code (or atleast not alot of it) is have the "Help Panel/Grid/whatever you want to call it" open in a new window, kind a like a pop-up if you will.....then when they click Select i take the data that i need and place it in the box that they came from...

This is how i open a new window now...from server side code.

Dim strscript As String = "<script language=javascript>window.top.open('../MyForm.aspx','_self');</script>"
If (Not Page.IsStartupScriptRegistered("clientScript")) Then
Page.RegisterStartupScript("clientScript", strscript)
End If

I really dont know where to go with the help screen.....personally id like to have the help screen in a new, "_Blank" screen , i just unclear on how to pass values effeciently from one form to another...I currently use Session Var for 99.9% of my passing. I have read some things about "server.transfer" but you can set that to open a NEW screen.....same with response.redirect.....soooo what do you think?

wayneph
04-01-2007, 07:31 AM
Server.Transfer isn't going to help with new windows. It runs on the server, and as far as that's concerned, it only knows about a single window at a time.

If you open a window, and want to send database to the original one, you can look at the opener property from JavaScript on your pop up window. In this case, I think Client Side code is your only option.

If you're using Ajax, you could probably do more with the Ajax.Net framework, but as you've seen you'll need to find a work around for the DropDownLists.

MKoslof
04-01-2007, 10:57 AM
I also think it is important to mention there is a difference between a pop up "window" in relation to navigating to a different PAGE and a pop up control. You can create custom controls in ASP.net and using a pop control will be somewhat easier for you. You don't want to deal with Response.Redirect or Server.Transfer in this scenerio at all, since its not wired to do what you are requesting.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum