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.
|
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!
|