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

[Solved] How to get the TextBox ( or any control ) in Column details

0 Answers 97 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.
haklberi
Top achievements
Rank 1
haklberi asked on 16 Mar 2011, 11:55 PM
Hi,

How to get the TextBox ( or any control ) in Column details using column names(not using the index) in the Gridview , but in any event outside of the GridView events.

This my code :) (
the model of your example: How To: Find a control in RowDetailsTemplate) ;

TextBox myTextBox = myRadGridView.FindName(
"tbInXaml") as TextBox;

return null object myTextBox.

Thanks,
Haklberi

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