<% @ Page Language = "C #" %>
<% @ register Assembly = " ajaxcontroltoolkit "namespace = " ajaxcontroltoolkit "tagprefix = " ajaxtoolkit " %>
<!Doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<ScriptRunat= "Server">
</Script>
< Html Xmlns = "Http://www.w3.org/5o/xhtml" >
< Head Runat = "Server" >
< Title > </ Title >
</ Head >
< Body >
< Form ID = "Form1 ″ Runat = "Server" >
< Div >
< Div >
< Ajaxtoolkit: toolkitscriptmanager ID = "Toolkitscriptmanager1 ″ Runat = "Server" >
</ Ajaxtoolkit: toolkitscriptmanager >
< Strong > Enter date (Format: dd-mmm-yyyy < Em > DD-mmm-yyyy </ Em > ): </ Strong >
< BR />
< ASP: textbox ID = "Textbox2 ″ Runat = "Server" Readonly = "False" />
< Ajaxtoolkit: maskededitextender ID = "Maskededitextender2 ″ Runat = "Server" Clearmaskonlostfocus = "False"
Masktype = "NONE" Mask = "99-lll-9999 ″ Targetcontrolid = "Textbox2 ″ Filtered = "-" />
< Ajaxtoolkit: maskededitvalidator ID = "Maskededitvalidator2 ″ Runat = "Server" Controltovalidate = "Textbox2 ″
Controlextender = "Maskededitextender2 ″ Emptyvaluemessage = "Start Date is required"
Invalidvaluemessage = "Date" Is invalid "isvalidempty = "False" Tooltipmessage = "Input A date"
Enabled = "True" />
< Ajaxtoolkit: calendarextender ID = "Calendarextender3 ″ Runat = "Server" Targetcontrolid = "Textbox2 ″
Format = "DD-mmm-YYYY" Popupbuttonid = "Imagebutton2 ″ />
</ Div >
</ Div >
</ Form >
</ Body >
</ Html >