Hopefully someone can help me with this i dont seem to be able to find
a javascript - asp.net group.
im trying to creat a modal dialog box in asp.net using the following
Dim str_JavaPopup As String = "<script language" &
"='javascript'> window.showModa lDialog('frm_Mo reInfo.aspx?Pro ductImage="
& str_ImageName & "&ProductDe sc=" & str_Description & "','dialogWidth :
100px;dialogHei ght: 100px;center: yes;resize: no;status: no;help:
no');</Script>"
Me.Page.Registe rStartupScript( "Startup", str_JavaPopup)
the window opens fine but the window does not resize
is my code ok??
thanks in advance 3 1455
"csgraham74 " <cs********@hot mail.com> wrote in message
news:11******** **************@ g49g2000cwa.goo glegroups.com.. . Hopefully someone can help me with this i dont seem to be able to find a javascript - asp.net group.
im trying to creat a modal dialog box in asp.net using the following
Dim str_JavaPopup As String = "<script language" & "='javascript'> window.showModa lDialog('frm_Mo reInfo.aspx?Pro ductImage=" & str_ImageName & "&ProductDe sc=" & str_Description & "','dialogWidth : 100px;dialogHei ght: 100px;center: yes;resize: no;status: no;help: no');</Script>"
Me.Page.Registe rStartupScript( "Startup", str_JavaPopup)
the window opens fine but the window does not resize
is my code ok??
thanks in advance
I believe showModalDialog 's option parameter is supposed to be a
comma-delimited list of options...not semicolon.
Mythran
"Mythran" <ki********@hot mail.comREMOVET RAIL> wrote in message
news:O%******** ********@TK2MSF TNGP15.phx.gbl. .. "csgraham74 " <cs********@hot mail.com> wrote in message news:11******** **************@ g49g2000cwa.goo glegroups.com.. . Hopefully someone can help me with this i dont seem to be able to find a javascript - asp.net group.
im trying to creat a modal dialog box in asp.net using the following
Dim str_JavaPopup As String = "<script language" & "='javascript'> window.showModa lDialog('frm_Mo reInfo.aspx?Pro ductImage=" & str_ImageName & "&ProductDe sc=" & str_Description & "','dialogWidth : 100px;dialogHei ght: 100px;center: yes;resize: no;status: no;help: no');</Script>"
Me.Page.Registe rStartupScript( "Startup", str_JavaPopup)
the window opens fine but the window does not resize
is my code ok??
thanks in advance
I believe showModalDialog 's option parameter is supposed to be a comma-delimited list of options...not semicolon.
Mythran
Ok, I double-checked and the semi-colon is the delimiter and not a comma so
ignore my last post...because of that, I did some testing and found that you
are specifying your options as the wrong parameter....so ..
Correct Way:
window.showModa lDialog("url", "window name", "options delimited by
semi-colon");
What you are doing:
window.showModa lDialog("url", "options delimited by semi-color");
your options are being passed as the window name :)
Mythran
Pass an empty string as the second parameter and specify resizabe:yes in the
third parameter.
Eliyahu
"csgraham74 " <cs********@hot mail.com> wrote in message
news:11******** **************@ g49g2000cwa.goo glegroups.com.. . Hopefully someone can help me with this i dont seem to be able to find a javascript - asp.net group.
im trying to creat a modal dialog box in asp.net using the following
Dim str_JavaPopup As String = "<script language" & "='javascript'> window.showModa lDialog('frm_Mo reInfo.aspx?Pro ductImage=" & str_ImageName & "&ProductDe sc=" & str_Description & "','dialogWidth : 100px;dialogHei ght: 100px;center: yes;resize: no;status: no;help: no');</Script>"
Me.Page.Registe rStartupScript( "Startup", str_JavaPopup)
the window opens fine but the window does not resize
is my code ok??
thanks in advance This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: dave yan |
last post by:
hi,
i have some forms which use javascript for data validation, e.g.,
checking to make sure all required fields are completed, checking that
data falls within valid ranges for certain fields, etc.
if an error occurs, i'm sending the user a message via the alert
window. the form is then not submitted until the errors are corrected.
however, i've discovered that some users using the aol browser are
|
by: Obantec Support |
last post by:
Hi
i leached some code and strung together a popup i need for a page with 5
help buttons.
Now i could use 5 scripts and pre-load the values but i would rather get a
better understanding of how to pass some extra values to 1 script.
1.
<SCRIPT LANGUAGE="Javascript"><!--
function popUp(url) {
|
by: Shaun McKinnon |
last post by:
HI...Here's my problem...I have a popup window that loads when i want it to,
but it's not sized properly. I've set the size, but it doesn't seem to
work. I've been on 8 different websites to find out what i'm doing wrong,
and so far it seems i'm doing it the right way. Here's my code...any
suggestions would be appreciated.
<script language="javascript">
<!--
window.open("256fx/index.htm", "", "height=400, width=600");
//-->
|
by: HarveyB |
last post by:
I would like to generate non-modal popup windows from
ASP.Net code-behind. I have tried using Client Side
scripting like "function Test(){
window.open('test.htm',_blank,
'height=200,width=400,status=no,toolbar=no,
menubar=no,location=no resizable=no
scrollable=no');
but I can't seem to invoke the client side script from
within a Server Side Form. I know I can use the context
with to Response.redirect or Server.transfer to return a
|
by: GrantS |
last post by:
I am having a problem closing a popup window opened modally. When I
try to close the window (when the user hits save button and the data
has been processed), the Popup window opens as a full screen as a new
window. The original window plus the Modally opened Pop remain in a
separate window.
What I want to do is close the popup and return to the original window
with its view state maintained.
The control use to fire the popup window...
| |
by: Earl Teigrob |
last post by:
I did a ton of searching to try and find a simple solution to this issue and finally wrote my own, which I am sharing with everyone. In my searching, I did find a very complete and robust solution at
http://weblogs.asp.net/asmith/archive/2003/09/15/27684.aspx
but it was far more complex then I needed. (I got lost trying to figure it all out). Therefore, here goes my simple "web dialog box with parent event handler fireing" solution.
...
|
by: Kiyomi |
last post by:
Hello,
I have some codes under event ButtonSend_Click to check the user input
values. This check is complicated enough using different stored procedures.
Then according the result of the checks, I would like to display a popup
page in which the user can select "OK", "Cancel" etc.
|
by: VMI |
last post by:
I have a LinkButton_search on my Page1.aspx that opens up a popup page called
popup.aspx. I do this with LinkButton.Attributes.Add() on the Page_Load of
Page1.aspx.
How can I add server-side code to LinkButton_search_Click() so that the code
in there runs before opening the popup window? The problem is that I fill a
Session variable when I click on the button that will then be used in the
Page_Load of my Popup window. So basically this is...
|
by: wreed06 |
last post by:
Hello,
I have 2 problems. In my webpage, I have a dropdown list with a button that takes the user to a popup window specific to the option. I am using Firefox 2.0.0.13. I have successfully validated my HTML and CSS code.
1. When I clear cache and refresh my webpage, it takes 3 tries before the popup window displays - I click on the button once, a white window the size of my webpage displays. I close it and click on the button again (for...
|
by: V S Rawat |
last post by:
using Javascript, I am opening a web-based url in a popup window.
MyWin1=Window.Open(url, "mywindow")
There is a form (form1) in the url in that popup window, I need to
submit that form.
How do I submit that form1 from the javascript from my current window?
Thanks.
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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...
|
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,...
|
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...
|
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...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |