ASP.NET 2.0, PageMethods.
Good day,
I'm using ASP.NET AJAX PageMethods to dynamically change the text of a Label when a dropdownlist is changed on my page.
I know that the text of Labels are not retained between postbacks when they are changed on client-side, which is my case. I've heard that a solution is to keep the label content in a hidden field, then to set Label text from that field in Page_Load.
However, this solution does not seem really clean to me. Are there any other alternatives or best practices?
Thank you!