o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

showmodaldialog and asp.net problem -

using just the window.open is fine but when using showmodaldialog i always get an invalid procedure call or argument error. This is basically what it is being set on the client side in a jscript method:

window.showModalDialog('<%=System.Configuration.ConfigurationManager.AppSettings["myKey"] %>' + response.value, null, strFeatures);



?

 

showmodaldialog and asp.net problem -
using just the window.open is fine but when using showmodaldialog i always get an invalid procedure call or argument error. This is basically what it is being set on the client side in a jscript method: window.showModalDialog('<%=System.Configuration.ConfigurationManager.AppSetti


showmodaldialog -
Hi, How can I center the showmodaldialog after window.onload? or any solution? my showmodaldialog width and height is vari depend on data in database that why I need to be change the height and width after window onload and move it into center. --nightworlds--


showModalDialog - Close -
Hi , I'm relatively new to ASP and was wondering if anyone could help me .... I'm using showModalDialog to display a HTML window.How can I trap when the user has used the Close button ('X') in the controlbox ( where the min,max,help,close buttons exist) to close the window ? Than


window.showModalDialog cache problem -
Hi all, I am using window.showModalDialog to open a dialog window and I'm having problem refreshing the changes on my dialog window as I need to clear cache in order to have my changes to be reflected on screen. Below is my calling script:- Code: strNewURL = strPswdURL + '?


[2005] WebBrowser + close ShowModalDialog automatically -
hi, In a windows application i've got a webbrowser component that open a extranet page. On onload event of that initial page it calls a ShowModalDialog with a User Agreement with an Ok and Cancel buttons. I need to click in Ok button automatically, without any user interventi


ShowModalDialog window. -
Here's the MS reference for the JS function and Here's a demo page showing you the params you can pass to the JS function Anyways, when we open a popup window we set the width and height according to what the popwindow is going to display etc. We have it so that the OK/cancel but


[2005] showModalDialog -
I've tried every different option for using showModalDialog, but I just cant seem to get it to work the way I need it to. I've got 2 pages (Parent is NewUser.aspx and child is FindUser.aspx). On the parent I have a textbox (txtUserId) and a button that opens the dialog. On the ch


Javascript Timer question -
I have a javascript timer that I start at the press of a button and then execute a showModalDialog to open another screen (this has to happen and it has to use the showModalDialog). The timer does not start until the screen I opened is closed. Do you know a way around this so that th


Window.showModalDialog JS and doing a post back on the modal form. -
If you pop a window up using Window.showModalDialog in JS then you cannot add code behind button clicks.... What happens it when the forms posts back to the server to do stuff it reopens a new instance of the form, and doesn't use the same one. So you end up with a modal instance of


my button code behind doesn execute -
Hi, I have a button on a page that I call from default.aspx using this js function: window.showModalDialog('EditNews.aspx?hist=0&newsID=' + newsID ,'', 'statut:no;help:no;scroll:no;dialogWidth:700px;dialogHeight:600px;'); On the page 'EditNews.aspx, I have th


Internet Explorer: Overlapped I/O Operation Is in Progress -
OK, this is a javascript issue, specifically for IE. I hope someone can help. There is one woman on our test team that randomly gets the error 'Overlapped I/O Operation Is in Progress' when the showModalDialog() function is called. We pass (url, null, "status:no;scroll:no&q


modaldialog as a login page -
hello all.. i would like to solicite some ideas. what do you guys think of modaldialogs (IE's showmodaldialog) used as as the login page to check/authenticate users ? =( huhu im really having some glitches. please advise... :'(


[2005] Modal form dropdownlist postback problem!!! Help!! -
i am using a javascript to popup a modal form as below window.showModalDialog('Default.aspx?main_model=' + main_model + '&main_serial=' + main_serial ,'','dialogHeight:450px; dialogWidth:500px; edge: Raised; status: Yes; scroll:no; resizable:no; center:yes; help:no;'); the m


focus of popup window -
Hi, I have an asp that allow user to send email, after that, system will popup a msg and return to the previous screen. I use the following code to do so: ... top.location.href = locationPath; remote=window.open(theURL,winName,features); remote.focus(); ... but I always ha


[2005] WebBrowser close ModalDialog on page -
Hi, I use VB 2005 WebBrowser control to load a web page which opens a ModalDialog. Page: <SCRIPT language=javascript> window.showModalDialog('finish.php', '', 'dialogHeight=130px;'); </SCRIPT> How can I close this modal dialog from VB? Thanks.


Refresh Parent Window -
Hi Guys, I am using window.showModalDialog() function to open a popup window. When I click the save button on the popup window I call a function to insert values into a table and then close the child window which is fine. But what I want is to refresh the parent window which isn'


How do I know its child window -
Hi there! I need to perform a particular task if it is a child IE window and another task if it is a normal IE window. Atpresent I am checking the window.opener property to check whether its a child window. But if the window is a modal dialog (opened using window.ShowmodalDial


Help with showModalDialog -
Hi All I'm having trouble wrapping my head around refreshing the parent from a modal dialog. In the RowDataBound event of my gridview, I attach this to an anchor in each row *The showModal is commented, because I can't get the parent to refresh Code: Dim test As HtmlAnch


JS, showModalDialog problem. -
I have the following JS: Code: function openSelectVisitor(iBookingKey) { var sFeatures = '' sFeatures='' sFeatures+='top=100,' sFeatures+='left=200,' sFeatures+='height=500px,' sFeatures+='width=400px,' sFeatures+='scrollbars=no,status=no,toolbar=no' window


Opening page in modal window -
Dear all, I have got a form on an asp page. I am opening the page in a modal window using showModalDialog. The target attribute of the form has been set to window.self. When I submit the form the modal dialog opens the form submission results in a new browser instance. How do I av


Modal Form -
Hi everyone, Need Feedback ASAP Can I made a Modal Form, so that the user need to close the browser before go to the Main browser. I'm using onBlur="Self.Focus()" but still can go to the main page, just it not allow u to minimize. The "showmodaldialog&quo


window.showModalDiaolg not working in firefox -
I am using javascript on a vb.net program created in VS2005 to open a dialog box and get a value from the user. The code below works great in IE and Safari but NOT in Firefox. Does anyone have any idea's? Code: Me.btnEdit.Attributes.Add("onclick", "var strRetur


how do you refresh a parent window...SOLVED -
this is all VBScript.. client side and server side... ok i have an ASP page that opens another page modally using window.showModalDialog "page.asp" now in page.asp i want to refresh the parent page that called it. and then close the popup window... i tried Co


change theme programmatically with javascript -
right now I have a link on a parent page that uses javascript to open a modal dialog window. in the window the user picks what theme they want from a list and hits submit. ive gotten it so that I can retrieve the users input on the parent page, now what I want to do is change the


resolved[02/03] problem with calendar object -
I am tasked with putting a pop up calendar object my web application that when the user clicks on an input button each of which are next to two textbox fields it places the selected date from the pop up calendar object to each ofthe textbox fields. Ok first I am getting a script erro


document.getElementById('txtValue').focus(); Fails with an error on MODAL popups -
I have the JS: Code: document.getElementById('txtValue').focus(); This works fine is I call the page directly, or if the page is shown in a popup window that is NON modal. When I show this using the JS: Code: window.showModalDialog Then I get the following attached err


Going back and forth between forms -
Hello: I'm working in vb.net and having issues reloading an already open form. I have my customer form open; after, the user clicks on something - I want to keep the customer form open while opening another small form. After the user selects a link button from the small form, I


Anyone have a good script for keeping a child window focused -
I need to open a new window and have the user finish with that window before going back to the parent. I tried the showModalDialog approach but it has too many problems. I used to have a script that would do wwhat I wanted but it dosen't seem to be working: the parent's code: Co


Setting the text value of a Server Control from a JavaScript variable -
Hello, I have a webform which gets a text value from another form. It gets it via the following.... Code: <SCRIPT language="JavaScript" type="text/javascript"> function finish() { window.returnValue = 'Test It works'; window.close(


Writing client info to Server Control -
The following is the only method I have found to call a DialogBox with ASP.NET I have a server side button that has client side code that runs when it is clicked. <MainForm.aspx> Code: <script... Sub cmdCust_OnClick Dim sCustomers, sOptions sOptions


SQL - The value violates the MaxLength.... (new problem) -
Aight.. i'm just editing this post... I figured out my earlier problem, but now i'm facing a new problem.. I've set the column to varchar(MAX) but still it won't work even when the FriendlyName is under 100 chars.. i also tried to set it to 1000, but same problem...


problem There seems to have been a slight problem with the database -
hello, my board is not working and appeared this message : --- There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser. An E-Mail has been dispatched to our Technical Staff, who you can also contact if the p


Problem with C++ dll calling by VB GUI -
Hi Guys, I am having a problem with dll. I want to build one from C++ to VB. I have same problem as LucianJay. No answer yet in Forum. Did Lucian Jay solve problem? When I run my form I get same error: Trying to access protected memory. I am new programmer can submit my code if


Trimming Problem -
When you do the following It will not trim advice would be appricated DIM PROBLEM AS STRING * 50 PROBLEM = "PROD" PROBLEM = RTrim(Mid(PROBLEM , 1, InStr(1, PROBLEM , " ") - 1)) FOR SOME REASON IT DOES NOT SEE THE SPACES BEHIND PROD. IF I ADD A CHAR TO T


problem in Session End - vijay -
Hi! I have a problem in our login page.Actually we won't allow more than a time ,same user to log on. Problem goes here ......If the User log out properly thru the LogOut Link ,there will not be any Problem.If the User not properly Log out either by closing the browser/ Diconne


Problem with API -
Hai guys, I have downloaded a program for ftpclient. and i have started to learn the code by tracing. there i had a problem, if i end the prgm in the middle, then the entier vb is closed. i dont know why this is happening. can any one explain whats the problem and where is the


Ram Problem -
Hi ... before 10 days (in a rainy day) .. i m seeing moive on my PC Suddenly i saw a lot of blue lines ... on my desktop.. I directly close my PC thru shutdown button on my pc... after a day when i open My pc it give a BEEP... No screen appear.. some peoples told that it


SP2 and VB6 app problem -
I'm having a rather odd problem with an app of mine - people who are running SP2 are noticing a point while running the app that the app just seems to freeze up for a long time before continuing while anyone else who is running anything but SP2 does not have this problem. I realize


Compiler GUI problem due to game -
The problem is -- whenever I run the Run the game in fullscreen all goes fine...But whenever I exit and restore everything the compiler GUI becomes the size of the resolution I used so in my case it goes from 1024x720 to 800x600. When I used to make games in VB6 I had this problem A


Can someone help with these SQL queries (URGENT) -
I am having trouble with this so must hand it over to you, the experts... Need some SQL queries that can possibly pull some info from across 3 tables... My tables are like as follows: QUERY QueryID, QueryDetails, QueryStatus, UserID, AdminID, CustomerID, TaskID TASK