Welcome to the Xceed Community Sign in | Join | Help
Community Search  

Access the controls in Datatemplate of XceedDataGridControl

  •  08-30-2008, 9:49 AM

    Access the controls in Datatemplate of XceedDataGridControl

    Hi,

    I have a datagrid control in that  i have added one more column to the grid .

    <xcdg:DataGridControl Grid.Row="2" Loaded="XcDataGrid_Loaded" Name="XcDataGrid" HorizontalAlignment="Left">

    <xcdg:DataGridControl.Columns>

    <xcdg:Column FieldName="pp" Title="pp">

    <xcdg:Column.CellContentTemplate>

    <DataTemplate>

    <TextBox x:Name="mytext" ></TextBox>

    </DataTemplate>

    </xcdg:Column.CellContentTemplate>

    </xcdg:Column>

    </xcdg:DataGridControl.Columns>

    </xcdg:DataGridControl>

    How Can i access the textbox in  the datatemplate  from Code behind ????

View Complete Thread
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.