Below is the javascript code i am using
function confirmDelete()
{
var returnValue = window.confirm( "Deleting the current
page. Continue?");
return returnValue;
// var returnValue = $find('mdlPopUp Ext').show();
// return returnValue;
}
I like to do the same thing using modal popup. I like to return true
or false according to the button clicked in the panel for modal popup.
Thanks,
Arnab 4 3759
On Mar 24, 8:06*am, Arnab das <arna...@gmail. comwrote:
Below is the javascript *code i am using
*function confirmDelete()
* * * * {
* * * * * * var returnValue = window.confirm( "Deleting the current
page. Continue?");
* * * * * * return returnValue;
// * * * * * *var returnValue = $find('mdlPopUp Ext').show();
// * * * * * *return returnValue;
* * * * }
I like to do the same thing using modal popup. I like to return true
or false according to the button clicked in the panel for modal popup.
Thanks,
Arnab
I think OnClientClick may help here.
<ajaxControlToo lkit:ModalPopup Extender....
...
<asp:Panel...
<asp:Button ID="Cancel" OnClientClick=" return false;"
On Mar 24, 2:34*pm, Alexey Smirnov <alexey.smir... @gmail.comwrote :
On Mar 24, 8:06*am, Arnab das <arna...@gmail. comwrote:
Below is the javascript *code i am using
*function confirmDelete()
* * * * {
* * * * * * var returnValue = window.confirm( "Deleting thecurrent
page. Continue?");
* * * * * * return returnValue;
// * * * * * *var returnValue = $find('mdlPopUp Ext').show();
// * * * * * *return returnValue;
* * * * }
I like to do the same thing using modal popup. I like to return true
or false according to the button clicked in the panel for modal popup.
Thanks,
Arnab
I think OnClientClick may help here.
<ajaxControlToo lkit:ModalPopup Extender....
...
<asp:Panel...
<asp:Button ID="Cancel" OnClientClick=" return false;"- Hide quoted text -
- Show quoted text -
I need to return false or true. I am using OnClientClick to call this
javascript function from a linkbutton which is inside a listview. But
modal pop does no return a value.
On Mar 24, 10:44*am, Arnab das <arna...@gmail. comwrote:
On Mar 24, 2:34*pm, Alexey Smirnov <alexey.smir... @gmail.comwrote :
On Mar 24, 8:06*am, Arnab das <arna...@gmail. comwrote:
Below is the javascript *code i am using
*function confirmDelete()
* * * * {
* * * * * * var returnValue = window.confirm( "Deleting the current
page. Continue?");
* * * * * * return returnValue;
// * * * * * *var returnValue = $find('mdlPopUp Ext').show();
// * * * * * *return returnValue;
* * * * }
I like to do the same thing using modal popup. I like to return true
or false according to the button clicked in the panel for modal popup.
Thanks,
Arnab
I think OnClientClick may help here.
<ajaxControlToo lkit:ModalPopup Extender....
...
<asp:Panel...
<asp:Button ID="Cancel" OnClientClick=" return false;"- Hide quoted text -
- Show quoted text -
I need to return false or true. I am using OnClientClick to call this
javascript function from a linkbutton which is inside a listview. But
modal pop does no return a value.- Hide quoted text -
- Show quoted text -
Something like this? http://mattberseth.com/blog/2007/10/...rm_dialog.html
On Mar 24, 2:59*pm, Alexey Smirnov <alexey.smir... @gmail.comwrote :
On Mar 24, 10:44*am, Arnab das <arna...@gmail. comwrote:
On Mar 24, 2:34*pm, Alexey Smirnov <alexey.smir... @gmail.comwrote :
On Mar 24, 8:06*am, Arnab das <arna...@gmail. comwrote:
Below is the javascript *code i am using
*function confirmDelete()
* * * * {
* * * * * * var returnValue = window.confirm( "Deletingth e current
page. Continue?");
* * * * * * return returnValue;
// * * * * * *var returnValue = $find('mdlPopUp Ext').show();
// * * * * * *return returnValue;
* * * * }
I like to do the same thing using modal popup. I like to return true
or false according to the button clicked in the panel for modal popup.
Thanks,
Arnab
I think OnClientClick may help here.
<ajaxControlToo lkit:ModalPopup Extender....
...
<asp:Panel...
<asp:Button ID="Cancel" OnClientClick=" return false;"- Hide quotedtext -
- Show quoted text -
I need to return false or true. I am using OnClientClick to call this
javascript function from a linkbutton which is inside a listview. But
modal pop does no return a value.- Hide quoted text -
- Show quoted text -
Something like this?http://mattberseth.com/blog/2007/10/...m_dialog.html- Hide quoted text -
- Show quoted text -
Yes something like this.
Actualy I have resolved the issue by using confirm button extender
with a modal popup.
But I am now running into a different issue. i can not set the
behaviour id for modal popup.When I am giving the behaviour id a
javascript error occurs saying 'two behavioud id is there' ,while if i
donot use the behavoir id still a javascript error occurs saying 'null
in null or not an object' This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Patrick Lim |
last post by:
Here is the problem:
I have written a non-modal frame class in Java for displaying help
text when a user is using an application. It works as desired in that
if the user selects "help" again, the same frame is used -- this is
done using a singleton. The user can do other stuff in the main
window while the help window is up.
However, when I have a modal dialog pop-up to get information from the
user, it blocks events to the help...
|
by: DoubleM |
last post by:
Hi,
I'm running Python2.3.3c1 on Mandrake 9.1
The following code is designed to bring up a window with a button labeled
"popup". Clicking on the popup buttons triggers a secondary window with a
button labeled "ok". The second window is supposed to be modal - it should
not be possible to reset the focus back to the first window or close the
first window without first closing the second. The program works just fine
in Windows XP...
|
by: Lee |
last post by:
I am using a modal window and an iFrame to try and pull a return value
back. I am doing this across domains.
I have the value returned from the modal window to the iFrame window
but I can not get the value returned to the parent window. The alert
in the parent window always returns undefined errors. Any help would
be much appreciated.
I call the modal window and wait for the return as such:
function LCC()
|
by: amith |
last post by:
Hi,
I have a javascript, calendar.js which i use to enable my client to
select the date. This calendar pops up on the click of a gif image.
But the problem is that this poped up window is not modal in nature(i
do not want the user to go the parent page unless he selects some date
in the calendar popup).
In the javascript calendar.js he has used window.open() function to
pop up the window. i just want to know whether we have any...
|
by: gopal srinivasan |
last post by:
I need to know how to close a parent modal window when child modal
window opens, also i need to know the syntax for writing document on
the modal window on the fly, like what we do in case of normal window.
Actually, I tried to close the parent window from the child modal
window using
parent.close syntax in onload event in child modal window. It actually
closes the parent modal window, but the child modal window is not
opened, why it is...
| |
by: VK |
last post by:
Yet about the code posted at
<http://groups.google.com/group/comp.lang.javascript/browse_frm/thread/bf33c7bbb9f699f9/0336cb59fb5920c5>
I just noticed another thing I did not notice last year (besides my
interface bug :-)
I looks like in Firefox window.confirm does not put setTimeout
"threads" on sleep. Script keeps executing as never nothing. I presume
(did not test yet) that window.alert / window.prompt do the same.
|
by: sthrudel |
last post by:
Hi!
I'm working on a web application in Asp.net and what I would like to
have is a cross borwser modal dialog which accepts user's input.
I would like to catch what the user clicked on the dialog. To be more
specific I want to have a confirmation dialog that is shown when a user
clicks on a Delete button (which deletes some values from database). If
Yes is pressed the delete action is processed otherwise modal dialog is
closed.
|
by: John Kotuby |
last post by:
Hi all...
I am bulding an application and wish to use custom Modal dialog windows.
According to a couple of recent articles I have seen, the newer Mozilla
browsers (actually I think they said Netscape) supported syntax like :
window.open(URL ,"diagwin","modal=1, width=30");
For IE I use :
window.showModalDialog
|
by: VK |
last post by:
In the continuation of the discussion at "Making Site Opaque -- This
Strategy Feasible?" and my comment at
http://groups.google.com/group/comp.lang.javascript/msg/b515a4408680e8e2
I have realized that despite suggestions to use DHTML-based modal
dialogs are very common? there is not a single fully functional
reliable copyright-free cross-browser alternative to say MsgBox
(VBScript) or showModalDialog (IE). This way such suggestions up to...
|
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: 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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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: 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: 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: 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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |