Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
Hello,
I am binding a datatable to my rad tree view and depending on the node's level, get it to call a javascript function when it is click, along with doing the normal post back call.
Many thanks for help provided.
Richard
Hello again,
Sorry for waisting anyones time, but I have just figured it out, For future referance, or anyone else needing a solution to this:
if (e.Node.Level == 1) e.Node.Attributes.Add("OnClick", "switchTo('account')"); else if (e.Node.Level == 2) e.Node.Attributes.Add("OnClick", "switchTo('contact')");