How can I access a checkbox control on a content page if I know the checkbox’s ID?
I have tried the code below, but using Me.Controls does not seam to generate a controls collection beyond the MasterPage… or I am way off target and have not figured it out yet.
Thanks for your help in advance.
Code:Dim ctr As Control Dim s as String For Each s In Str_ArrayList ‘these are the checkbox IDs For Each ctr In Me.Controls If ctr.ID = s Then CType(ctr, CheckBox).Checked = True End If Next Next




Reply With Quote