Hi
I have a page with a button that has to open a popup window:
btnPopup.Attributes.Add("onclick", "window.open("popup.aspx",null,'height=250, width=250,status= no, resizable= no, scrollbars=no, toolbar=no,location=no,menubar=no ');");
the error is:could not find page popup.aspx
what could be wrong?
ch Dik
************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources... 4 1214
There is no page "popup.aspx" in the directory where the calling page is
located.
Eliyahu
"dik" <di*@lul.com> wrote in message
news:eB**************@TK2MSFTNGP09.phx.gbl... Hi
I have a page with a button that has to open a popup window:
btnPopup.Attributes.Add("onclick",
"window.open("popup.aspx",null,'height=250, width=250,status= no, resizable=
no, scrollbars=no, toolbar=no,location=no,menubar=no ');"); the error is:could not find page popup.aspx what could be wrong?
ch Dik
************************************************** ******************** Sent via Fuzzy Software @ http://www.fuzzysoftware.com/ Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...
ok thanks..
the next problem is, I want to close my popup after the following script:
private void DataGrid1_ItemCommand(object source,
System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
string tmp = ((LinkButton)e.Item.FindControl("jahoor")).Text;
Session["tmp"] = tmp;
}
The popup window displays a datagrid with some data.. it fills the session
object but I want to close the popup window..
how to do that?
ch Jimmy
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:em**************@TK2MSFTNGP10.phx.gbl... There is no page "popup.aspx" in the directory where the calling page is located.
Eliyahu
"dik" <di*@lul.com> wrote in message news:eB**************@TK2MSFTNGP09.phx.gbl... Hi
I have a page with a button that has to open a popup window:
btnPopup.Attributes.Add("onclick", "window.open("popup.aspx",null,'height=250, width=250,status= no,
resizable= no, scrollbars=no, toolbar=no,location=no,menubar=no ');"); the error is:could not find page popup.aspx what could be wrong?
ch Dik
************************************************** ******************** Sent via Fuzzy Software @ http://www.fuzzysoftware.com/ Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...
Response.Write("<script>window.close();</script>");
Eliyahu
"Jimmy" <be****@gmail.com> wrote in message
news:uJ***************@tk2msftngp13.phx.gbl... ok thanks..
the next problem is, I want to close my popup after the following script:
private void DataGrid1_ItemCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e) { string tmp = ((LinkButton)e.Item.FindControl("jahoor")).Text; Session["tmp"] = tmp;
}
The popup window displays a datagrid with some data.. it fills the session object but I want to close the popup window.. how to do that?
ch Jimmy "Eliyahu Goldin" <re*************@monarchmed.com> wrote in message news:em**************@TK2MSFTNGP10.phx.gbl... There is no page "popup.aspx" in the directory where the calling page is located.
Eliyahu
"dik" <di*@lul.com> wrote in message news:eB**************@TK2MSFTNGP09.phx.gbl... Hi
I have a page with a button that has to open a popup window:
btnPopup.Attributes.Add("onclick", "window.open("popup.aspx",null,'height=250, width=250,status= no, resizable= no, scrollbars=no, toolbar=no,location=no,menubar=no ');"); the error is:could not find page popup.aspx what could be wrong?
ch Dik
************************************************** ******************** Sent via Fuzzy Software @ http://www.fuzzysoftware.com/ Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...
thanks Eliyahu
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:ur**************@TK2MSFTNGP12.phx.gbl... Response.Write("<script>window.close();</script>");
Eliyahu
"Jimmy" <be****@gmail.com> wrote in message news:uJ***************@tk2msftngp13.phx.gbl... ok thanks..
the next problem is, I want to close my popup after the following
script: private void DataGrid1_ItemCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e) { string tmp = ((LinkButton)e.Item.FindControl("jahoor")).Text; Session["tmp"] = tmp;
}
The popup window displays a datagrid with some data.. it fills the
session object but I want to close the popup window.. how to do that?
ch Jimmy "Eliyahu Goldin" <re*************@monarchmed.com> wrote in message news:em**************@TK2MSFTNGP10.phx.gbl... There is no page "popup.aspx" in the directory where the calling page
is located.
Eliyahu
"dik" <di*@lul.com> wrote in message news:eB**************@TK2MSFTNGP09.phx.gbl... > Hi > > I have a page with a button that has to open a popup window: > > btnPopup.Attributes.Add("onclick", "window.open("popup.aspx",null,'height=250, width=250,status= no, resizable= no, scrollbars=no, toolbar=no,location=no,menubar=no ');"); > > the error is:could not find page popup.aspx > what could be wrong? > > ch Dik > >
************************************************** ******************** > Sent via Fuzzy Software @ http://www.fuzzysoftware.com/ > Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Noozer |
last post by:
When using the WebBrowser control, is it possible to cause popup windows to
appear within the WebBrowser control itself instead of a new window?
This is what I've written in the NewWindow2 event,...
|
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...
|
by: Raffi |
last post by:
Hi,
We have a database application that runs in a popup Internet Explorer
application window. The reason for this is to isolate the casual user
from the address bar and the typical IE navigation...
|
by: lazar |
last post by:
I'm triing to write script that close popup window, when user click
outside the popup.
Script below is working fine in firefox (v1.0.3), but not in IE.
I tried also to print hello but still...
|
by: Hemanth |
last post by:
Hello there,
I'm running a script that opens a popup window (which is basically a
form with checkboxes and a submit button). When I click the submit
button I want to run a PHP script and target...
| |
by: Jay |
last post by:
I have a situation where the user clicks on a button in a
DataGrid to launch a popup window via javascript. In the
popup window the user does some things that result in
changes to the underlying...
|
by: clsmith66 |
last post by:
I am building an ASP.NET application where I have been required to make all
the editing screens popup windows within the application. I didn't have any
trouble creating the new windows but only...
|
by: Alex.Svetos |
last post by:
Hello,
I'm trying to get a popup to keep focus when it is re-clicked.
The script below is supposed to produce this exact behaviour,
however it doesn't work, at least on firefox 1.0.7 and moz...
|
by: anthony.turcotte |
last post by:
Hi,
I've looked for a solution to this problem on google, read posts in
this newsgroup and I still haven't found anything that could help me.
Here's the scenario.
1. User accesses...
|
by: midnight_use_only |
last post by:
hi all,
quick question, how do you submit a form to a parent window from a
child popup window? i have the following and all online documentation
*suggests* that it should work but it does NOT:
...
|
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,...
| |
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...
|
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,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
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...
|
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...
|
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,...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |