With a RadAjaxLoadingPanel on my page it does a full postback. Works correct without.

4 posts, 1 answers
  1. Jonx
    Jonx avatar
    258 posts
    Member since:
    Jul 2012

    Posted 24 Apr 2011 Link to this post

    When my page has a RadAjaxLoadingPanel it does a full postback. When I remove the control everything works fine.
    The page is very simple. I tried with a RadAjaxManager, it has the same problem.
    Version 2011.1.315.40

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication3.WebForm1" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <head runat="server">
        <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />
        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1"
            <telerik:RadGrid ID="RadGrid1" AllowPaging="True" DataSourceID="SqlDataSource1" runat="server"
                <MasterTableView DataKeyNames="ID" AutoGenerateColumns="true">
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:MyConnectionString %>"
            ProviderName="<%$ ConnectionStrings:MyConnectionString.ProviderName %>" SelectCommand="SELECT wptam_posts.ID, wptam_posts.post_title, wptam_terms.name, wptam_term_taxonomy.`count`, wptam_posts.post_date, wptam_posts.guid FROM wptam_term_taxonomy INNER JOIN wptam_term_relationships ON wptam_term_taxonomy.term_taxonomy_id = wptam_term_relationships.term_taxonomy_id INNER JOIN wptam_terms ON wptam_term_taxonomy.term_id = wptam_terms.term_id INNER JOIN wptam_posts ON wptam_term_relationships.object_id = wptam_posts.ID WHERE (wptam_term_taxonomy.taxonomy = 'category') AND (wptam_posts.post_type = 'post') ORDER BY wptam_posts.post_date">

    Any hints of what I am doing wrong?
    Thank you for your help,
  2. Answer
    Pavlina avatar
    6161 posts

    Posted 25 Apr 2011 Link to this post

    Hello John,

    The provided code woks fine on my side. Please examine the attached project and let me know if you need additional assistance.

    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. Jonx
    Jonx avatar
    258 posts
    Member since:
    Jul 2012

    Posted 25 Apr 2011 Link to this post

    Hello Pavlina,
    Thank you for your help.

    Your sample helped me find the problem. Silly me.
    In fact it was not doing a full postback, it just looked that way (white page)...

    What was missing was the fact that I did not set a skin for the RadAjaxLoadingPanel. this made the screen look white while the postback.
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Vista" />

    Thanks again,
  4. shrujan
    shrujan avatar
    5 posts
    Member since:
    May 2011

    Posted 03 May 2011 Link to this post

    hi hello,
    i have added 
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                <telerik:AjaxSetting AjaxControlID="raddlPackage">
                    <telerik:AjaxUpdatedControl ControlID="holidaypackege" />

    still its getting postback.....
    whats the solution for thiss..????/
Back to Top