<xcdg:DataGridControl Grid.Row="2" Loaded="XcDataGrid_Loaded" Name="XcDataGrid" HorizontalAlignment="Left">
<xcdg:DataGridControl.Columns>
<xcdg:Column FieldName="Txtbox" Title="Txtbox">
<xcdg:Column.CellContentTemplate>
<DataTemplate>
<TextBox x:Name="mytext" ></TextBox>
</DataTemplate>
</xcdg:Column.CellContentTemplate>
</xcdg:Column>
<xcdg:Column FieldName="chkbox" Title="chkbox">
<xcdg:Column.CellContentTemplate>
<DataTemplate>
<CheckBox x:Name="Check1" ></CheckBox>
<CheckBox x:Name="Check2" ></CheckBox>
</DataTemplate>
</xcdg:Column.CellContentTemplate>
</xcdg:Column>
</xcdg:DataGridControl.Columns>
</xcdg:DataGridControl>
Now in any event of TextBox i want to know which CheckBox is checked ... how can i do this .. I tried to get the current row & then FindName("Check2"); but that is returing a null .
I also trid to use Name instead of x:Name to give name to checkBoxes but then also FindName(); is returning null.
Is there any other way to do this or i m doing something wrong ?????