This is a migrated thread and some comments may be shown as answers.

Client Disable TreeView on Load, then Enable when Page Finishes Loading

1 Answer 70 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Fred
Top achievements
Rank 1
Fred asked on 15 Jan 2009, 05:39 PM
I have this Rad TreeView that when you click on a Node it loads the Rad Editor with content.
Editor is hidden on first load of the page and doesn't get shown via RadProxyManager until you click a node.

Problem I'm having is, it seems if a user clicks on the node before the page is finished loading in the browser, it loads up the RadEditor and it doesn't load properly. I get a bullet list of the menu options, and it's all screwed up.

So I'm trying to disable the TreeView when the page loads and then enable it when the page is finished loading.

I tried to disable the treeview on ClientLoad, that's ok, but I can't enable it again on RadEditor Client Load, because the Editor doesn't get loaded until they click on the Treeview, so I'm stuck there.

I tried to manually disable the Div tag that makes up the TreeView on the page and then body onload enable it again, but that doesn't seem to work either.  It either disables or enables, doesn't do both it seems.

Any one have any suggestions?

Or even disable the whole page until it's done.

1 Answer, 1 is accepted

Sort by
0
Fred
Top achievements
Rank 1
answered on 15 Jan 2009, 07:02 PM
Resolved my issue.  lol after spending all morning working on different types of javascript and moving things around...

solved the issue by using the  VisibleDuringInit="false"  on the RadSplitter control which surrounds my TreeView and Editor. 
Tags
TreeView
Asked by
Fred
Top achievements
Rank 1
Answers by
Fred
Top achievements
Rank 1
Share this question
or