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 ID="Panel1" runat="server" Enabled="false"> 5: <asp:HiddenField ID="hf2" runat="server" /> 6: <asp:TextBox ID="tb2" runat="server"></asp:TextBox> 7: </asp:Panel> 8: <asp:Label ID="Label1" [...]

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

Three state checkbox in asp.net
on February 2nd, 2010
On category: ASP.NET

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

Continue reading about Three state checkbox in asp.net

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)) everything works perfectly, until I move this site to IIS7 and try to use it with integrated pipeline mode. When I [...]

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

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

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