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

ajax maskedit extender for IP Address value shift problem

$
0
0

Hi,
I have a textbox on which i have applied Ajax Maskedit extender which masks the textbox to take input as IP address format.
this is extender code

<cc1:MaskedEditExtenderID="ajMeeFrom"runat="server"TargetControlID="txtFrom"Mask="999\.999\.999\.999"MaskType="Number"ClearMaskOnLostFocus="false"Filtered="*"AutoComplete="false"InputDirection="LeftToRight"></cc1:MaskedEditExtender>

Now when if I enter Ip address 192.168.118.100, and if page causes a postback, it still remains in text box as it is.
Problem arises when I enter Ip address as 192.16.118.163 then, on postback the Second octet value changes..and textbox shows
19.216.118.163..
Notice the 2 of 192 shifted to second octet.
I tried using Autocomplete on and autocompletevalue =" " ..a blank space, it did not worked.

Any help is really appreciated. Stucked...

Thank you so much..


Viewing all articles
Browse latest Browse all 5678

Trending Articles



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