Live Support, Chat, Upload Control and Rich Text Editor
Welcome to Support forums Sign in | Join | Help |Client Center
in Search

Javascript error when loading control

Last post 07-17-2007, 4:38 AM by Adam. 4 replies.
Sort Posts: Previous Next
  •  07-12-2007, 2:37 PM 31506

    Javascript error when loading control

    I'm having trouble with the CuteEditor in IE6. When the page loads I receive a JavaScript error of 'Permission denied'. I debugged the script and found that the source of this problem is the xml request indicated below. This only happens on an initial test implementation into one of our products. I can't seem to recreate the problem outside this solution. Any ideas/feedback would be welcome so that I can track down this problem. This error doesn't occur in Firefox. This problem is the only thing setting us back in purchasing the software.



    "/Itracks.Products.BBFG/Web/CuteSoft_Client/CuteEditor/Load.ashx?type=scripts&file=IE_Implementation&modified=//2007-07-09 19:54:18

    var OxO2279=[\"\x0D\x0A\",\"document\",\"length\",\"element \x27\",\"\x27 not found\",\"removeNode\",\"parentNode\",\"firstChild\",\"selection\",\"type\",\"None\",\"Control\",\"text\",\"body\",\"\",\"\x26amp;\",\"\x26lt;\",\"\x26gt;\",\"\x26#39;\",\"\x26quot;\",\"\x3Cbr/\x3E\",\"\x26nbsp;\",\"applyElement\",\"nodeName\",\"INPUT\",\"TEXTAREA\",\"BUTTON\",\"IMG\",\"SELECT\",\"TABLE\",\"position\",\"style\",\"absolute\",\"relative\",\"|H1|H2|H3|H4|H5|H6|P|PRE|LI|TD|DIV|BLOCKQUOTE|DT|DD|TABLE|HR|IMG|\",\"|\",\"all\",\"nodeType\",\"value\",\"textContent\",\"childNodes\",\"nodeValue\",\"*\",\"rowSpan\",\"cellIndex\",\"colSpan\",\"Can\x27t Get The Position ?\",\"Map\",\"RowCount\",\"ColCount\",\"rows\",\"cells\",\"Unknown Error , pos \",\":\",\" already have cell\",\"Unknown Error , Unable to find bestpos\",\"rowIndex\",\"nextSibling\",\"srcElement\",\"target\",\"//TODO: srcElement not found? throw error ?\",\"fromElement\",\"relatedTarget\",\"toElement\",\"keyCode\",\"clientX\",\"clientY\",\"offsetX\",\"offsetY\",\"button\",\"ctrlKey\",\"altKey\",\"shiftKey\",\"mergeAttributes\",\"//TODO:Element_MergeAttributes\",\"SPAN\",\"span\",\"\x3Cspan id=\",\"\x3E\x3C/span\x3E\",\"undefined\",\"Microsoft.XMLHTTP\",\" unknown code \",\"caller\",\"?\",\"contentWindow\",\"contentDocument\",\"parentWindow\",\"id\",\"frames\",\"frameElement\",\"//TODO:frame contentWindow not found?\",\"styleFloat\",\"float\",\"-\",\"cssText\",\"__proxy\",\"__styles\",\";\",\"Unknow style item :\",\"compatMode\",\"CSS1Compat\",\"clientHeight\",\"documentElement\",\"clientWidth\",\"Text\",\"htmlText\",\"onchange\",\"oninitialized\",\"command\",\"commandui\",\"commandvalue\",\"returnValue\",\"oncommand\",\"string\",\"event\",\"_fireEventFunction\",\"#0\",\"#1\",\"#2\",\"#3\",\"#4\",\"#5\",\"#6\",\"#7\",\"#8\",\"#9\",\"#a\",\"\x3C\",\"\x3E\",\"\x26\",\"o\",\"O\",\"s\",\"S\",\"e\",\"E\",\"#\",\"\x0A$\x26\",\"$\x26\x0A\",\"\x0A$\x26\x0A\",\"    \",\"\x0A\",\"P\",\"contains\",\"preventDefault\",\"arguments\",\"//TODO: event not found? throw error ?\",\"cancelBubble\",\"stopPropagation\",\"__cuteeditoronkeydown\",\"FullPage\",\"onmousedown\",\"onmousemove\",\"onmouseover\",\"onmouseout\",\"Unregister\",\"onlosecapture\",\"capturemanager\",\"element\",\"AddElement\",\"DelElement\",\"FireLoseCapture\",\"\x3CDIV style=\x27width:0px;height:0px;left:0px;top:0px;position:absolute\x27\x3E\",\"Register\",\"offsetParent\",\"offsetLeft\",\"offsetTop\",\"scrollLeft\",\"scrollTop\",\"getBoundingClientRect\",\"clientLeft\",\"left\",\"clientTop\",\"top\",\"parentElement\",\"currentStyle\",\"ownerDocument\",\"offsetWidth\",\"offsetHeight\",\"innerText\",\"detachEvent\",\"on\",\"attachEvent\",\"UNSELECTABLE\",\"tabIndex\",\"-1\",\"__framepool\",\"IFRAME\",\"display\",\"none\",\"text/html\",\"replace\",\"\x3CHTML\x3E\x3CTITLE\x3E\x3C/TITLE\x3E\x3CBODY style=\x27\x27\x3E\x3C/BODY\x3E\x3C/HTML\x3E\",\"innerHTML\",\"ok\",\"yes\",\"true\",\"1\",\"controls\",\"bookmark\",\".\",\"html\",\"BODY\",\"PanelStyle\",\"display:none;z-index:88888888;font-family:arial;position:absolute;background-color:white;border:1px solid;overflow:auto;overflow-x:visible;overflow-y:auto;font-size:12px;padding:2px;\",\"Min_Height\",\"Max_Height\",\"Tree_Min_Height\",\"BorderColorOver\",\"DarkBlue\",\"BorderColor\",\"White\",\"CheckRemoved\",\"CloseDiv\",\"dispose\",\"FillListItems\",\"FillTreeItems\",\"GetText\",\"GetValue\",\"HookEvent\",\"panel_onmouseup\",\"SelectedItem\",\"SelectOption\",\"SetOptionTo\",\"SetSelectedIndex\",\"ShowDiv\",\"table_onclick\",\"table_onmouseout\",\"table_onmouseover\",\"UpdateDisplay\",\"WinUnload\",\"vars\",\"resourcedir\",\"istree\",\"cursor\",\"default\",\"_hookedEvents\",\"selindex\",\"arr\",\"selected\",\"overflow\",\"visible\",\"cellPadding\",\"cellSpacing\",\"border\",\"height:20px;border-collapse:collapse;\",\"borderColor\",\"width\",\"80px\",\"font-size: 8pt; background-color:white;padding:1px 0px 0px 2px;\",\"width:8px;color:black;text-align:center;font-family:Webdings;font-size:8px;\",\"6\",\"table\",\"td1\",\"hidden\",\"DIV\",\"panel\",\"readyState\",\"complete\",\"px\",\"height\",\"18px\",\"_checkid\",\"unload\",\"onclick\",\"onmouseup\",\"val\",\"txt\",\"name\",\" \",\"function\",\"__applyFunc\",\"NOBR\",\"div\",\"_initialized\",\"option\",\"RichHideFirstItem\",\"width:1px;\",\"Selectable\",\"False\",\"paddingLeft\",\"8px\",\"RenderItemBorder\",\"cursor:default;padding:3px 5px 5px 4px;border:solid 1px #eeeeee; margin:4px 10px 4px 0px; vertical-align:middle;\",\"this.style.borderColor=\x27highlight\x27;\",\"this.style.borderColor=\x27#eeeeee\x27;\",\"cursor:default;padding:2px;vertical-align:middle;\",\"this.style.backgroundColor=\x27highlight\x27;this.style.color=\x27highlightText\x27\",\"this.style.backgroundColor=\x27\x27;this.style.color=\x27\x27\",\"block\",\"panelsized\",\"scrollWidth\",\"scrollHeight\",\"isopen\",\"disabled\",\"visibility\",\"_menuclass_currentmenu\",\"itemdiv\",\"backgroundColor\",\"style_backgroundColor\",\"style_border\",\"margin\",\"style_margin\",\"#B6BDD2\",\"1px solid #0A246A\",\"0px\",\"ismouseover\",\"opentimerid\",\"isdisposed\",\"initialized\",\"oninitialize\",\"items\",\"owner\",\"frame\",\"menu\",\"mouseDownTime\",\"frameBorder\",\"top:0px;left:0px;visibility:hidden;position:absolute;background-color:white;padding:0px;border:0px;width:90px;height:60px;overflow:visible;\",\"zIndex\",\"onerror\",\"menuleft.gif\",\"border:1px solid #666666;padding:1px;margin:1px;overflow:hidden;background-image:url(\",\");background-repeat:repeat-y;\",\"cursor:default;overflow:visible;\",\"overflow:visible;\",\"\x3Cdiv style=\x27overflow:hidden;border-top:1px solid ThreeDShadow;border-bottom:1px solid ThreeDHighlight;height:2px;\x27\x3E\x3C/div\x3E\",\"\x3Ctable border=0 cellspacing=0 cellpadding=0 style=\x27width:100%;height:20px;font:menu;overflow:visible;\x27\x3E\",\"\x3Ctr\x3E\x3Ctd style=\x27width:18px\x27\x3E\",\"imgurl\",\"\x3Cimg width=20 height=20 align=absmiddle border=0 src=\x27\",\"\x27\",\"state\",\" style=\x27\x27 \",\"enable\",\"/\x3E\",\"\x3Cimg width=20 height=0 border=0 /\x3E\",\"hotkey\",\"\x3C/td\x3E\x3Ctd nowrap nowrap align=\x27left\x27 style=\x27width:\",\"px;padding-left:4px;padding-top:2px;padding-right:4px;\",\"color\",\"color:\",\"\x27\x3E\",\"\x3C/td\x3E\",\"\x3Ctd align=\x27left\x27 width=43 style=\x27font:menu;padding-left:1px;padding-top:3px;\x27 rem-disabled=true nowrap\x3E\",\"\x3C/td\x3E\x3Ctd colspan=2 nowrap align=\x27left\x27 style=\x27width:\",\"\x3Ctd align=\x27right\x27 style=\x27width:20px;padding-top:2px;padding-right:2px;\x27\x3E\x3Cspan style=\x27width:20px;\",\";visibility:hidden;\",\";font-family:webdings;font-size:14px;\x27\x3E 4 \x3C/span\x3E\x3C/td\x3E\",\"\x3C/tr\x3E\x3C/table\x3E\",\"cursor:default;margin:1px;width:100%;overflow:visible;\",\"filter:alpha(opacity=40);\",\"MozOpacity\",\"hand\",\"Close\",\"openitem\",\"editor\",\"Dispose\",\"windowblurCloseTimer\",\"Show\",\"blur\",\"mousedown\",\"HideForClick\",\"AddSpliter\",\"Add\",\"AddMenuItem\",\".gif\",\"message\",\"EditorOnPaste\",\"BreakElement\",\"ResourceDir\",\"_FrameID\",\"_HiddenID\",\"_PostBackHandlerID\",\"_ToolBarID\",\"_CodeViewToolBarID\",\"HelpPath\",\"ReadOnly\",\"BaseHref\",\"MaxHTMLLength\",\"0\",\"MaxTextLength\",\"FocusOnLoad\",\"EncodeHiddenValue\",\"True\",\"EditCompleteDocument\",\"EditorBodyStyle\",\"DOCTYPE\",\"UseFontTags\",\"PrintFullWebPage\",\"URLType\",\"Default\",\"EmptyAlternateText\",\"ForceAdd\",\"ServerName\",\"RemoveTBODYTag\",\"UseSimpleAmpersand\",\"UsePhysicalFormattingTags\",\"RenderRichDropDown\",\"EnableAntiSpamEmailEncoder\",\"ConvertHTMLTagstoLowercase\",\"EnableStripScriptTags\",\"AllowEditServerSideCode\",\"EditorWysiwygModeCss\",\"mailto:\",\"$1$2$3$2 href_cetemp=$2$3$2\",\"$1$2$3$2 src_cetemp=$2$3$2\",\"\x3Ctemp_param$1\x3E\x3C/temp_param\x3E\x3Cparam$1\x3E\",\"\x26#\",\"Elements\",\"RegexArray\",\"A\",\"\x3C!--{cps..\",\"}--\x3E\",\"R\",\"/\",\"ContextMenuMode\",\"/Load.ashx?type=contextmenu\x26mode=\",\"POST\",\"onreadystatechange\",\"status\",\"Failed to load menus!\",\"reason\",\"parseError\",\"responseXML\",\"handler\",\"BR\",\"PRE\",\"LI\",\"OL\",\"UL\",\"LEGEND\",\"\x3Cbr\x3E\",\"character\",\"StartToStart\",\"\x3CDIV\x3E\",\"FormatBlock\",\"EndToEnd\",\"_StateID\",\"%3b\",\"s:\",\"n:\",\"b:\",\"boolean\",\"number\",\"=\",\"EditorSetting\",\"setting=\",\"\x26NoCancel=True\",\"/Dialogs/Tag.aspx?Tag=\",\"TagType\",\"tagType\",\"\x26Tab=\",\"editorconstant\",\"SelectFile.Aspx?type=gif,jpg,jpeg,png,bmp\x26file=\",\"status:0;help:0;resizable:0;dialogWidth:560px;dialogHeight:550px;\",\"SelectImage.Aspx?type=gif,jpg,jpeg,png,bmp\x26file=\",\"\x3Cp\x3E\x26nbsp;\x3C/p\x3E\",\"\x3Cp\x3E\x26#160;\x3C/p\x3E\",\"\x3Cp\x3E\x3C/p\x3E\",\"\x3Cdiv\x3E\x26#160;\x3C/div\x3E\",\"\x3Cdiv\x3E\x26nbsp;\x3C/div\x3E\",\"\x3Cdiv\x3E\x3C/div\x3E\",\"hasChildNodes\",\"\x3CP\x3E\",\"\x0A\x3CT\",\"\x3CTD\x3E\",\"\x0A\x3C/TR\x3E\",\"\x3C/TR\x3E\",\"InsertTable\",\"ExecuteDefault\",\"Command \x27\",\"\x27 Is Not Supported Or Not Implemented \",\"\x27 Error : \",\"dropDown\",\"Name\",\"noneditable\",\"Please select a region\",\"Type text here\",\"layerdefaultstyle\",\"_BoxFormattingStyle\",\"unselectable\",\"off\",\"contentEditable\",\"box\",\"layer\",\"align\",\"vAlign\",\"className\",\"bgColor\",\"TD\",\"tempid\",\"/Dialogs/InsertDocument.aspx?\",\"/Dialogs/InsertGallery.aspx?\",\"Please select an image to create an image map\",\"/Dialogs/Load.ashx?Type=Dialog\x26file=ImageMap.htm\x26\",\"/Dialogs/InsertImage.aspx?\",\"/Dialogs/InsertMedia.aspx?\",\"/Dialogs/InsertFlash.aspx?\",\"ExecCommand_Insert \",\" not implemented\",\"flash\",\"media\",\"image\",\"imagemap\",\"gallery\",\"\x3CINPUT TYPE=\",\"head\",\"/Dialogs/Load.ashx?Type=Dialog\x26file=Page.htm\x26\",\"RemoveFormat\",\"EM\",\"STRONG\",\"U\",\"I\",\"B\",\"FONT\",\"_mtd_p.\",\"+\",\"=_mtd_v\",\"fontname\",\"#ce_temp_font#\",\"font\",\"face\",\"\x3E \",\"\x3C/span\x3E\",\"tagName\",\"attributes\",\"specified\",\"__CE_sandbox\",\"1px\",\"Paste\",\"DisableDoubleClickEvent\",\"cetempAnchor\",\"InsertAnchor\",\"(\x3C[^\x3E]+) class=[^ |^\x3E]*([^\x3E]*\x3E)\",\"ig\",\"$1 $2\",\"\x3C$1$3\",\"FIELDSET\",\"justify\",\"center\",\"justifynone\",\"justifycenter\",\"justifyfull\",\"justifyright\",\"justifyleft\",\"QueryEnable\",\"onresize\",\"7777\",\"_visibility\",\"Edit\",\"Express\",\"Code\",\"View\",\"ActiveTab\",\"view\",\"code\",\"edit\",\"runtimeStyle\",\"IsEventInitialized\",\"_editorSourceStyle\",\"textedit\",\"SCRIPT\",\"onunload\",\"href\",\"radioBox\",\"\x3CINPUT TYPE=radio name=\",\" id=\",\" value=\",\"\x3E\x3CLABEL FOR=\",\"\x3C/LABEL\x3E\",\"\x3Clegend\x3E\",\"Title\",\"\x3C/legend\x3E\",\"...\",\"define\",\"100%\",\"SupportEnable\",\"no\",\"QuerySupportEnable\",\"paste\",\"backcolor\",\"forecolor\",\"bringbackward\",\"bringforward\",\"sizeplus\",\"sizeminus\",\"versplitcell\",\"horsplitcell\",\"mergebottom\",\"mergeright\",\"editcell\",\"editrow\",\"deletecell\",\"insertcell\",\"deletecolumn\",\"deleterow\",\"insertrowbottom\",\"insertbottomrow\",\"insertrow\",\"insertrowtop\",\"inserttoprow\",\"insertcolumnright\",\"insertrightcolumn\",\"insertcolumn\",\"insertcolumnleft\",\"insertleftcolumn\",\"tabledropdown\",\"imagegallerybybrowsing\",\"absoluteposition\",\"chromacolor\",\"pasteashtml\",\"pasteword\",\"pastehtml\",\"pastetext\",\"delete\",\"redo\",\"undo\",\"insert\",\"SupportActive\",\"QueryActive\",\"QuerySupportActive\",\"tabview\",\"tabcode\",\"tabedit\",\"fromfullpage\",\"tofullpage\",\"fullpage\",\"full\",\"toggleborder\",\"position:absolute;z-index:999999;display:none;border:1px solid #c0c0c0;background-color:#eeeeee;\",\"\x3Ctable border=0 cellspacing=0 cellpadding=2 style=\x27border-collapse:collapse;font:normal 9pt MS Sans Serif;\x27\x3E\",\"\x3Ctr\x3E\x3Ctd align=center valign=bottom\x3E\",\"Draw Table\",\"\x3C/td\x3E\x3Ctr\x3E\x3Ctr\x3E\x3Ctd align=center\x3E\",\"\x3Ctable id=ce_thetable border=0 cellspacing=0 cellpadding=0 style=\x27cursor:hand;border:1px solid darkgray;width:100px;height:66px;border-collapse:collapse;\x27\x3E\",\"\x3Ctr\x3E\",\"\x3Ctd rowindex=\",\" cellindex=\",\" style=\x27width:16px;height:16px;background-color:white;border:1px solid darkgray;\x27\x3E\x3C/td\x3E\",\"\x3C/tr\x3E\",\"\x3C/table\x3E\",\"\x3C/td\x3E\x3C/tr\x3E\x3Ctr\x3E\x3Ctd align=center id=ce_tddesc\x3E\",\"? x ? Table\",\"\x3C/td\x3E\x3C/tr\x3E\x3Ctr\x3E\x3Ctd align=center\x3E\",\"\x3Cdiv style=\x27cursor:hand;\x27 class=\x27CuteEditorButton\x27 id=\x27ce_tablewizard\x27 onmouseover=\x27CuteEditor_ButtonOver(this)\x27\x3ETable Wizard\x3C/div\x3E\",\"\x3C/td\x3E\x3C/tr\x3E\x3C/table\x3E\",\"ce_tablewizard\",\"ce_thetable\",\"rowindex\",\"cellindex\",\"ce_tddesc\",\" x \",\" Table\",\"gray\",\"20px\",\"backgroundRepeat\",\"no-repeat\",\"backgroundImage\",\"url(\",\"/Load.ashx?type=image\x26file=anchor.gif)\",\"_TagListContainer\",\"TFOOT\",\"TBODY\",\"THEAD\",\"#808080\",\"font:normal 11px Tahoma;margin-left:2px;margin-right:2px;border-collapse:collapse;cursor:hand;\",\"vertical-align:bottom;padding:2px;\",\"targetElement\",\"orange\",\"blue\",\"highlight\",\"black\",\"Cut\",\"Copy\",\"styleTab\",\"\x26Style=\",\"colorType\",\"colorValue\",\"Load.ashx?type=dialog\x26file=ColorPicker.Aspx\",\"newtarget\",\"inserttable\",\"Style\",\"page\",\"propertyTab\",\"Style\",\"Font\",\"Font\",\"Font Color\",\"ForeColor\",\"HighLight\",\"BackColor\",\"Float\",\"Layout\",\"Left\",\"floatValue\",\"Right\",\"right\",\"None\",\"fontWeight\",\"Bold\",\"Bold\",\"styleName\",\"styleValue\",\"fontStyle\",\"Italic\",\"Italic\",\"textDecoration\",\"overline\",\"underline\",\"line-through\",\"Overline\",\"Overline\",\"Underline\",\"Underline\",\"Strikethrough Text\",\"strike\",\"Line-Through\",\"overline \",\"underline \",\"line-through \",\"Table\",\"instable\",\"thetd\",\"Select\",\"selectall\"

    if(!window.editorconstant)window.editorconstant={};

    // When creating a table using the Wizard, the following default attributes apply.
    editorconstant._CreateEditingTableStyle = \"<table border='0' cellspacing='2' cellpadding='2' width='500'>\";
    // When creating a new div box, the following default attributes apply.
    editorconstant._BoxFormattingStyle = \"border: solid 1px #666666;\";
    // Default editorconstant ornaments for the ColorPicker dialog
    editorconstant._colorpickerDialogFeature = \"dialogWidth:500px;dialogHeight:335px;help:0;status:0;resizable:1\";
    // Default editorconstant ornaments for the Preview dialog
    editorconstant._previewDialogFeature = \"dialogWidth:640px;dialogHeight:480px;help:0;status:0;resizable:1\";
    // Default editorconstant ornaments for the Anchor dialog
    editorconstant._anchorDialogFeature = \"help:0;status:0;resizable:0;dialogWidth:320px;dialogHeight:250px;\";
    // Default editorconstant ornaments for the Link dialog
    editorconstant._linkDialogFeature = \"help:0;status:0;resizable:0;dialogWidth:460px;dialogHeight:214px;\";
    // Default editorconstant ornaments for the Char dialog
    editorconstant._charDialogFeature = \"help:0;status:0;resizable:0;dialogWidth:480px;dialogHeight:385px;\";
    // Default editorconstant ornaments for the find dialog
    editorconstant._findDialogFeature = \"help:0;status:0;resizable:1;dialogWidth:385px;dialogHeight:180px;\";
    // Default editorconstant ornaments for the Emotion dialog
    editorconstant._emotionDialogFeature = \"help:0;status:0;resizable:0;dialogWidth:320px;dialogHeight:365px;\";
    // Default editorconstant ornaments for the Template dialog
    editorconstant._templateDialogFeature = \"status:0;dialogWidth:660px;dialogHeight:470px; scroll: 0; resizable: 0; help:0\";
    // Default editorconstant ornaments for the Create Template dialog
    editorconstant._createtemplateDialogFeature = \"dialogWidth:760px;dialogHeight:385px;help:no;scroll:no;status:no;resizable:0;\";
    // Default editorconstant ornaments for the Document dialog
    editorconstant._documentDialogFeature = \"status:0;dialogWidth:600px;dialogHeight:560px; scroll: 0; resizable: 0; help:0\";
    // Default editorconstant ornaments for the gallery dialog
    editorconstant._galleryDialogFeature = \"status:0;dialogWidth:564px;dialogHeight:630px; scroll: 0; resizable: yes; help:0\";
    // Default editorconstant ornaments for the image dialog
    editorconstant._imageDialogFeature = \"status:0;dialogWidth:620px;dialogHeight:595px; scroll: 0; resizable: 0; help:0\";
    // Default editorconstant ornaments for the image map dialog
    editorconstant._imagemapDialogFeature = \"status:0;dialogWidth:610px;dialogHeight:400px; scroll: 0; resizable: yes; help:0\";
    // Default editorconstant ornaments for the media dialog
    editorconstant._mediaDialogFeature = \"status:0;dialogWidth:580px;dialogHeight:550px; scroll: 0; resizable: 0; help:0\";
    // Default editorconstant ornaments for the flash dialog
    editorconstant._flashDialogFeature = \"status:0;dialogWidth:587px;dialogHeight:595px; scroll: 0; resizable: 0; help:0\";
    // Default editorconstant ornaments for the page properties dialog
    editorconstant._pageDialogFeature = \"status:0;dialogWidth:490px;dialogHeight:520px; scroll: 0; resizable: yes; help:0\";
    // Default editorconstant ornaments for the Tag dialog
    editorconstant._tagDialogFeature = \"help:0;status:0;resizable:0;dialogWidth:453px;dialogHeight:515px;\";
    // Default editorconstant ornaments for the help
    editorconstant._helpDialogFeature = \"status:0;dialogWidth:760px;dialogHeight:450px; scroll: 0; resizable: yes; help:0\";
    // Default editorconstant ornaments for the Rule dialog
    editorconstant._RuleDialogFeature = \"help:0;status:0;resizable:1;dialogWidth:340px;dialogHeight:210px;\";
    // Default style in the source view
    editorconstant._editorSourceStyle = \"background:#ffffff;margin:0;padding:0;color:black\";
    // Default editorconstant ornaments for the color picker dialog
    editorconstant._pastetextDialogFeature = \"width=450,height=400,resizable=0,toolbars=0,menubar=0,status=0\";
    // Default editorconstant ornaments for the universal keyboard dialog
    editorconstant._keyboardDialogFeature = \"help:0;status:0;resizable:0;dialogWidth:415px;dialogHeight:310px;\";
    // All colors in the following color array will be used in the editor color picker
    editorconstant.colorsArray = new Array(\"#000000\",\"#993300\",\"#333300\",\"#003300\",\"#003366\",\"#000080\",\"#333399\",\"#333333\",
                \"#800000\",\"#FF6600\",\"#808000\",\"#008000\",\"#008080\",\"#0000FF\",\"#666699\",\"#808080\",
                \"#FF0000\",\"#FF9900\",\"#99CC00\",\"#339966\",\"#33CCCC\",\"#3366FF\",\"#800080\",\"#999999\",
                \"#FF00FF\",\"#FFCC00\",\"#FFFF00\",\"#00FF00\",\"#00FFFF\",\"#00CCFF\",\"#993366\",\"#C0C0C0\",
                \"#FF99CC\",\"#FFCC99\",\"#FFFF99\",\"#CCFFCC\",\"#CCFFFF\",\"#99CCFF\",\"#CC99FF\",\"#FFFFFF\");
    // Specifies whether MoreColors button in the color picker are visible
    editorconstant.ShowMoreColors = true;
    editorconstant.layerdefaultstyle = \"position:absolute;width:104px; height: 104px\";
    editorconstant.DisableCtrlZ = false;
    //By default, when users double click a control, a tag property dialog will open. Set it to true if you want to disable this feature.
    editorconstant.DisableDoubleClickEvent = false;
    editorconstant.AbsolutePositionValue='absolute'; //'relative';

    //set to window for compatible
    for(var p in editorconstant)window[p]=editorconstant[p];





    //enable-gzip"



  •  07-12-2007, 3:28 PM 31509 in reply to 31506

    Re: Javascript error when loading control

    bitpail,
     
    Do you have problems with the following example?
     
     
    Do you have problems with the examples included in the download package?
     
    Can you download the latest build and try again?
     
    If the problem persists, can you create a sample project and send it to me?
     
     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  07-13-2007, 1:13 PM 31529 in reply to 31509

    Re: Javascript error when loading control

    This problem seems to be happening because I'm using cookieless sessions, I have submitted an email request already with a sample application that fails only in IE6.
  •  07-13-2007, 1:47 PM 31531 in reply to 31509

    ContextMenu on Right-Click on a TreeNode in a TreeView

    Hello,
     
    I am working on a TreeView Project using all the Microsoft Atlas Tools. I am now stuck on the final step that of getting a Right-Click ContextMenu on every TreeNode in the tree. I need to complete my project in a couple of days, hence it is a bit urgent
     
    Can you please help me this?
     
    Default.aspx:
     

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="AJAXRajeev.Default" %>

    <%@ Register Assembly="AJAXRajeev" Namespace="VwdCms" TagPrefix="VwdCms1" %>

    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head id="Head1" runat="server">

    <title>

    Sales Professional Desktop II

    </title>

     

    <script type="text/javascript">

    <!-- #include virtual="VwdCmsSplitterBar.js" -->

     

    function splitterOnResize(width)

    {

    if (typeof width == "string")

    {

    width = new Number(width.replace("px",""));

    }

    }

    </script>

    <script runat="server">

    void OnClick(Object sender, MenuEventArgs e)

    {

    e.Item.Selected = true;

    }

    </script>

    </head>

    <body>

    <form id="form1" method="post" runat="server">

    <div class="Default" style="float:left;">

    &nbsp;

    <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true" EnablePartialRendering="true" AsyncPostBackTimeout="120">

    <Services>

    <asp:ServiceReference Path="WebService.asmx" />

    </Services>

    </asp:ScriptManager>

    <VwdCms1:SplitterBar ID="SplitterBar1" runat="server" LeftResizeTargets="tdTree1;divTree1" MinWidth="275"

    MaxWidth="800" BackgroundColor="lightsteelblue" BackgroundColorLimit="firebrick"

    BackgroundColorHilite="steelblue" BackgroundColorResizing="purple" SaveWidthToElement="txtWidth1"

    OnResize="splitterOnResize" style="background-image:url(vsplitter.gif);background-position:center center;background-repeat:no-repeat;"/>

    <asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="true" UpdateMode="always" Visible="true">

    <ContentTemplate>

    <div style="margin:0px;padding:0px;width:800px;overflow:hidden;">

    <table border="0" cellpadding="0" cellspacing="0" style="width:800px;border:solid 1px #6699CC;">

    <tr style="width:auto;">

    <td id="tdTree1" style="width:560px;" align="left" valign="top">

    <div id="divTree1" style="width:100%;height:100%;overflow:auto;padding:0px;margin:0px;">

    <ajaxToolkit:TabContainer ID="tabs" runat="server" Width="" Height="1580px">

    <ajaxToolkit:TabPanel ID="tabHome" runat="server" HeaderText="Directory">

    <ContentTemplate>

    <asp:TreeView ID="TreeView1" runat="server" BackColor="Transparent" ExpandDepth="2"

    MaxDataBindDepth="2" SkipLinkText="skip nav" Target="~/Default.aspx" ToolTip="navigation"

    Font-Names="Verdana" Font-Size="Smaller" ForeColor="DarkKhaki"

    OnSelectedNodeChanged="TreeView1_SelectedNodeChanged" ImageSet="Inbox"

    CollapseImageUrl="~/TreeLineImages/plus.gif" ExpandImageUrl="~/TreeLineImages/minus.gif"

    LineImagesFolder="~/TreeLineImages" NoExpandImageUrl="~/TreeLineImages/noexpand.gif" NodeWrap="True" BorderColor="Transparent" Width="405px">

    <ParentNodeStyle Font-Bold="False" ImageUrl="~/TreeLineImages/folder.gif"/>

    <HoverNodeStyle Font-Underline="True" />

    <SelectedNodeStyle Font-Underline="True" HorizontalPadding="0px" VerticalPadding="0px" ImageUrl="~/TreeLineImages/folder_open.gif" />

    <RootNodeStyle ImageUrl="~/TreeLineImages/folder.gif" />

    <LeafNodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" HorizontalPadding="5px" NodeSpacing="0px" VerticalPadding="0px" ImageUrl="~/TreeLineImages/folder_open.gif" />

    <NodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" HorizontalPadding="5px" NodeSpacing="0px" VerticalPadding="0px" ImageUrl="~/TreeLineImages/folder_open.gif" />

    </asp:TreeView>

    </ContentTemplate>

    </ajaxToolkit:TabPanel>

    <ajaxToolkit:TabPanel ID="TabPanel1" runat="server" HeaderText="Search">

    <ContentTemplate>

    <div>

    <ajaxToolkit:Accordion ID="Accordion1" runat="server" SelectedIndex="0" HeaderCssClass="accordionHeader" ContentCssClass="accordionContent" FadeTransitions="true" FramesPerSecond="40" TransitionDuration="250" AutoSize="None" Width="425px">

    <Panes>

    <ajaxToolkit:AccordionPane runat="server">

    <Header>

    <a href="" onclick="return false;">

    Section 1

    </a>

    </Header>

    <Content>

    The theme of the 2007 AllianceBernstein

    management conference in New York this

    January was "becoming the most admired

    investment firm in the industry."

    </Content>

    </ajaxToolkit:AccordionPane>

    <ajaxToolkit:AccordionPane runat="server">

    <Header>

    <a href="" onclick="return false;">

    Section 2

    </a>

    </Header>

    <Content>

    <asp:Menu ID="TreeViewMenu" runat="server" Orientation="Horizontal" onmenuitemclick="OnClick">

    <Items>

    <asp:MenuItem Text="Music">

    <asp:MenuItem Text="Classical" />

    </asp:MenuItem>

    <asp:MenuItem Text="Jazz" />

    <asp:MenuItem Text="Movies" Selectable="false">

    <asp:MenuItem Text="Action" />

    <asp:MenuItem Text="Drama" />

    <asp:MenuItem Text="Musical" />

    </asp:MenuItem>

    </Items>

    </asp:Menu>

    </Content>

    </ajaxToolkit:AccordionPane>

    </Panes>

    </ajaxToolkit:Accordion>

    </div>

    </ContentTemplate>

    </ajaxToolkit:TabPanel>

    </ajaxToolkit:TabContainer>

    </div>

    </td>

    <td id="td1" style="width:1000px;" align="left" valign="top">

    <asp:UpdatePanel ID="UpdatePanel2" runat="server" visible="true">

    <ContentTemplate>

    <ajaxToolkit:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" runat="server" TargetControlID="TextBox1" WatermarkText="Click on the Node" />

    <asp:TextBox ID="TextBox1" runat="server" Width="382px" />

    </ContentTemplate>

    </asp:UpdatePanel>

    <asp:UpdateProgress ID="UpdateProgress2" AssociatedUpdatePanelID="UpdatePanel2" runat="server" Visible="true">

    <ProgressTemplate>

    External Documents

    </ProgressTemplate>

    </asp:UpdateProgress>

    &nbsp;&nbsp;&nbsp;

    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="ID"

    AllowPaging="True" BackColor="White" BorderColor="#999999" BorderStyle="None"

    BorderWidth="1px" CellPadding="3" Width="385px" GridLines="Vertical">

    <Columns>

    <asp:BoundField DataField= "Name" HeaderText="Child Nodes" />

    </Columns>

    <EmptyDataTemplate>

    <div style="text-align: center">

    No Data Available.

    </div>

    </EmptyDataTemplate>

    <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />

    <RowStyle BackColor="#EEEEEE" ForeColor="Black" />

    <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />

    <PagerStyle ForeColor="Black" HorizontalAlign="Center" BackColor="#999999" />

    <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />

    <AlternatingRowStyle BackColor="Gainsboro" />

    </asp:GridView>

    <asp:UpdatePanel ID="UpdatePanel3" runat="server" Visible="true">

    <ContentTemplate>

    &nbsp;

    </ContentTemplate>

    </asp:UpdatePanel>

    <asp:UpdateProgress ID="UpdateProgress3" runat="server" AssociatedUpdatePanelID="UpdatePanel3" Visible="true">

    <ProgressTemplate>

    External Documents

    </ProgressTemplate>

    </asp:UpdateProgress>

    </td>

    <td id="tdMid1" style="width:6px;" />

    <td id="tdEdit1" align="left" valign="top" style="" />

    </tr>

    </table>

    <span style="font-family:Verdana;font-size:10pt;" />

    </div>

    </ContentTemplate>

    </asp:UpdatePanel>

    <asp:UpdateProgress ID="UpdateProgress1" AssociatedUpdatePanelID="UpdatePanel1" runat="server" Visible="true">

    <ProgressTemplate>

    External Documents

    </ProgressTemplate>

    </asp:UpdateProgress>

    </div>

    <br />

     

    </form>

    </body>

    </html>
     
    Thanks in advance.
     
    Karamchand
  •  07-17-2007, 4:38 AM 31607 in reply to 31529

    Re: Javascript error when loading control

    bitpail:
    This problem seems to be happening because I'm using cookieless sessions, I have submitted an email request already with a sample application that fails only in IE6.
     
    bitpail,
     
    This issue is fixed.
     
    Please download it from:
     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML
Powered by ASP.Net
Copyright 2003 - 2017 CuteSoft Components Inc.. All rights reserved.