Justin Cooney

Web Development Tips and Examples

Author: Justin Cooney

  • First off let me start by saying that if possible it is best to avoid using cursors since they do have their drawbacks (for starters, they suffer performance issues). However in my opinion, there are times where cursors are very useful. There seems to be an ongoing witch hunt to vilify cursors that I do…

  • Often when building a Web site there is a need to log the HTML of the page that is displayed to the user. This, for example, can be useful for history logging or emailing a copy of the form. Since I frequently use .NET Webforms it is actually relatively easy to obtain the rendered HTML…

  • I sometimes find the need to dynamically enable or disable form elements especially since I often use ASP.NET webforms. For this purpose I find that the default HTML attributes are not sufficient. Specifically, the HTML DISABLED and READONLY element attributes do not work as one would want a disabled form field to actually work. In…