This is a migrated thread and some comments may be shown as answers.

Find textboxes inside a radgridview cell

0 Answers 99 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
ivan
Top achievements
Rank 1
ivan asked on 19 Jan 2012, 08:03 PM
Hi, when i use the FindName always return null.
What i need is to find a textboxt in a cell in a specific row, to make focus in that textbox.

Here is the XAML

<telerik:GridViewDataColumn.CellTemplate>
                                                            <DataTemplate>
                                                                <TextBox Name="txtTotalGrossAmount"  Text="{Binding TOTAL_GROSS_AMT,   Mode=TwoWay}"
                                                            </DataTemplate>
                                                        </telerik:GridViewDataColumn.CellTemplate>


In run time the radGridView has 4 rows, where this textbox is repeated in each row, but if i validate this textbox in the second row that cant not be null value , then i want to make a focus in this textbox in the second row.

Tags
GridView
Asked by
ivan
Top achievements
Rank 1
Share this question
or