I want to fetch a grid template column value in the textbox?
for Sample :
GridDarkhast.MasterTableView.Items[e.Item.ItemIndex][“TemplateColumn”].Text;
I want to fetch a grid template column value in the textbox? for Sample
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Depends on the control within your ItemTemplate. Example:
In fact, you can ignore the column and use FindControl on the row itself because the first naming container is the row (GridItem). So your code may look like this:
There are another ways, but judging by your code this would be the best one for you.
Good luck,
Daniel