All Products
Demos
Services
Blogs
Docs & Support
Pricing
Search
Shopping cart
Login
Contact Us
Get A Free Trial
close mobile menu
Telerik Forums
/
UI for ASP.NET AJAX Forum
/
TreeView
/
Some Treeview Checkbox State Can Be Lost After Postback
Cancel
Telerik UI for ASP.NET AJAX
Resources
Buy
Try
Feed for this thread
2 posts, 0 answers
Gary
3 posts
Member since:
Jul 2008
Posted 31 Aug 2009
Link to this post
Hi,
I have a situation where things are a little complex. I'd like to maintain some "unusual" state of the treeview checkbox. For example, I'd like to maintain the following state after postback (I write my own javascript code to set the checkbox of Node1_1_1 to "indeterminate").
--Node1 (checked)
--Node1_1 (checked)
--Node1_1_1 (indeterminate)
--Node1_1_2 (checked)
However, when I select a node to cause a postback, the checkbox of Node1_1_1 becomes "checked".
I know this case is unusual; but in my case, the above state makes sense. Is there a way to maintain this state after postback?
Thanks,
Gary
Atanas Korchev
Admin
8462 posts
Posted 02 Sep 2009
Link to this post
Hello Gary,
Unfortunately this is not possible. RadTreeView supports only the regular cases in which a node is indeterminate state only when some of its child nodes is unchecked.
Regards,
Atanas Korchev
the Telerik team
Instantly find answers to your questions on the new
Telerik Support Portal
.
Watch a
video
on how to optimize your support resource searches and
check out more tips
on the blogs.
Back to Top
Close