Dynamic RadNumericTextBox validation in IE8

3 posts, 0 answers
  1. Santiago
    Santiago avatar
    14 posts
    Member since:
    Dec 2006

    Posted 15 Sep 2010 Link to this post

    Hi, I'm having touble with the RadNumericTextBox control validation. I'm dynamically creating controls based on a RadComboBox option, after a couple of combo selected item changes the RadNumericTextBox javascript validation stops working. It happens to me only with IE8, it works fine on Firefox 3.6.

    Here's an example:

            <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
                <telerik:RadComboBox ID="RadComboBox1" runat="server" AutoPostBack="True">
                    <Items>
                        <telerik:RadComboBoxItem Value="0" Text="first" />
                        <telerik:RadComboBoxItem Value="1" Text="second" />
                        <telerik:RadComboBoxItem Value="2" Text="third" />
                    </Items>
                </telerik:RadComboBox>
                <asp:Panel ID="PanelControls" runat="server">
                </asp:Panel>
            </telerik:RadAjaxPanel>

    And on the code-behind:

        Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            Dim selectedValue = CInt(RadComboBox1.SelectedValue)
            For i = 0 To selectedValue
                Dim dynControl = New RadNumericTextBox
                dynControl.ID = selectedValue & "_" & i
                PanelControls.Controls.Add(dynControl)
            Next
        End Sub

    Any idea what am I doing wrong? My controls version is 2010.1.309.35.

    Note: the same happens to me with the RadDatePicker control.
  2. Dimo
    Admin
    Dimo avatar
    8330 posts

    Posted 16 Sep 2010 Link to this post

    Hello itu,

    I suspect that you have stumbled upon the following issue:

    http://www.telerik.com/community/forums/aspnet-ajax/input/rad-text-box-loses-entered-data-and-needs-to-enter-again.aspx#1338783

    If your scenario is different, please send a simple demo.

    Sincerely yours,
    Dimo
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Santiago
    Santiago avatar
    14 posts
    Member since:
    Dec 2006

    Posted 16 Sep 2010 Link to this post

    You were right! Just focusing another control after the ajax response solved the issue!

    Thanks for your help,
    Santiago.
Back to Top