help.net

<font size="2"><br />Musing on .Net</font>

  • Smartscroller control for Datagrid

    Another thing I suggest to do with your Datagrid is to keep the scrolling position after every postback.
    A lot of solutions exist but I found this one very 'clean'.

  • dScribe CMS project: the Status class

    In a good CMS you need to have a good idea about the life of your content through the different steps.

    This is done with a Status attached to the piece of content. So to do so in dScribe, I wrote this class, and I can easily manage from any part of my code the Status properties.

    I am also thinking about Enums for a next version but this one (in VB) works well:

  • Datagrid scrolling

    Update:

    Forget the alternate colors issue in my previous post, it was easy to fix, just change the alternate style in the datagrid by using a color instead of a stylesheet:


    For the Javascript code it should be ok, the only thing is to attach the code to a client side event.

  • Debugger lost his process

    It's happen a couple of times recently. The debugger refused to start, unable to find the process attached to my web project, obviously aspnet_wp.exe.

    Just as an advice for beginners, if you are sure that the Debugging mode was working fro you before, rather than trying to change every settings, just quit your project and ... restart your PC ;-)

    It's often the simplest thing to do, and of course if it's happen again use the Help button on the Error box next time to investigate further your issue.

    I still searching the origin of this (bad) behavior. Not sure about the source, maybe the aspnet process.

  • Cross Browser DHTML libraries

    When you write websites, you are always looking at the same problems, like having your site working with different browsers.
    .Net is good for the job from a server side perspective only.

    I used different libraries for my client side scripts, and recently I found the solutions offered by
    Cross Browser very powerful and up to date.