on 09-29-2008 8:06 PM
Hi,
Im getting a javascript error in this line.
The function is TreeWidget_getHTML
for (var i in sub)
a[j++]=sub<i>.getHTML(o.initialIndent,i==0)
a[j+]='</span>'o.endHTML()
The above function is in the file \aspnet_client\system_web\2_0_50727\crystalreportviewers12\allInOne.js
Please help.
Hi Ashwin,
Please let us know your visual studio version?
Issue is on development machine or deployment?
Regards,
Shweta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I can make the report work in the designer.
Also When I get this JS error, my IDE breaks at the javascript error, and If I move the execution to the next line to avoid the error, I can get it to show the report on the web page. But I cant do that if Im not debugging.
Also,
I have another sample report from Crystal datasets and that comes up fine. I dont know why...
The toolbar icons display is fine.
Object Doesnt support property or methiod at this line.
a[j++]=sub<i>.getHTML(o.initialIndent,i==0)
The Sub<i> has nothing in it except
?sub<i>
{...}
bindAsEventListener: {...}
bind: {...}
The sample report I mentioned earlier the same line of code sub<i> has many more properties and so it works.
This is for the sample report.
?sub<i>
{...}
elemPos: -1
expanded: false
generated: false
iconId: -1
iconSelId: -1
tooltip: null
customTooltip: false
iconAlt: null
isHTML: false
isCheck: false
checked: false
check: {...}
isChecked: {...}
checkCB: null
name: "Abu Dhabi"
par: null
userData: "0"
sub: {...}
treeView: {...}
id: 0
layer: null
plusLyr: null
icnLyr: null
checkElem: null
domElem: null
toggleLyr: null
blackTxt: "treeNormal"
grayTxt: "treeGray"
selectedClass: "treeSelected"
nonselectedClass: "treeNormal"
feedbackDDClass: "treeFeedbackDD"
hlClass: "treeHL"
help: null
getHTML: {...}
init: {...}
add: {...}
select: {...}
unselect: {...}
getNextPrev: {...}
getHiddenParent: {...}
nodeIndent: 0
getTooltip: {...}
getDragTooltip: {...}
change: {...}
deleteAll: {...}
setGrayStyle: {...}
isGrayStyle: {...}
findByData: {...}
findById: {...}
findInName: {...}
isIncomplete: false
querycompleteCB: null
setIncomplete: {...}
finishComplete: {...}
setEditable: {...}
showEditInput: {...}
isLeaf: {...}
isNode: {...}
isSelected: {...}
htmlWritten: false
showCustomTooltipCB: null
hideCustomTooltipCB: null
_children: {...}
groupPath: "0"
isVisible: true
leaf: true
groupName: "Abu Dhabi"
widgetType: "GroupTreeNode"
initOld: {...}
selectOld: {...}
expand: {...}
collapse: {...}
_setVisualStyle: {...}
delayedAddChild: {...}
addChild: {...}
_drilldown: {...}
_getChildren: {...}
_updateProperty: {...}
expandPath: "0"
isStatic: false
So what error are you getting?
Sincerely,
Ted Ueda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.