Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1150
Row css class and activation
posted

When I set some custom css class on the row and do postback, then my custom css class will be overwritten with the activation's ActiveRowCssClass. It doesn't add it to the existing classes like it should be, it replaces them. 

When moving through grid on client side (using arrows or mouse), then it's behaving ok - it add/removes ActiveRowCssClass from the row classes by overwriting existing classes. Problem only appears when after (partial)postback such a row is active which has some custom css class, then it will be overwritten by the ActiveRowCssClass.