Today I had an awful lot of trouble trying to parse a european datetime string (“16-09-2005”) into a DateTime instance. I used the following code and got a FormatException when running this on the server: DateTime date = DateTime.Parse(“16-09-2005”); Usually, the DateTime.Parse method does a pretty good job but now and then it needs a …
Category Archives: ASP.NET
Could
Today we encountered ASP.Net’s “Could not load type” error. This error is described in http://support.microsoft.com/default.aspx?scid=kb;en-us;Q306155 but unfortunately the given solution (rebuilt your solution/project) does not work… Duh… We’re professionals here, don’t you think we’ve tried that Microsoft? Luckely, there’s still google and after a quick search we found the solution. Here’s the situation: our company …
ViewState
Aaargh! Why is my ViewState so large? Even when setting the EnableViewState property to false for each control and the page itself there’s still an enourmous amount of ViewState… How can this be? Well, it turns out that there are some other items that get stored in the ViewState. We’re in luck though because Paul …
Page
This is something that I have pondered on multiple times – what’s the best way for a UserControl to communicate with its containing page or another UserControl on the same page? Well, even though I already have found out most of the techniques in this article by Karl Seguin, it’s always reassuring to read that …
Detecting
Steven Bey has published an article on how to detect a page refresh by the browser in ASP.NET. The idea is quite simple actually but that’s exactly what I like about it.
TinyKB
The TinyKB (working name) project is nearing completion. Soon, there’ll be a fully functioning, although pretty minimal, implementation of a new knowledge base system. OK, so I ripped some interface ideas from the guys at InstantASP but the whole system is rebuilt from the ground up. Please keep in mind though that the name is …