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

RadTextBox text property empty in Windows Phone 7.5

3 Answers 61 Views
Input
This is a migrated thread and some comments may be shown as answers.
Warnestam
Top achievements
Rank 1
Warnestam asked on 04 Apr 2013, 04:05 PM
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>

3 Answers, 1 is accepted

Sort by
0
Warnestam
Top achievements
Rank 1
answered on 09 Apr 2013, 06:47 AM
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
0
Marin
Telerik team
answered on 09 Apr 2013, 08:15 AM
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.
0
Warnestam
Top achievements
Rank 1
answered on 10 Apr 2013, 02:37 PM
Works like a charm:)

Thanks
Tags
Input
Asked by
Warnestam
Top achievements
Rank 1
Answers by
Warnestam
Top achievements
Rank 1
Marin
Telerik team
Share this question
or