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

RadTreeView disappearing on Postback

1 Answer 47 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Ed Staffin
Top achievements
Rank 1
Ed Staffin asked on 26 Jan 2009, 01:06 PM
Hi,
I have a master page that has a RadSplitter on it with 2 panes ... left and right. On the left pane I have a RadTreeView. On the right pane I have the content.

Most of the time I use a RadAjaxPanel or the RadAjaxManager. However, on the page I am having a problem with, I am using a FileUpload control which means no ajax.

As a result any postback and the tree disappears. If I remove the FileUpload and just have a button on the content page with no RadAjaxPanel the tree still disappears.

Any ideas?
Thanks ... Ed

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 26 Jan 2009, 06:08 PM
Hello Ed Staffin,

Do you add the treeview from codebehind? If yes check whether you are adding it only on initial load of the page. If this is the case you should make sure the treeview is always created (on every load).

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TreeView
Asked by
Ed Staffin
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or