c# - Is it possible to change CssClass via JavaScript? -


on page_load, use cssclass change classes of tablecells in c#. use javascript change classes of corresponding elements. doesn't change value of cssclass tablecells though.

how can new classes in c# after changing them javascript?

client-side changes don't affect controls when posting server because control's state stored on viewstate. possible work-around using hidden field store cssclass value client-side , manually update table cells on server hidden field.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

android - CollapsingToolbarLayout: position the ExpandedText programmatically -

Listeners to visualise results of load test in JMeter -