Note that there are some explanatory texts on larger screens.

plurals
  1. POJavascript permission denied error when using Atalasoft DotImage
    primarykey
    data
    text
    <p>Have a real puzzler here. I'm using Atalasoft DotImage to allow the user to add some annotations to an image. When I add two annotations of the same type that contain text that have the same name, I get a javascript permission denied error in the Atalasoft's compressed js. The error is accessing the style member of a rule:</p> <p>In the debugger (Visual Studio 2010 .Net 4.0) I can access h._rule but not h._rule.style</p> <p>What in javascript would cause permission denied when accessing a membere of an object?</p> <p>Just wondering if anyone else has encountered this. I see several people using Atalasoft on SO and I even saw a response from someone with Atalasoft. And yes, I'm talking to them, but it never hurts to throw it out to the crowd. This only happens in IE8, not FireFox. Thanks, Brian</p> <p>Updates: Yes, using latest version: 9.0.2.43666</p> <p>By same name (see comment below) I mean, I created default annotations and they are named so they can be added with javascript later. </p> <p>// create a default annotation TextData text = new TextData(); text.Name = "DefaultTextAnnotation"; text.Text = "Default Text Annotation:\n double-click to edit"; //text.Font = new AnnotationFont("Arial", 12f); text.Font = new AnnotationFont(_strAnnotationFontName, _fltAnnotationFontSize); text.Font.Bold = true; text.FontBrush = new AnnotationBrush(Color.Black); text.Fill = new AnnotationBrush(Color.Ivory); text.Outline = new AnnotationPen(new AnnotationBrush(Color.White), 2); WebAnnotationViewer1.Annotations.DefaultAnnotations.Add(text);</p> <p>In javascript: CreateAnnotation('TextData', 'DefaultTextAnnotation');</p> <p>function CreateAnnotation(type, name) { SetAnnotationModified(true); WebAnnotationViewer1.DeselectAll(); var ann = WebAnnotationViewer1.CreateAnnotation(type, name); WebThumbnailViewer1.Update(); }</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload