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!
Sorry, i guess i didnt read your question thorougly... I though you just wanted to get the value of the label control. if you also want to set the value, then modify the code-behind of the .ascx page, and add the set method. Just assign the label control's text property to the keyword value.
public string lblControl
Label1.Text = value;