I have a WebMaskEdit with the following mask
##°##.###'>L
This sets my initial value to
° . '
It basically a Latitude coordinate..so 56°47.639'N would be a valid entry...
If i put nothing into the field i am getting the following back from both the Text and Value properties..
° 1.6 '
Where are the 1 & 6 appearing from...On the page the control appears empty
If i put in 56°47.639'N
I get
56° 1.6 4'
Again 1 & 6 are appearing in the middle
Hi,
I ran following page
<igtxt:WebMaskEdit ID="MaskEdit1" runat="server" InputMask="##ø##.###'>L"></igtxt:WebMaskEdit>
<asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" />
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
and on button click I did
this.Label1.Text = this.MaskEdit1.Text;
I did not find any misbehavior or extra 1.6. I think you should review logic of your application. Maybe there is some kind of initialization or similar thing which fill value.
You were right....
Firstly i didn't realise that WebMaskEdit is also WebTextEdit.
So the following line of code was getting hit in my master page which was performing some routine validation
To add insult to injury i am using the System.Web.HttpUtility.HtmlEncode to perform some encoding. It proved to be as unrealiable as ever and this is where the doggy numbers were coming from. It really didn't like the degree symbol !!!!!
Thanks......