I'm in the process of developing several user controls that will be derived from my base class, BaseControl, which is a subclass of UserControl. The BaseControl class contains important features that I will need to utilize, including a string property named ControlValue. My main challenge now is finding a way to access this property from JavaScript. I have come across information regarding RegisterExpandoAttribute(), but I am uncertain about how to implement it effectively given that the property's value may change dynamically. I would prefer not to use hidden fields for this purpose.
Any assistance on this matter would be highly valued and appreciated.