Hi senthil,
I am not sure how exactly your
local:TreeView control is defined and therefore I cannot be sure what is causing you issue but if the
RadTreeView is databound, basically you can bind the
CheckState property of the
RadTreeViewItem using a
StyleBinding, like explained
here.
Since the
ItemContainerStyle property defines a style for the
RadTreeViewItems of a databound
RadTreeView, you need to set this proeprty to a style with target type
RadTreeViewItem. And if you have already defined such a style, for example
RadTreeViewItemStyle, you can set the
ItemContainerStyle to:
ItemContainerStyle={StaticResource RadTreeViewItemStyle} and modify the
RadTreeViewItemStyle to define a binding for the
CheckState property of the items.
I hope this info will help you. Let us know if we can further assist you.
Best wishes,
Tina Stancheva
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it.
Learn more>>