.Net DateTimePicker highlighted red on form load? RRS feed

  • Question

  • So I have a tab on a form which is short on space, and I came up with a design which uses "collapsable" sections in order to give the user some control over how match real estate is occupied by these sections.  I accomplish this by changing the RowDefinition height of the sections in question when a +/- button is clicked.  The issue I'm having is that, for some reason, my datetimepickers are highlighted red when the tab loads initially.  This highlighting is visible even though I have the Row collapsed on load.  The weird part is, when I switch to a different tab and back to the tab in question, the red highlighting disappears.  I think it has something to do with validation because I can expand the section, select a date, then collapse it and the highlighting disappears.

    I wanted to upload screenshots to show the issue but had trouble getting the upload section of the forum to work, so hopefully people can understand the issue from my description.

    Any help with getting rid of the highlighting would be greatly appreciated!

    Thursday, May 22, 2014 7:17 PM