Welcome Guest Search | Active Topics | Sign In | Register

Can i use partial update with treeview navigate url?? Options
Alex
Posted: Thursday, November 4, 2010 12:53:37 PM
Rank: Member
Groups: Member

Joined: 9/1/2010
Posts: 20
I have a page with splitter on it.

On the right splitter pane i put treeview that come from database and has navigate url. on the left pane i have user control inside the update panel that receive url query string from treeview navigate url to load its data.

Its navigateurl go to the same page,i just change the url parameter. Can i just refresh the user control but not the whole page...??


Thanks for your response
eo_support
Posted: Thursday, November 4, 2010 1:52:52 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You can set the TreeView's RaisesServerEvent to true and then use a CallbackPanel or UpdatePanel to do partial update. As long as you use NavigateUrl, it's always a full page update.

Thanks!
Alex
Posted: Friday, November 5, 2010 9:28:57 AM
Rank: Member
Groups: Member

Joined: 9/1/2010
Posts: 20
Thanks for your reply,

i know about it. But the problem is i'm using user control that receive information from url part?? Is there anyway i can pass information from tree to user control?

Thanks
eo_support
Posted: Friday, November 5, 2010 9:40:33 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

From the TreeView’s point of view, it can raises a server event (calling your server side event handler), or raises a client event (calling a client side JavaScript function), or open a page (with NavigateUrl). The rest is all yours. Whatever you want to do, it starts from one of these three channels. The TreeView will never interact with your user control directly. You must write the code to do that.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.