Solved

right click not working in IE on modal dialog page

Posted on 2011-09-03
4
1,878 Views
Last Modified: 2012-06-27


window.showModalDialog(url, "", center:yes; dialogWidth:503px; location:no;dialogHeight:500px; edge:raised; help:no; resizable:no; scroll:no; status:no; statusbar:no; toolbar:no; menubar:no; addressbar:no;");


I opened the modaldialg using above code but when i tried to copy or right click on the page i couldn't do it in IE8.Is there any way for right clicking on the modal dialog page to see the view source?
0
Comment
Question by:chaitu chaitu
  • 2
4 Comments
 
LVL 11

Expert Comment

by:Rajesh Dalmia
ID: 36477695
use window.open method...

window.showModalDialog will only work in IE
0
 
LVL 20

Author Comment

by:chaitu chaitu
ID: 36477705
we have tested from our end and window.showModalDialog  is working in all browsers.

my question is am not able to right click in modaldialog page except in IE.in remaining browsers am able to right click on it.
0
 
LVL 11

Expert Comment

by:Rajesh Dalmia
ID: 36477722
chk below url... may be it will help...

http://answers.microsoft.com/en-us/ie/forum/ie8-windows_other/right-click-not-working-in-ie8/06b82b6c-1ff7-4090-82f7-e46d55145f0e...


sometime the addon might cause the issue...

0
 
LVL 11

Accepted Solution

by:
Kusala Wijayasena earned 500 total points
ID: 36478895
Simply you cannot get right click menu on the Model Window which appears as a result of window.showModalDialog in IE

Check this out:

http://social.msdn.microsoft.com/Forums/en/netfxjscript/thread/3dfce9c2-8f4e-4dbc-a579-2f8d0999a595

-Kusala
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
If condition on Html with Asp 11 27
Writing comments on <p></P> or paragraph 2 19
Load data upon clicking a button 8 34
on window close, not beforeunload 6 17
This article shows how to create and access 2-dimensional arrays in JavaScript.  It includes a tutorial in case you are just trying to "get your head wrapped around" the concept and we'll also look at some useful tips for more advanced programmers. …
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question