RadTextBox text property empty in Windows Phone 7.5

4 posts, 0 answers
  1. Warnestam
    Warnestam avatar
    83 posts
    Member since:
    Sep 2006

    Posted 04 Apr 2013 Link to this post

    Hi,

    We have a strange behaviour in our login page when users tries to login from Windows Phone. On server callback/postback the last RadTextBox that was used by the user has an empy text property!!!

    We are now using telerik Q1 2013, byt the behaviour is way older than that. The problem can easily be reproduced by using two RadTextBox and one RadButton. Try to use the following code from a Windows Phone 7.5 and fill upp the textboxes and then press the button.

    Best regards

    Robert

    <%@ Page Language="C#" %>
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <script runat="server">
     
        protected void RadButton1_Click(object sender, EventArgs e)
        {
            Label1.Text = RadTextBox1.Text;
            Label2.Text = RadTextBox2.Text;
        }
    </script>
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div>
            <table>
                <tr>
                    <td>
                        <telerik:RadTextBox ID="RadTextBox1" runat="server" />
                    </td>
                    <td>
                        <telerik:RadTextBox ID="RadTextBox2" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <telerik:RadButton ID="RadButton1" runat="server" Text="RadButton" OnClick="RadButton1_Click" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="Label1" runat="server" Text="Label" />
                    </td>
                    <td>
                        <asp:Label ID="Label2" runat="server" Text="Label" />
                    </td>
                </tr>
            </table>
        </div>
        </form>
    </body>
    </html>
  2. Warnestam
    Warnestam avatar
    83 posts
    Member since:
    Sep 2006

    Posted 09 Apr 2013 Link to this post

    EDIT:

    I've tried with other mobile cell phones (Android, iPhone) but the error occurs only is noticed only on a Windows Phone. I also tried to replace the Telerik components to ASP.NET components and in that scenario the eror did not occur.

    /Robert
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Marin
    Admin
    Marin avatar
    1045 posts

    Posted 09 Apr 2013 Link to this post

    Hello,

     Improvements regarding this behavior have been made in the latest service pack of the controls (2013.1.403). You can check if it resolves the issue.

    Kind regards,
    Marin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  5. Warnestam
    Warnestam avatar
    83 posts
    Member since:
    Sep 2006

    Posted 10 Apr 2013 Link to this post

    Works like a charm:)

    Thanks
Back to Top