I have a label and a textbox in a panel on my form. In the form load event I can set the visiblity property to false, but on postback I want to set the visibility to true but I get the error
Unable to find control with id 'TextBox2' that is associated with the Label 'LabelTextBox2'
even when I display the textbox first and then the label. It seems to do this when my end label tag is after my end textbox tag but I want to format it this way to make the styling of the page easier. Anybody got any ideas how I can do this?
Unable to find control with id 'TextBox2' that is associated with the Label 'LabelTextBox2'
even when I display the textbox first and then the label. It seems to do this when my end label tag is after my end textbox tag but I want to format it this way to make the styling of the page easier. Anybody got any ideas how I can do this?