Hi all,
I have a Grid (master grid) which contains a Detail Grid for each row. In Detail Grid, I have created GridTemplateColumn with HeaderTemplate and ItemTemplate.
HeaderTemplate contains some image buttons which allow user interacting with them.
In NeedDataSource event of DetailGrid, I have fetched data from DB to bind its data. Depending on a property of each item (row), these image buttons are [displayed and set some properties] or not.
How can I access these image buttons for setting (invisible/visible, CommandArgument - from DataItem) for them ?
Thanks a lot for your help,
Phuc PHAM
I have a Grid (master grid) which contains a Detail Grid for each row. In Detail Grid, I have created GridTemplateColumn with HeaderTemplate and ItemTemplate.
HeaderTemplate contains some image buttons which allow user interacting with them.
In NeedDataSource event of DetailGrid, I have fetched data from DB to bind its data. Depending on a property of each item (row), these image buttons are [displayed and set some properties] or not.
How can I access these image buttons for setting (invisible/visible, CommandArgument - from DataItem) for them ?
Thanks a lot for your help,
Phuc PHAM