locked
WebForm_DoCallback() - in iOS Chrome the success callback function is not fired when there are xml tags inside the response RRS feed

  • Question

  • User1569515383 posted

    In my ASP.NET website I have async callback requests by WebForm_DoCallback().

    It works in all other browsers mobile Safari, desktop/android Chrome, FF, IE but not in mobile Chrome for iOS.

    I found that in iOS Chrome (iPhone5) the success callback function is not fired when there are xml tags inside the response, for example 

    s<Action>Add</Action>

    . In this case "ReceiveCallBackData" is not fired on the client side:

    protected void Page_Load(object sender, EventArgs e)
    {
        Button1.Attributes["onclick"] = 
            Page.ClientScript.GetCallbackEventReference(this, "1", "ReceiveCallBackData", null, "ErrorMessage", true) + ";return false;";
    }
    
    public string GetCallbackResult()
    {
        return "<Action>Add</Action>";
    }

    Any idea what can be the problem?

    Friday, February 13, 2015 3:22 AM

All replies