Easy way to findcontrol?

H

HockeyFan

I have the following string from one of the controls, inside gridview,
inside a control, inside a repeater item.
rptBorrower_ctl00_ctlAuthorizedSigners_gvAuthorizedSigners_ctl04_

The control was a button, but I stripped off the name of that button
and would like to FindControl a textbox that I know is on the same
line of that grid as the button, so it's prefix will be the same.
Do I have to go FindControl the repeater, and then the custom control,
and then the gridview within that control before I can finally
FindControl the textbox? Is there an easier way to do this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,738
Latest member
JinaMacvit

Latest Threads

Top