alkampfer on July 6th, 2010

Clearly Lab Management is really good to manage virtual environments and give a lot of flexibility on how to deploy your application on virtual machines, but if you do not have Lab Management you can still use the same technique to deploy application in remote computer during a build with the use of a simple [...]

Continue reading about Deploy on remote machine during builds

alkampfer on April 15th, 2010

I’ve hit a strange behavior of Hidden Field inside a disable asp.net panel, here is a simplified scenario that can reproduce my problem:

1: <form id="form1" runat="server">

2: <asp:HiddenField ID="hf1" runat="server" />

3: <asp:TextBox ID="tb1" runat="server"></asp:TextBox>

4: <asp:Panel [...]

Continue reading about Asp net and an HiddenField inside a disable panel

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 [...]

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 [...]

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 [...]

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