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
60
Header Css style lost
posted

I am using WebHierarchicalGrid which bounds to a dataset contains Parent and child details rows.My application need to support Hebrew and English. I used DataBound event to set the css styles for the grid header to display the test RTL (Right to left ) or LTR (Left to Right). I set the EnableViewState Property to true. SO all are working fine. 

If the grid binds with a data which has 4 pages for a search and then tried another search to bind the grid which has only one record, i got  RowNotInTable exception.I tried of disabling the ViewState by setting EnableViewState = false. If i do so, then this exception got resolved but the css styles that i have assigned in the Databound event got lost.

Please help me solve the issues and achieve the requirement