I have a web user control that is added to a page programmatically. However, when it is added, the names are automatically changed to _ctl0:startDate & _ctl1:endDate. When I try to validate that the startDate is less than the endDate using a javascript function, it throws an error because of the ":" in "document.forms[0]._ct10:startDate.value" of the user controls. Any help would be greatly appreciated!