Archive for the 'C#' Category

GridView woes.

Today, I was extending the GridView control to support some customization for our ADF framework, when I ran into the following error:

The tableĀ  must contain row sections in order of header, body, then footer.

This error occurred after I had enabled paging. On first hand, it seemed to me that this error was purely bad design, and the results I found on the internet seem to support that thought (e.g. this post).

Continue reading ‘GridView woes.’

Updated ExtProgressbar

The demo and source files added to the ExtProgressbar are updated to the correct version. Steve Medley notified me of the fact that he couldn’t change the orientation of the bar posted with the article. It seemed that the version posted with the article was a (very) old version, so I’ve updated the files to the correct version. Steve, thank you!

Please note, the solution and project files in the archives are for Visual Studio 2008 beta 2.

ExtProgressBar

During the coding and testing of an application for one of my clients, I ran over and over against the wall using the .NET progressbar control. I missed a lot of properties to adjust the progressbar to the design of my application instead of the default Windows look ‘n feel. Properties like a smooth indicator, printing the progress inside the control and more control over the colors of both the background and the progressbar. After searching CodeProject, I’ve found some nice contributions, but none fitted my requirements. That’s why I wrote my own. Continue reading ‘ExtProgressBar’