'Create the minimum date object Dim minDate As New DateTime(2004, 1, 1) 'Create the maximum date object Dim maxDate As New DateTime(2010, 1, 1) 'Assign the minimum date object to the WebDateTimeEditor's MinValue WebDateTimeEditor1.MinValue = minDate 'Assign the maximum date object to the WebDateTimeEditor's MaxValue WebDateTimeEditor1.MaxValue = maxDate