Problem databinding an ASP.Net AJAX toolkit MaskedEditExtender

Question :

Problem databinding an ASP.Net AJAX toolkit MaskedEditExtender,

Answer :

I have a database that contains a date and we are using the MaskedEditExtender (MEE) and MaskedEditValidator to make sure the dates are appropriate. However, we want the Admins to be able to go in and change the data (specifically the date) if necessary.

How can I have the MEE field pre-populate with the database value when the data is shown on the page? I’ve tried to use ‘bind’ in the ‘InitialValue’ property but it doesn’t populate the textbox.

Read More  HTTPS in IIS 5.1



We found out this morning why our code was mishandling the extender. Since the db was handling the date as a date/time it was returning the date in this format 99/99/9999 99:99:99 but we had the extender mask looking for this format 99/99/9999 99:99

Mask="99/99/9999 99:99:99"

the above code fixed the problem.
thanks to everyone for their help.

That’s the answer Problem databinding an ASP.Net AJAX toolkit MaskedEditExtender, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.

Read More  Looking for best practice for doing a “Net Use” in C#

Disclaimer :

The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you