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

ASPxGridView - How to manipulate the control inside DataItemTemplate when a row is selected

$
0
0

This example demonstrates how to manipulate the control inside DataItemTemplate when a row is selected.

1) Define the ASPxSpinEdit editor inside a column's DataItemTemplate and bind the editor with a corresponding column value;
2) Handle the ASPxSpinEdit.Init event and set its unique ASPxSpinEdit.ClientInstanceName property based on the row's VisibleIndex;
3) Handle the client-side ASPxClientGridView.SelectionChanged event and manipulate the ASPxClientSpinEdit.SetEnabled property based on the row selection.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



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