Large Volume with Tree Grid in IE

When we are trying to display a treegrid with large dataset loaded from a web service, we are seeing the following message on a dialog box..
“A script on this page is causing Internet Explorer to run slowly. If
it continues to run, your computer may become unresponsive”. “Yes”, “No”

If we click on “Yes”, the message box will be closed and page gets frozen. However when we click “No” the page works normally.

Is there any way that we can suppress this message not to show. Based on Microsoft recommendation, we need to set REgistry key to higher number, but it is not a viable solution to modify all the users registry. Any suggestions would be helpful.

Use load on demand instead of loading the large tree in one shot - see the Tree Databinding overview.

If that’s impossible to change the web service you are contacting in order to enable load on demand (for example, you don’t control the web service), there is another approach available but you’ll need access to beta functionality - contact Isomorphic here if you are interested in this other approach.

Tree Grid

Hi,
Thanks for the suggestion. Now we are displaying one level at a time as loadOnDemand. When we get the data, we know whether or not each particular node has children. When we used onDemand load regardless of children the treegrid is displaying folder indicating that there are children for the node. User only know after clicking the node that they may not have children for the node. It will be little confusing to the user. Is thee anyway that w can use “HasChildren” flag to decde whether to show folder or node? Any sample code would be helpful.
Thank you so much in advance.

Search both the docs and the forums for “isFolder”.