Solved

right click not working in IE on modal dialog page

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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…

932 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now