Welcome Guest Search | Active Topics | Sign In | Register

maskedit.text Options
AndreaZ
Posted: Thursday, November 12, 2009 7:02:25 PM
Rank: Advanced Member
Groups: Member

Joined: 10/20/2008
Posts: 75
Hello,
can i populate a maskedit control with a value?

<eo:MaskedEdit ID="Tb_rataMensile" runat="server" Width="70px">
<eo:MaskedEditSegment Decimals="2" IsRequired="True" MaxValue="99999"
SegmentType="Number" />
</eo:MaskedEdit>

if I do tb_rataMensile.text = myvalue I've an error for the startindex...
I've try to set myvalue as a string as a double or as a decimal, but I've always the error.
Thanks
eo_support
Posted: Friday, November 13, 2009 4:23:11 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We tried the following code:

Code: C#
Tb_rataMensile.Text = "12.34";


And it works fine.

Thanks
AndreaZ
Posted: Tuesday, November 17, 2009 5:24:43 AM
Rank: Advanced Member
Groups: Member

Joined: 10/20/2008
Posts: 75
Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.