Rank: Newbie Groups: Member
Joined: 2/12/2009 Posts: 2
|
Hi,
I am setting a selectedNode's value on client side and upon postback cannot access this new value on server side.
Client: ctl00_ContentMain_tvDocuments.getSelectedNode().setValue('TEST');
On client all is ok and new value gets set but when page posts back that value does not get through
Server: xNewNode.Attributes["url"].Value = tNode.Value; <= tNode.Value will have old value!!!
I've a license for version 6 of component and tried it with version 7 as well however with same result.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
This is by design. For performance reason, TreeView does not transfer node value back to the server. So you may wish to use some other mechanism, such as a hidden field to pass such value back.
Thanks!
|