Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

user controls

Status
Not open for further replies.

garths2

Programmer
Jan 15, 2002
57
US
I have a question about user controls in VB.NET. I have created two user controls. One, called gridRow, that contains 9 text boxes and exposes properties to set their values. The other, called rmaGrid, contains an array of the above usercontrol gridRow and exposes properties to set the value of the gridRow textboxes.

When I put the usercontrol rmaGrid in an application and I try to set the value of one of the text boxes nothing happens. I trace through the code and the text box field shows as blank after I try to set the value. I can however retrieve the value, even though the text box shows its value as blank.

If I copy the code from rmaGrid and put it in an application everything works fine.

I am totaly confused. Could someone please help.

Thanks,
Garth
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top