Friday, October 12, 2007

Setting properties in included controls

How to change properties or information in an included control?
Ok, typical situation, basic quesiton. I had a page which included a control. This control contained a label and drop down. This was included several times on the page. So, what was happening is that the label showed the same thing every time. So, how did I get around this?

I added a public property to the codebehind of the included control. Once this was done, I used the codebehind of the parent page and set the label values.

1 comment:

salu said...

The best internet game collection in this site free lots of games, this is Rocket games, play today
Rocket Games