Is there a way to access the Viewstate from Javascript and update it?
I'm working on trying to change the color of some controls (Textbox, DropDownList, DataGrid child controls) when the data in them is changed. I have the Javascript "onchange" method working to set the color on the client-side but when I postback the page it does not retain the color changes.
I'm trying to figure out a way that I can achieve a color change that will last through Postbacks and changing the viewstate was my latest idea.
Any suggestions welcome!
Thanks!
I'm working on trying to change the color of some controls (Textbox, DropDownList, DataGrid child controls) when the data in them is changed. I have the Javascript "onchange" method working to set the color on the client-side but when I postback the page it does not retain the color changes.
I'm trying to figure out a way that I can achieve a color change that will last through Postbacks and changing the viewstate was my latest idea.
Any suggestions welcome!
Thanks!