Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

ASPxNavBar - How to access controls contained within an ItemTemplate on the client side

$
0
0

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


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>