Monthly Archives: March 2009

6 posts

Catch Me If You Can: Use Javascript to Move an Element

This post is inspired by a conversation of mine with some developers in my department regarding a web application we recently built. This application uses a single sign-on system developed by another department to authenticate user whose accesses to our application. Somehow, this single sign-on system does not work well with AOL browser and users who use AOL browser will fail the authentication, thus cannot sign into our application and only see a generic error […]

Use RangeValidator to Validate Date Entry

Suppose you would like to check if a date entered by user is not only a valid date but also meets other requirements, for instance, a date of birth cannot be later than today, the start date of a scheduled task/event needs to be later than today, etc. Of course, if possible, I would use RJS.PopCalendar to accomplish this type of task, but if third-party DLL’s are not allowed, then you can use the built-in […]

What did I lose and gain after using Ubuntu

First of all, let me make it clear: I am an ASP.NET web developer, so that means I use Microsoft Windows at work. But at home, I use Ubuntu because I want to learn it. So far, I like both OS and don’t have bias towards any of them. What I lost: 1. When I use Windows, part of my sense of accomplishment comes from updating my anti-virus and anti-spyware database files and defrag my […]

Category for Ubuntu Desktop

[Update] I have been contacted with the information that Mandriva is no long a Linux distro, and it explains the link to Mandriva does not work. According to Wikipedia, “Mandriva Linux was forked and continues to survive as Mageia Linux. Other notable forks of Mandriva include OpenMandriva Lx and ROSA Linux.”  Disclaimer: to thank the reader who reported the broken link to Mandriva, I am here to add a link to their resource guide on […]

Using RJS.PopCalendar in ASP.NET for Date Entry

RJS PopCalendar by Ricaute Jiménez Sánchez is so far the best free calendar control I ever used in ASP.NET in the past three years. It is very powerful, yet very simple to integrate with ASP.NET. Here I will show you how to use this nice control in ASP.NET web applications. 1. Download RJS PopCalendar control from MSDN web site at Unzip the downloaded file into a folder you selected. There are several files in […]

Parent/Child Window Design Approaches

Popup window can be very helpful for editing records. For example, you have a GridView of your customers, when you click on a row or an “edit” button/icon, a new window pops up for you to edit the selected customer. After the editing is done and the record is saved, the popup window is closed and the parent window is reloaded to reflect the updated information. This is a very common scenario for using parent/child […]