Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Unassigned: MaskedEdit is not working in April 2013, June 2013 and July 2013 release!!! [27419]

$
0
0
I have a problem’s with new version (April 2013) of MaskedEdit. Date and Time value is not verified, TextBox is not cleared on wrong value and also on exit from TextBox stays __.__.____. The same happened when I use code from sample page with new version of AjaxControlToolkit.dll. What I’m doing wrong?
My code:
```
<form id="form1" runat="server">
<ajaxToolkit:ToolkitScriptManager ID="ScriptManager1" runat="server" ScriptMode="Release" LoadScriptsBeforeUI="false"
EnablePageMethods="true" EnablePartialRendering="true" EnableScriptGlobalization="true" EnableScriptLocalization="true">
</ajaxToolkit:ToolkitScriptManager>
<div>
<asp:TextBox ID="txtDate" runat="server" Width="78px"></asp:TextBox>
<asp:ImageButton ID="ibKoledar" runat="server" CausesValidation="False" ImageAlign="AbsMiddle" />
<asp:TextBox ID="txtTime" runat="server" Width="42px"></asp:TextBox>
<ajaxToolkit:CalendarExtender ID="calendarExtenderDatum" runat="server" CssClass="Koledar" Format="dd.MM.yyyy"
PopupButtonID="ibKoledar" TargetControlID="txtDate" FirstDayOfWeek="Monday">
</ajaxToolkit:CalendarExtender>
<ajaxToolkit:MaskedEditExtender EnableViewState="false" ID="meeDate" runat="server" Century="2000" ClearTextOnInvalid="True" ClipboardEnabled="False" CultureDateFormat="dd.MM.yyyy"
CultureName="sl-SI" Mask="99/99/9999" MaskType="Date" TargetControlID="txtDate">
</ajaxToolkit:MaskedEditExtender>
<ajaxToolkit:MaskedEditValidator EnableViewState="false" ID="mevDatum" runat="server" ControlExtender="meeDate" ControlToValidate="txtDate" Display="Dynamic"></ajaxToolkit:MaskedEditValidator>
<ajaxToolkit:MaskedEditExtender EnableViewState="false" ID="meeTime" runat="server" AutoComplete="true" ClearTextOnInvalid="True" Mask="99:99" MaskType="Time" TargetControlID="txtTime"></ajaxToolkit:MaskedEditExtender>
<ajaxToolkit:MaskedEditValidator EnableViewState="false" ID="mevTime" runat="server" ControlExtender="meeTime" ControlToValidate="txtTime" Display="Dynamic"></ajaxToolkit:MaskedEditValidator>
<asp:Button ID="Button1" runat="server" Text="Button" />
</div>
</form>
```
Comments: Please upgrade to the latest version of AJAX Control Toolkit v15.1. If the problem remains, feel free to post a new issue.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



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