alkampfer on February 2nd, 2010

Yesterday I need to implement in a quick way a three style checkbox in a project based on asp.net 3.5. The requirements stated that I must not spend too much time designing an entire new control, but the solution should be usable by other people with minimum impact. Here is the result I obtained.

The checkbox [...]



kick it on DotNetKicks.com

Continue reading about Three state checkbox in asp.net

alkampfer on October 28th, 2009

I have an asp.net site that uses asp.net routing to dynamically create some reports. I mapped the extension .zip to asp.net ISApi, then with routing I map url

Using RouteTable.Routes.GetWriteLock()
RouteTable.Routes.Add(New Route(”reports/{reporttype}/{reportid}/report.zip”, New MyReportRouter))

The solution was to add an handler that maps, in [...]



kick it on DotNetKicks.com

Continue reading about Asp.Net routing problem with IIS7 and integrated pipeline

The problem is described in this post, basically it can be summarized in “you have a user control with validators, you put more than one instance of the user control in a page, all validators are fired together”
The above post already gives a solution, but is not a general one. I want to avoid the [...]



kick it on DotNetKicks.com

Continue reading about Asp.net solve problem of multiple user control with validator.

Some times ago I spoke about using YUICompressor to reduce number and size of your css files. That solution was based on the original msbuild action included in youicompressor library. That solution has a major drawback, css files gets compressed only during the deploy phase, so during testing the site was tested only with the [...]



kick it on DotNetKicks.com

Continue reading about Compress your CSS files in asp.net with YUICompressor and an Handler

alkampfer on May 22nd, 2009

I’m restructuring a portion of a site, it is well structured, and all logic is inside business classes in another assembly, and they are accessed with ObjectDataSources. My problem is that with the new structure I cannot refer to the concrete classes anymore, but I need to resolve them with an IoC container, like Castle [...]



kick it on DotNetKicks.com

Continue reading about Asp.Net, ObjectDataSource and Castle Windsor