Solved

right click not working in IE on modal dialog page

Posted on 2011-09-03
4
1,858 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

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. …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…

776 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