473,289 Members | 1,810 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,289 software developers and data experts.

showModalDialog and master page

Hello,

when I use the IE javascript 'showModalDialog' function to display a
calendar I encouter the following problem:

My aspx page uses a master page (asp.net 2.0). My 'showModalDialog' opens a
page without master page, but this gives an error message, because it appears
that the 'showModalDialog' assumes that the same master page as the parent
windows is also applicable for the popup.

Not what I expected. Is there a wau around that you know of?
I tried adding the master page to the popup page as well and then make the
master page controls inviisble on that page. Two problesm with that:
- the position of the calendar is sill influenced by the invisible controls.
- the postback of the calendar value gives an error.
May 15 '06 #1
1 2216
sorry, I added a masterpage in code behind...

"Axford" wrote:
Hello,

when I use the IE javascript 'showModalDialog' function to display a
calendar I encouter the following problem:

My aspx page uses a master page (asp.net 2.0). My 'showModalDialog' opens a
page without master page, but this gives an error message, because it appears
that the 'showModalDialog' assumes that the same master page as the parent
windows is also applicable for the popup.

Not what I expected. Is there a wau around that you know of?
I tried adding the master page to the popup page as well and then make the
master page controls inviisble on that page. Two problesm with that:
- the position of the calendar is sill influenced by the invisible controls.
- the postback of the calendar value gives an error.

Jun 2 '06 #2

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

Similar topics

4
by: Jim Mitchell | last post by:
I have a web page that I show using show ModalDialog. The web page takes about 6 seconds to load. No matter what I try, I can not get the cursor to show a "WAIT" until the page is loaded in...
6
by: Scott Lee | last post by:
I am displaying an ASP.Net generated form in a popup opened with window.showModalDialog. The form contains DropDownList controls. The first ddl is populated via databinding to a datatable, has...
4
by: MW de Jager | last post by:
I want to call ShowModalDialog(...) from my C# code in the code behind page of my aspx page. I do not want to link this to a button, since I want to first do some checking myself before I call the...
2
by: Sarah | last post by:
I am using the javascript showModalDialog function to open a file upload window. The function opens a page which contains a usercontrol housing the file upload stuff. The control works fine when...
2
by: John | last post by:
Hi, I posted this earlier in microsoft.public.dotnet.framework.aspnet, but didn't get a response, so I thought I'd try here. Basically, I'm having a problem opening / downloading csv files...
4
by: Ralf | last post by:
Here is my scenerio and what I am doing. I am open to other ways of doing this is it makes sense. I have a cell withing a row within a datagrid. When this cell is clicked (its a date field), I...
6
by: David | last post by:
Hi all, I am opening a webform with showModalDialog. This appears to pop-up fine, though I have a problem... Inside the webform is a treeview control. When the treeview is populated, I am...
1
by: GuruPrasadBytes | last post by:
I am called ShowModalDialog() from the master page as below. .... onclick='javascript: addSecurities = objDoc.selectSingleNode("//Security"); Args = addSecurities; Args = buildCategoryTable; Args...
3
by: shiyas | last post by:
I have an aspx page named PartSearch.aspx. This is in root directory. I want to popup this page using window.showModalDialog from master page (by clicking a Hyperlink in master page) . So from master...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
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...

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.