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

Postback problem

1 Answer 72 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Ben Brooks
Top achievements
Rank 1
Ben Brooks asked on 19 Apr 2010, 09:24 PM
Hi there,

I am dynamically loading the treenodes of RadTreeView from Xml.
I am able to succcessfully load them if its not a postback.
But, my issue is, since I am loading the treeview inside a usercontrol, OnNodeClick it is calling the page_load of Aspx and then comes back to the treeview usercontrol.

Instead, I want to avoid calling aspx page_load on nodeclick inside this usercontrol. Is there any way, I can handle this node_click event inside usercontrol itself?

Note: I am making use of RadAjaxmanager and updatedcontrol for treeview which is not refreshing the page though but still calling aspx page_load.

Thanks

1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 20 Apr 2010, 03:42 PM
Hi Ben,

I believe this is the expected behavior - the full page life-cycle will still be executed on AJAX update. The difference from a full postback is that only part of the page will be sent to the client.

I hope this helps.

Kind regards,
Tsvetomir Tsonev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
TreeView
Asked by
Ben Brooks
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or