|
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
|
|
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!
|
|
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
|
|
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
|
|