RadGrid + Popup edit mode + RadNumericTextBox compatibility issue?

4 posts, 0 answers
  1. Kelly
    Kelly avatar
    55 posts
    Member since:
    Nov 2007

    Posted 29 Jan 2009 Link to this post

    I am using a RadGrid with Edit Mode = Popup and a user control edit form.  The edit form contains a RadNumericTextBox.  On postback, the value of the RadNumericTextBox is empty.  Why??  If I replace it with a normal <asp:TextBox> then everything works fine, but the RadNumericTextBox doesn't seem to realize that I entered anything in it.  Text and Value properties are both empty.  Is this a known issue and if so, what's the workaround?
  2. Kelly
    Kelly avatar
    55 posts
    Member since:
    Nov 2007

    Posted 29 Jan 2009 Link to this post

    Something I just noticed in case it helps you troubleshoot.  When I type in the RadNumericTextBox in the popup, there's a javascript error: _2.NumberFormat is undefined

    I'm using the exact same RadNumericTextBox declaration that works for me everywhere else in my site:


    <telerik:RadNumericTextBox ID="radQty" runat="server" Width="80px" Skin="MillenniumAdmin"


    EnableEmbeddedSkins="false" DbValue='<%# Bind("Qty") %>' EnableViewState="true"








    <NumberFormat DecimalDigits="0" />










    The javascript error happens on this line:
  3. Yavor
    Yavor avatar
    11 posts

    Posted 03 Feb 2009 Link to this post

    Hello Kelly,

    Can you please post the complete declaration of the Popup Edit form, so that I can test the setup locally, and replicate the issue?

    All the best,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  4. Aleks A
    Aleks A avatar
    11 posts
    Member since:
    Oct 2009

    Posted 16 Nov 2009 Link to this post

    I had a similar problem and i found at that radnumeric uses diferent property for binding then radtextbox. So insted of value use:
    DbValue='<%# DataBinder.Eval( Container, "DataItem.FontSize" ) %>'
Back to Top