Category: ASPxTextBox

ASPxTextBox – how to accept only numeric data

ASPX<dx:ASPxTextBox ID="txtSozNo" runat="server" Width="100%" ClientInstanceName="ttxtSozNo"><ClientSideEvents KeyPress="function(s,e){ fn_AllowonlyNumeric(s,e);}" /> </dx:ASPxTextBox> javascriptfunction fn_AllowonlyNumeric(s, e) {            var theEvent = e.htmlEvent || window.event;            var key = theEvent.keyCode || theEvent.which;   [...]

Read More