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
470
How to change some AppStyleList settings...
posted

Hi,

I am using the Office2007Black style set for the UltraWebGrid. I like the look and feel but want to change the rowStyle.height and the RowAlternatingStyle.Backcolor. I change them in the InitializeLayout event of the grid but when the grid refreshes these 2 settings go back to the Style Set settings. I have been poking around the .css files but can't seem to find the right place to make the change. Can someone point me in the right direction?

Thanks,
Steve

  • 12025
    posted

    Hi Steve, 

    There is another option. Rather than changing row style & height in the initializelayout event, you can do it on page load so that the setting is maintained after page postback. 

    Or, you can use a web developer plug-in for browser you are using (e.g. FireBug for FireFox), check out the css that is being applied to the rows and go to the appropriate css of the WebGrid, and update the settings there. 

    HTH, 

    Taz.