Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

right click not working in IE on modal dialog page

Posted on 2011-09-03
4
Medium Priority
?
2,008 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 2000 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

Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

Question has a verified solution.

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

In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
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…

715 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