Check the name of the control in the rendered html. For eg.
I need to find gridview “grdwSelectedCandidates” in usercontrol “SelectedCandidates.ascx” which is inside the ajax tabpanel inside ajax tabcontainer.
I need to find this from another control which is placed in another tabpanel in the same container.
The rendered name is “ctl00_ContentPlaceHolder1_TabContainer1_TabPanel6_SelectedCandidates1_grdwSelectedCandidates”
So, I have to first find content place holder, then, tabcontainer, then, tabpanel, then, control and then gridview.
Archive for the ‘finding control’ Category
Finding Controls
03
Feb