TreeView inside UpdatePanel issue – postbacks on check and uncheck of the node’s Checkbox

Problem: In ASP.NET TreeView control, user wish to select one or many treenodes and wish to have options for further working depending upon the selection. The selection is done using a checkbox. On checking, the server side code need to know what has been checked and provides further options for the same. The checkbox check/uncheck does not fire a postback. Though we tried to imitate the same using javascript, the page gets refreshed. We used AJAX and put the TreeView control inside an UpdatePanel Findings: Microsoft does not support this. An issue/request for the feature was put on Microsoft feedback

Continue reading

Version Conflict of .NET Framework in IIS

Another point to share. Of course I delayed the publishing. While I was migrating the YAFNET forum from my machine (WinXP with SQL Server 2005 Express), to a machine with Win2K3 and SQL Server 2000, I faced another issue. The first issue was of migrating SQL Server 2005 Express database to SQL Server 2000 database. The next issue is of conflict of versions of .NET in IIS. The target machine was hosting few web applications developed on .NET 1.1 and was running fine. I created a site for the YAFNET application and in the properties, set the .NET version as

Continue reading

HTTP Compression – A faster way to improve web site performance – At minimal cost

  HTTP compression – is a simple way to improve site performance and decrease bandwidth, with no configuration required on the client side. – is a capability built into both web servers and web browsers, to make better use of available bandwidth. – HTTP protocol data is compressed before it is sent from the server. How HTTP Compression Works When IIS receives a request, it checks whether the browser that sent the request is compression-enabled. (Recent versions of Microsoft® Internet Explorer and most other browsers typically send the following header if they are compression-enabled: Accept-Encoding: gzip, deflate.) IIS then determines

Continue reading