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

Not receiving updated NumericTextBox value on server side

1 Answer 30 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
Sanjin
Top achievements
Rank 1
Sanjin asked on 28 Jan 2017, 01:03 AM

Hi,

Have NumericTextBox inside asp:Repeater ItemTemplate:

<telerik:RadNumericTextBox ID="ntbPrice" runat="server" Value='<%# Convert.ToDouble(DataBinder.Eval(Container.DataItem, "DefaultPrice")) %>' MinValue="1" Type="Currency" Width="60px" InvalidStyleDuration="200" OnKeyDown = "return (event.keyCode!=13);">
</telerik:RadNumericTextBox>

Problem is that I am not receiving updated values at post back (user types some value in the numeric text box). Value is always initial value automatically set during control data binding.

Any idea?

Thanks in advance,
Sanjin

1 Answer, 1 is accepted

Sort by
0
Sanjin
Top achievements
Rank 1
answered on 28 Jan 2017, 10:40 PM
Fixed. Problem was re-binding the repeater on the Page PostBack.
Tags
NumericTextBox
Asked by
Sanjin
Top achievements
Rank 1
Answers by
Sanjin
Top achievements
Rank 1
Share this question
or