This is a migrated thread and some comments may be shown as answers.

RadNumericTextBox Problem

3 Answers 116 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alharith
Top achievements
Rank 1
Alharith asked on 13 Oct 2014, 10:48 AM
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 ,,






3 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 16 Oct 2014, 09:06 AM
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.

 
0
Alharith
Top achievements
Rank 1
answered on 11 Feb 2015, 11:31 AM
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
0
Eyup
Telerik team
answered on 16 Feb 2015, 11:48 AM
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.

 
Tags
General Discussions
Asked by
Alharith
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Alharith
Top achievements
Rank 1
Share this question
or