Make TextBox Portion of NumericTextBox Read Only

2 posts, 1 answers
  1. Kerry
    Kerry avatar
    24 posts
    Member since:
    Jun 2013

    Posted 17 Jul 2013 Link to this post

    Is it possible to have the NumericTextBox control work ONLY with the buttons? To disallow typing in the TextBox portion?
  2. Answer
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 18 Jul 2013 Link to this post

    Hi Kerry,

    Please have a look into the following code I tried to disable typing in the RadNumericTextBox.

    <telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server" ClientEvents-OnKeyPress="OnKeyPress">

    <script type="text/javascript">
        function OnKeyPress(sender, args) {

  3. DevCraft R3 2016 release webinar banner
Back to Top