Hi, I have what I hope to be a relativly simple question. I have a label on my main page, which needs to be updated based on some information from a user control. The user control has a DDL which gives a querystring the month and year selected from the DDL. I need the label on the main page to update, based on the querystring. Here is a bit of code that I hope will clarify things:
My label is named: CurrMonYearLabel and it exists on the page: Main.aspx
My control has this function to update the page label (which isn't working because my UserControl.ascx page does not know about the CurrMonYearLabel). I do not want the label to be in the user control. This control is on the page: UserControl.ascx
protected void UpdatePageLabels()
< ...
Go to the complete details ...