>Hello All, I just created my first user control in VS 2005, it consists of a TabControl with two pages, and several textboxes and labels on each page, I built it, and added it to my toolbox, however !, having placed the control on a form, I cant access any of the controls within it ?, is this normal ?, I expected the UC to behave like a VFP container, obviously they don't
You first need to find the control on the page in order to establish a reference to it. I usually do something like:
loControlUserControl = oApp.oPage.FindControl("LXUpload" + loRowUpload("Numero").ToString)
Then, from this object, you can find inside control by using the same in order to establish a reference from within it.