Posted 28 Jun 2011 Link to this post
Posted 29 Jun 2011 Link to this post
<script type=
"text/javascript"
>
function
pageLoad()
{
var
treeview = $find(
"<%= RadTreeView1.ClientID %>"
);
i;
for
(i = 0; i < treeview.get_allNodes().length; i++)
currentNode = treeview.get_allNodes()[i];
checkBoxElement = currentNode.get_checkBoxElement();
//accessing the checkbox
checkBoxElement.setAttribute(
"NewAttribute"
,
" AttributeValue"
//adding custom attribute.
alert(checkBoxElement.getAttribute(
));
}
</script>
allNodes = treeview.get_allNodes();
(
i = 0; i < allNodes.length; i++)
currentNode = allNodes[i];
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Posted 30 Jun 2011 Link to this post