Archive for the 'ASP.NET' Category

CSS Control Adapter Toolkit

Thursday, September 28th, 2006

A while ago Microsoft released the CSS Control Adapter Toolkit for ASP.NET 2.0. It finally makes it possible to use all the time saving ASP.NET controls in 2.0 without all the horrible HTML they used to produce. The toolkit gives access to the now improved source of the following adapter controls:

  • Menu
  • TreeView
  • GridView
  • DetailsView
  • FormsView
  • DataList
  • Login
  • ChangePassword
  • CreateUser
  • PasswordRecovery
  • LoginStatus

Make sure to have the latest update. The update fixed a few things in the old controls and added a couple more.

One can almost think of the this toolkit as a patch for ASP.NET and when creating a public website this really is a must!

VS 2005 project on the old IIS

Wednesday, September 13th, 2006

As most people know the web project that are created and tested in VS 2005 run on an internal web server (called Cassini).

In some situations this is useful as it enables one to quickly get the project up and running and start testing. But as the sites usually are going to run on an IIS in production I usually like to test it and develop it on one as well (for other reasons, check this out).

Here’s a good article on how to change the setting that makes VS behave as it it used to (put it on an URL and create a virtual directory for it).

The only drawback I can think of is that it becomes a bit more complicated when it comes to deleting a project …

Viewstate

Monday, September 11th, 2006

Before writing a new user or custom control read this article about Viewstate!