I saw a couple of similar questions here, but what I'm trying to do is a bit different.
I want to have a way to give users some feedback on their actions which can be controlled from both client and server side.
I've build a UserControl with a label (label's text property is exposed) and some JS which hides the label shortly after the Page_Load event. This works fine for server side, but I'm having trouble setting the label's text with JS (from parent page).
The question boils down to these two points:
- Is there a way to set the public property on the child user control with JS?
- Is there a better implementation of user notification in ASP.NET (both client and server side)
EDIT
ended up adding a bugus class to a label to find it in the child user control, not the best solution - but it works for now