First off are you setting the Visible property back to on at any stage?
Secondly - best way to pass into a user control is to create properties in the user control and then you can refer to them in the code of the main page such as :
Me.UserControl.ProductID = "1234"
Then in the Page_Load event of the user control have some code that picks up the value of the variable behind the property and stuffs it in the text box.
LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks