Advertisement

02.05.2008 at 05:49AM PST, ID: 23137924
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.8

Uncaught Exception in FireFox (Permission Denied)

Asked by wilsonrx in Microsoft Visual C#.Net, Programming for ASP.NET, .NET Framework 2.x

Tags: , , ,

I have a website written using C# in asp.net 2.0.  One of the pages opens a pop-up which allows the user to select a value; the pop-up then writes a value to a hidden field on the parent page and closes itself.  In FireFox I get the following error :

uncaught exception: Permission denied to get property HTMLDocument.getElementById

Having read about a bit for an answer, the common solution seemed to be to do with cross-site scripting - however, both the parent page and the pop-up are in exactly the same domain.  The protocol is the same (both HTTP) and the sub-domain is the same, (www).

Here is the code I use in the pop-up :

<a href="
JavaScript:window.opener.document.getElementById('ctl00_cphMain_txtImageId').value='50518';window.opener.document.getElementById('cbImgThumb').src='assets/assets/0/20/42/92.jpg';window.opener.document.getElementById('cbImgThumb').style.display='block';window.opener.document.getElementById('cbImgThumb').style.height='150';window.opener.document.getElementById('cbImgThumb').style.width='150';window.close();
 ">Click Me</a>

As you can see it sets a few ID values and makes a DIV visible.

I have also tried this in IE7 and get "Access Denied".  I'm pretty sure this worked in IE6.
Start Free Trial
[+][-]02.05.2008 at 05:55AM PST, ID: 20822807

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.05.2008 at 06:00AM PST, ID: 20822848

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.05.2008 at 06:47AM PST, ID: 20823257

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.05.2008 at 06:58AM PST, ID: 20823357

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.05.2008 at 07:19AM PST, ID: 20823571

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.05.2008 at 07:34AM PST, ID: 20823746

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual C#.Net, Programming for ASP.NET, .NET Framework 2.x
Tags: Microsoft, ASP.net, 2.0, C#
Sign Up Now!
Solution Provided By: wilsonrx
Participating Experts: 1
Solution Grade: A
 
 
[+][-]02.05.2008 at 07:37AM PST, ID: 20823785

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628