Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

problem in global.asax.as while doing MaskedEditExtender with MaskeEditValidator

$
0
0

 

pl suggest....

 

 

 Following is the code for MaskedEditExtender with MaskeEditValidator and I have 

 given jquerry plugin and added a global.asax file .while giving the code in global.asax.cs in application start

I am not getting script manager .

I have to write the following code in application start in global.asax.cs

{

 ScriptManager.ScripResourceMapping.AddDefinition("jquerry,new ScriptResouceDefinition

path

debugpath

 

 

 

 

 

 

 

 

<head runat="server">
<title></title>
<script src="jquerry.js"></script>
</head>
<body>
<form id="form1" runat="server">
<div>

<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager>
<br />
</div>
   


<asp:TextBox ID="T1" runat="server"></asp:TextBox>
<asp:MaskedEditExtender ID="MaskedEditExtender1" runat="server"
TargetControlID="T1" MaskType="Date" Mask="99/99/9999"
AutoComplete="false">
</asp:MaskedEditExtender>


    <asp:MaskedEditValidator ID="MaskedEditValidator1" runat="server"
ControlToValidate="T1" ControlExtender="MaskedEditExtender1"
InvalidValueMessage="Enter the Date in mm/dd/yyyy fromat"
  IsValidEmpty="false" EmptyValueMessage="Date must Enter">
</asp:MaskedEditValidator>


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>