Archive for January, 2009

Html Editor for ASP.NET

Having tested all the visual html editors for .NET, the best one is definitely this one.

Compact Framework Timeout at 3rd Request

You may find an unexplainable Timeout error happening after two usages of HttpWebRequest, even so the destination URL reponds in a timely fashion. If everything you have googled did not fix it, try to use Close on each HttpWebResponse.

ASP.NET Session State Error

The famous session state error:

Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the \\ section in the application configuration.

can be fixed most of the time by using the well-known 3 steps, found here. If that *still* does not fix it, I found that the IIS7 setting runAllManagedModulesForAllRequests=”true” on system.webServer / modules makes the error go away.

ASP.NET Invisible Controls Databinding

What pisses me off about ASP.NET’s web controls is that they are databound even if they are invisible (that is, visible = false). This obviously sucks as you’ll end up with unnecessary queries. A solution would be adding the controls at runtime depending on what tab page is visible, but that’s a terrible workaround…

Urbee iPhone version is ready

Get it from AppStore.

UpdatePanels vs real AJAX

UpdatePanels are cool and very easy to use however the entire page is processed on the server, even if you need only a tiny piece of info. A better solution is to use WCF services + ASP.NET AJAX integration to retrieve only the information you want, check these samples for more info. It’s surprisingly easy – give it a try!

Nokia Wheel

Ok the Macbook Wheel is a nice joke but Nokia had launched not one but two mobile phones with few buttons and a wheel as the only input interface.

Here is the old Nokia 7280:

And its successor the Nokia 7380: