UserControl Tag Attribute versus PageLoad sequence

L

Luis Ferrao

Hi,

Very simple question. Let's say I define a user control with a property
.SomeProperty and add the control to some page with the following line:


<uc:MyUserControl someproperty="somevalue"></uc:MyUserControl>

If I set the value of .SomeProperty in the PageLoad() of the control's
.ascx method as well to "somevalue2", what is the value of .SomeProperty
going to be at the end of page loading?

Regards,

Luis
 

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,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top