I have an aspx page that has a checkboxlist control on it. There is
code in the selection changed event so that when you check the first
checkbox (Select All) it checks the reset of the checkboxes on the
page.
This page is opened by clicking on a link within a datagrid as a modal
dialog using the following code :
strScript = "window.showMod alDialog('Dialo g.aspx?Var1=" + strVar1+
"&Var2=" + strVar2 + "&var3=" + strvar3 + "&var4=" + strvar4 +
"&date=" + strDate + "&var5=r" + "&var6e=6', null,
'center:yes;res izable:no;dialo gHeight:250px') "
dgDiagBooklets. Items(intCounte r).Cells(11).At tributes.Add("o nclick",
strScript)
This code will work when compiled and ran on my local pc, but it will
not work when I copy to our server.
Any suggestions as to why, or how I could do this differently? 1 4702
Hello Lisa,
Try putting <base target="_self"/> in the .aspx for your dialog.
--
Matt Berther http://www.mattberther.com I have an aspx page that has a checkboxlist control on it. There is code in the selection changed event so that when you check the first checkbox (Select All) it checks the reset of the checkboxes on the page.
This page is opened by clicking on a link within a datagrid as a modal dialog using the following code :
strScript = "window.showMod alDialog('Dialo g.aspx?Var1=" + strVar1+ "&Var2=" + strVar2 + "&var3=" + strvar3 + "&var4=" + strvar4 + "&date=" + strDate + "&var5=r" + "&var6e=6', null, 'center:yes;res izable:no;dialo gHeight:250px') "
dgDiagBooklets. Items(intCounte r).Cells(11).At tributes.Add("o nclick", strScript)
This code will work when compiled and ran on my local pc, but it will not work when I copy to our server.
Any suggestions as to why, or how I could do this differently? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Nonoy of Philippines |
last post by:
Hello, guys... I'm just starting to develop web applications and I have this
problem regarding Session objects
At some parts of my application, I open modal dialog window which also opens
another window to display a report. To do this, I use the values of Sessions
I initialize at the windows that called the modal dialog box. However, I
noticed that the values of my Sessions were gone when I opened the modal
dialog window ONLY when...
|
by: Nonoy of Philippines |
last post by:
I'm not sure if my 1st posting was actually posted. So, sorry if I
duplicated it.
For some reason, when there are previously opened IE windows before I opened
the IE window that displays our web applications, and then I called a modal
dialog box, the values of my sessions are gone if I'm going to use them.
But, if I close all those previously opened windows and opened the modal
dialog box, the values of sessions are there. Can you tell...
|
by: Stevie_mac |
last post by:
It might be me but...
I dont seem to get a Page_Load event when a opening an ASPX in an iFrame. I
do geta Page_Load event when an item on the ASPX (inside the iFrame) is
clicked but then IsPostBack=False by now!. The ASPX is opened via client
side script (into an iFrame) inside a .HTM file (as ASPX postback causes
problems in a modal internet explorer dialog if not in an iFrame!)
Anyone know how to get around this - i need to...
|
by: DavidS |
last post by:
Have parent.aspx from which I open Driver.aspx form via button on parent.aspx. When I first open the modal dialog, the driver.aspx Page_Load function is called. After I close the dialog, then reopen the form again by clicking the button control from the parent - the Page_Load function is not called.
parent.aspx <script block>
function UpdD(title)
{
var iParms=new Object();
iParms.DlgTitle=title+"Driver Profile";
iParms.DlgW="320px";...
|
by: A Traveler |
last post by:
Hello all,
Here is my situation... i have a page which has a dropdown of companies.
Next to it i have a "New" button for creating a new company. What i would
like to do is to show a modal dialog with the company entry screen, then
once it is dismissed, let the button continue with its postback and rebind
the companies dropdown to include the new company.
What i tried was to put in a javascript function in my html
> function...
| |
by: Jawahar |
last post by:
All,
I have an application in asp.net
the application opens a lot of Modal diaglog pages. When modal dialogs are
close the parent aspx page is often un-responsive.
I mean I can click the buttons but nothing happens
is ther a way I can do some tracing to see what is happening?
Thanks
Jawahar
|
by: Guadala Harry |
last post by:
I have an aspx page that opens as a modal dialog. The aspx contains two
IFrames (ID = thumbFrame and mainFrame). From the code-behind of the page
that loads in mainFrame I want to cause the page that appears in thumbFrame
to reload.
I have the following code that works fine with a normal frameset (no
IFrames) that is NOT opened as a modal dialog. It fails with IFrames. What
needs to change now that I have replaced the frameset with...
|
by: Demetri |
last post by:
Hi,
Does anyone have a clue how to create a page during runtime?
I am developing a web control library. The control I am developing within it
presently will need to present the user with a modal dialog page. However,
the page will not exist until the users interaction calls for it.
So in this case I can not create an aspx page with its code behind at design
time.
|
by: adam |
last post by:
I'm writing an Intranet application that uses Modal Dialog boxes and
have embedded a page within an iframe on another page that is opened
modally, so that the postbacks work as normal. When running the page
locally, it works perfectly, executing the code when clicking on a
button and then redirecting to itself to refresh the page display.
However, for some reason, when I run this on our production server,
although the code is still...
|
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: 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: 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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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: 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 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...
| |