Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > General Discussions > RadAjaxLoadingPanel

Not answered RadAjaxLoadingPanel

Feed from this thread
  • Vitaly avatar

    Posted on Feb 3, 2012 (permalink)

    Hi guys,
    I have following code in aspx:

    <

     

     

    telerik:RadScriptManager ID="ScriptManager1" runat="server" />

     

     

     

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

     

     

     

    <ClientEvents OnRequestStart="onRequestStart" />

     

     

     

    <AjaxSettings>

     

     

     

    <telerik:AjaxSetting AjaxControlID="mainPanel">

     

     

     

    <UpdatedControls>

     

     

     

    <telerik:AjaxUpdatedControl ControlID="mainPanel" LoadingPanelID="RadAjaxLoadingPanel1" />

     

     

     

    </UpdatedControls>

     

     

     

    </telerik:AjaxSetting>

     

     

     

     

    </AjaxSettings>

     

     

     

    </telerik:RadAjaxManager>

     

     

     

    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" EnableSkinTransparency ="true" runat="server">

     

     

     

    </telerik:RadAjaxLoadingPanel>

     


    I have following code in c#:

    protected

     

     

    void Button_Click(object sender, EventArgs e)

     

    {

     

     

    string reqno = string.Empty;

     

     

     

    string status = string.Empty;

     

     

     

    string fyear = FYear.ToString();

     

     

     

    SecureQueryString param = new SecureQueryString();

     

    param.Add(

     

    "ReqnoId", reqno);

     

    param.Add(

     

    "StatusId", status);

     

    param.Add(

     

    "Fyear", fyear);

     

     

     

    string url = "~/PerSession/PRRequest/PrincipalRequest.aspx?data=" + param.ToString();

     

    Response.Redirect(url);

     

    }


    In VS2005 it works fine.When I converted to VS2010 and try to click on button above to redirect I am gettig this error:
    Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
    Details: Error parsing near '�'.

    When I comment out this code:

    <UpdatedControls>

     

     

     

    <telerik:AjaxUpdatedControl ControlID="mainPanel" LoadingPanelID="RadAjaxLoadingPanel1" />

     

     

     

    </UpdatedControls>

     

     it works fine but progress bar now does not working.
    Please help me to resolve this issue.

    Reply

  • Tsvetoslav Tsvetoslav admin's avatar

    Posted on Feb 7, 2012 (permalink)

    Hello Vitaly,

    Your code is not readable and besides - insufficient to give clear indication of what might be happening on your side. Could you paste your complete aspx and code-behind using the CODE FORMATTER tool of the ticket editor? 

    Regards,
    Tsvetoslav
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > General Discussions > RadAjaxLoadingPanel