Access form from a user control

  • Thread starter Thread starter Christian Ista
  • Start date Start date
C

Christian Ista

Hello,

I have a usercontrol on page, this one is place on a panel.

On the page there is some others panel and controls on it.

I'd like from the user control use a another control on the form.

For example, I have a panel, with a Label to display the error message
generated by the user control. Could you tell me how to do that ?


Thanks,
 
You should be able to find a control using Page.Findcontrol method, which
returns a control type. you should type cast before you use it as whatever
control you were looking for
 
Back
Top