Welcome Guest Search | Active Topics | Sign In | Register

About MaskedEdit Options
NUTEDECSA
Posted: Friday, March 13, 2009 4:37:52 PM
Rank: Newbie
Groups: Member

Joined: 8/14/2007
Posts: 9
Hi, I have a question about a MaskedEdit control.

I was using a asp textbox before, I put a javascript function in the "onKeyPress" to validate numeric values and a javascript function in the "onKeyUp" to sumarizes the values and put it into another textbox.

But now I want to use the MaskedEdit Control to do the same, but I can't set the "onKeyUp" event.

I am doing this.... this.MaskedEdit1.Attributes.Add("onKeyUp", "Suma()");

But, it doesn't work.

Please tell me, how can I set this event?

Thanks.
eo_support
Posted: Friday, March 13, 2009 4:59:15 PM
Rank: Administration
Groups: Administration

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

Unfortunately I do not think you can hanlde onKeyUp and use masked edit at the same time. MaskedEdit also handles onKeyUp. So even if you managed to set up your onKeyUp handler correctly, it will break MaskedEdit.

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.