title: Problem with MaskedEdit from Ajax Control Toolkit - different culture
body: <p>I want to use maskededit to make the user to do the same as in the ajax control toolkit sample for maskededit, but I need to use another format, since dates at my client is displayed as dd-MM-yyyy. I also need to put a value in there to begin with, since the date is loaded from a db (once I get this code working, that is)</p>
  
  <p>Look at this sample: 
  <a href="http://www.asp.net/ajax/ajaxcontroltoolkit/samples/maskededit/maskededit.aspx" rel="nofollow noreferrer">http://www.asp.net/ajax/ajaxcontroltoolkit/samples/maskededit/maskededit.aspx</a></p>
  
  <p>I need to do the same as in the textbox labeled "Enter Date (format: 99/99/9999): "</p>
  
  <p>I downloaded the sample code and changed the format to "99-99-9999" in the relevant code:</p>
  
  <p>But the sample date "12-12-1999" is not displayed in the textbox. Why not?</p>
  
  <p>I cant figure out, what I am doing wrong. I also tried setting the cultureName to da-DK, but it did not chance anything. I also tried Chrome, Firefox and IE7, same behaviour...</p>
  
  <p>How do I fix this?</p>
  
  <pre><code>&lt;asp:TextBox ID="TextBox5" runat="server" Width="130px" MaxLength="1" style="text-align:justify" ValidationGroup="MKE"&gt;12-12-1999&lt;/asp:TextBox&gt;
      &lt;asp:ImageButton ID="ImgBntCalc" runat="server" ImageUrl="~/images/Calendar_scheduleHS.png" CausesValidation="False" /&gt;
      &lt;ajaxToolkit:MaskedEditExtender ID="MaskedEditExtender5" runat="server"
          TargetControlID="TextBox5"
          Mask="99-99-9999"
          MessageValidatorTip="true"
          OnFocusCssClass="MaskedEditFocus"
          OnInvalidCssClass="MaskedEditError"
          MaskType="Date"
          DisplayMoney="Left"
          AcceptNegative="Left"
          ErrorTooltipEnabled="True" /&gt;
      &lt;ajaxToolkit:MaskedEditValidator ID="MaskedEditValidator5" runat="server"
          ControlExtender="MaskedEditExtender5"
          ControlToValidate="TextBox5"
          EmptyValueMessage="Date is required"
          InvalidValueMessage="Date is invalid"
          Display="Dynamic"
          TooltipMessage="Input a date"
          EmptyValueBlurredText="*"
          InvalidValueBlurredMessage="*"
          ValidationGroup="MKE" /&gt;
  </code></pre>