Not receiving updated NumericTextBox value on server side

2 posts, 0 answers
  1. Sanjin
    Sanjin avatar
    2 posts
    Member since:
    Jan 2017

    Posted 27 Jan Link to this post

    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

  2. Sanjin
    Sanjin avatar
    2 posts
    Member since:
    Jan 2017

    Posted 28 Jan in reply to Sanjin Link to this post

    Fixed. Problem was re-binding the repeater on the Page PostBack.
Back to Top