Your note got me closer.
First time I saw trace output.
Not sure how to recognize parents.
Mabye the part reproduced below?
I tried QuickWatch with Master.FindControl("...") with tried different
things.
aspnetForm id not work but Table1 did. So I tried :
Master.FindControl("Table1").FindControl("TableRow 9") but that didn't work.
Am I getting close or wondering afar?
Thanks for the help
__Page
ctl00
ctl00$ctl04
ctl00$Head1
ctl00$ctl00
ctl00$ctl01
ctl00$ctl02
ctl00$ctl05
ctl00$ctl03
ctl00$ctl06
ctl00$ctl07
aspnetForm
ctl00$ctl08
ctl00$Table1
ctl00$TableRow0
ctl00$TableCellR0C0S2
ctl00$TableRow1
ctl00$TableRow2
ctl00$TableCellR2C0S2
ctl00$NavigationMenu
ctl00$TableRow3
ctl00$TableCellR3C0
ctl00$TableCellR3C1
ctl00$SiteMapPath1
ctl00$TableRow4
snip...
ctl00$MainMasterDataRightID
ctl00$MainMasterDataRightID$ctl00
ctl00$TableRow8
ctl00$TableCellR8C0
ctl00$TableRow9
ctl00$TableCellR9C0
ctl00$MainMasterLeftDataID
ctl00$MainMasterLeftDataID$ctl00
ctl00$MainMasterLeftDataID$RadioButtonMission
ctl00$MainMasterLeftDataID$ctl01
ctl00$MainMasterLeftDataID$RadioButtonSchedules
ctl00$MainMasterLeftDataID$ctl02
ctl00$MainMasterLeftDataID$MissionScheduleID
ctl00$MainMasterLeftDataID$ctl03
ctl00$TableRow10
"HillBilly" <so******@somewhere.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
To find controls in the content page:
1st we have to ensure we type the Master in the content page...
<%@ MasterType VirtualPath="~/Masters/MasterPage.master" %>
2nd enable trace in the content page and observe all of the parent
containers using the FindControl on each of them...
Master.FindControl("...").FindControl("...").FindC ontrol"MissionScheduleID")
"AAaron123" <aa*******@roadrunner.comwrote in message
news:uZ**************@TK2MSFTNGP02.phx.gbl...
>Me.FindControl("MissionScheduleID"), below returns null.
Do you know what I'm doing wrong?
Thanks
***In my .aspx file I have:
asp:Content ID="Content3" contentplaceholderid="MainMasterLeftDataID"
runat="server">
<div class="MainMasterDataAqua">
..snip...RadioButtons
</div>
<br />
<iframe runat="server" id="MissionScheduleID" frameborder="0"
src="Schedule.htm" width="100%" height="100%" </iframe</asp:Content>
***In the .vb file:
Protected WithEvents frame1 As
System.Web.UI.HtmlControls.HtmlGenericControl
Protected Sub RadioButtonMission_CheckedChanged(ByVal sender As Object,
ByVal e As System.EventArgs) Handles RadioButtonMission.CheckedChanged
frame1 = CType(Me.FindControl("MissionScheduleID"), HtmlControl)