This sample demonstrates how a check box editor, contained within a navbar's ItemTempate, can be accessed on the client side by using the editor's ClientInstanceName property value generated dynamically.
See Also:
How to refer to a client-side control within a UserControl
How to access and manipulate controls, contained within a data bound NavBar's ItemTemplate, on the client side
Question Comments
Added By: Rory Pratt at: 6/24/2014 3:19:46 PM
I am trying something similar ... A ASPxTreeList inside the DetailRow of a gridview.
The script for adding to the cbItems array ...<script type='text/javascript'>cbItems.push(new Array(" + GetGroupIndex(Container) etc will not add to the items in the array...but if i put the JS in the <dataRow> tags it will.
Any ideas to why this is happening?
Thanks Rory