Hi,

I don't know why, but the dtp control is not allowing me to uncheck the checkbox within the control. I've tried many things like:

VB Code:
  1. dtpFromDate.Visible = True
  2. dtpToDate.Visible = True
  3.  
  4. dtpFromDate.Value = Date.Now
  5. dtpFromDate.Checked = False
  6. dtpToDate.Value = Date.Now
  7. dtpToDate.Checked = False

During this specific event, a user has selected an different option that "resets" the form. Since I am running an SQL statement based on the items selected, I wanted to start out with the DTP being unchecked by default so that the user doesn't accidently include the dates in the SQL query.

Thank you for your help!