How to change user control label text from a page?

[B]Hello :slight_smile:

i’ve created a user control that contains a label and button.
then i created a web page … i put the User control in this page
how i could change the label text from the page?
i think i have to create a method? how and where i should create it.?
Thanks in advance![/B]

Hi

You would need to create the method on the control itself. Then call that method from the codebehind on your webpage by referencing the control by it’s ID