Welcome Guest Search | Active Topics | Sign In | Register

TreeView setting new node value on client side does not persist through postBack Options
ZeljkoA
Posted: Wednesday, October 7, 2009 7:08:25 AM
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.
eo_support
Posted: Wednesday, October 7, 2009 9:00:42 AM
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!


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.