Solved

right click not working in IE on modal dialog page

Posted on 2011-09-03
4
1,908 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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
email validation 9 47
Validating Date 4 28
Rotate images for Web Page 11 25
How can I use Javascript to insure proper entry of URL? 6 26
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. …
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
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…

735 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