469,903 Members | 1,511 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,903 developers. It's quick & easy.

User Controls and accessing public properties

Hi,

Is it true that I can only access a user controls public properties if
I dynamically load it?, i.e. I cannot access a user controls public
properties if I simply register the user control on the Web Form and
place it somewhere on the page.

On a related issue, how do I access a variable/method in the user
controls parent page.

Thanks,

Paul
Nov 18 '05 #1
2 1129
please do a search before posting.... you would normally find eariler
posts....

copying some from post i did couple of days back

i was given a nice link when i had a similar issue

have a look at
http://www.dotnetjunkies.com/Article...F720AB013.dcik

--
Regards,

HD

"Paul" <pa********@hotmail.com> wrote in message
news:ca**************************@posting.google.c om...
Hi,

Is it true that I can only access a user controls public properties if
I dynamically load it?, i.e. I cannot access a user controls public
properties if I simply register the user control on the Web Form and
place it somewhere on the page.

On a related issue, how do I access a variable/method in the user
controls parent page.

Thanks,

Paul

Nov 18 '05 #2
Hi HD,

Apologies. Thanks for the link.

"Hermit Dave" <he***********@CAPShotmail.com> wrote in message news:<#6**************@TK2MSFTNGP11.phx.gbl>...
please do a search before posting.... you would normally find eariler
posts....

copying some from post i did couple of days back

i was given a nice link when i had a similar issue

have a look at
http://www.dotnetjunkies.com/Article...F720AB013.dcik

--
Regards,

HD

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Technical Group | last post: by
2 posts views Thread by paul meaney | last post: by
6 posts views Thread by Earl Teigrob | last post: by
4 posts views Thread by Josh Harris | last post: by
6 posts views Thread by arvee | last post: by
reply views Thread by tshad | last post: by
3 posts views Thread by Terry Olsen | last post: by
3 posts views Thread by Fred Chateau | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.