RadNumericTextBox Problem

4 posts, 0 answers
  1. Alharith
    Alharith avatar
    15 posts
    Member since:
    Aug 2013

    Posted 13 Oct 2014 Link to this post

    Hi Dears ,
    im facing problem in RadNumericTextBox 
      problem is : RadNumericTextBox.Value or DbValue or Text is always null
      problems occours when i set the empty message in java script then try to get value of RadNumericTextBox  in Server side

    Java Script Code :
    rntbAutoBidValue.set_emptyMessage(Some Value );

    then user insert values in  RadNumericTextBox
    and what ever what user insert i always get null value
    Server side Code :
    rntbAutoBidValue.DbValue

    i fix the probem in this Code 
    on RadNumericTextBox  Control :
    ClientEvents-OnValueChanged="Save"

    Java Script Code
        // Solve problem in RadNumericTextBox
    function Save(sender) {
    var rntbAutoBidValue = $find("<%= rntbAutoBidValue.ClientID%>");
    var Value = rntbAutoBidValue.get_value();
    rntbAutoBidValue.set_emptyMessage(null);
    }

    if there flexible solution for this problem Kindly let me know
    Regards ,,






  2. Eyup
    Admin
    Eyup avatar
    3005 posts

    Posted 16 Oct 2014 Link to this post

    Hello Alharith,

    I've created a sample RadGrid web site to test the described behavior and on my side the Value is present on the code-behind as expected. Can you please run the attached application and let me know about the result from your end?

    Regards,
    Eyup
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Alharith
    Alharith avatar
    15 posts
    Member since:
    Aug 2013

    Posted 11 Feb 2015 in reply to Eyup Link to this post

    Thx Eyup
    i tried your sample and it works , but i dont know where is the difference or why in my code itis not working .
    Regards
  5. Eyup
    Admin
    Eyup avatar
    3005 posts

    Posted 16 Feb 2015 Link to this post

    Hello Alharith,

    Please try to determine the crucial differences between our applications and instruct me the exact steps I need to follow in order to reproduce the problem locally. In addition, you can temporarily disable any ajaxification on the page (RadAjaxManager, RadAjaxPanel, UpdatePanel, etc.) and enable your script debugger (FireBug or F12) to see whether there are any errors interfering.

    Regards,
    Eyup
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top