Asp.Net tree view in SharePoint webpart- Input string error
Posted
by Faiz
on Stack Overflow
See other posts from Stack Overflow
or by Faiz
Published on 2010-01-20T12:41:03Z
Indexed on
2010/04/19
5:03 UTC
Read the original article
Hit count: 346
Hi All,
I am facing a very strange issue. I have a SharePoint webpart that displays an asp.net tree view. It takes tree depth from a drop down. To improve performance of the tree view, i am setting the PopulateOnDemand property to true for the last level of the tree depth.
For example, if i have a total of 10 levels in the data and the user selects tree depth as 3, then the third level data i set PopulateOnDemand to true.
Now comes the strange part. When i click on the + image on the third level, and if there are children under that particular node then call back happens and node gets expanded. But if there no children for that particular node, then click + throws "Input string was not in the correct format" error.
I have made sure that there is no server side error. Some things looks to be fishy when internet explorer is trying to bind construct the expanded node.
Please let me know if any one faced similar issue or the resolution for the same?
Thanks in advance
© Stack Overflow or respective owner