Radpivot Filtering Window Not Opened Asynchronously

2 posts, 0 answers
  1. Achuthan
    Achuthan avatar
    31 posts
    Member since:
    May 2007

    Posted 08 Aug 2013 Link to this post

    Hi,


    I am developing  a sharepoint webpart  i want to load controls asynchronously within sharepoint webpart. One of the controls I use is ASP.net AJAX RADPivotgrid.

    i Achieved this by using of  Partial Updatepanel Library.i followed this link to load controls asynchronously.(link:http://www.51aspx.com/CodeFile/PartialUpdatePanel,6051/Control/PanelHostPage.cs.html)

    But now i click Filter icon in pivotgrid it gets a  postback and filter window is not opened.

    When i click filter icon i want to open the Filter window asynchronously.

    Code:

     private void ProcessPostBackControls(Control control)
            {
                if (control is RadComboBox)
                {
                    if ((control as RadComboBox).OnClientSelectedIndexChanged.Equals("Telerik.Web.UI.Grid.ChangePageSizeComboHandler"))
                    {
                        (control as RadComboBox).OnClientSelectedIndexChanged = "sppds_gridPageSizeChanged";
                    }
                }
                else if (control is Button)
                {
                        if (!(((Button)control).CssClass.Equals("rgFilter")) && !(((Button)control).CssClass.Equals("rpgFilter")))
                        {
                            ((Button)control).OnClientClick = GetPostBackReference(control.ClientID.Replace('_', '$'), "null", true);
                            ((Button)control).OnClientClick += "return false;";
                        }
                }
                else if (control is ImageButton)
                {
                        ((ImageButton)control).OnClientClick = GetPostBackReference(control.ClientID.Replace('_', '$'), "null", true);
                        ((ImageButton)control).OnClientClick += "return false;";
                }

                foreach (Control child in control.Controls)
                    ProcessPostBackControls(child);
            }

    The above code works fine for radgrid Filtering and paging but does not work for Pivotgrid Filtering.


    Am i missing anything here?
    please help me to resolve this issue.
  2. Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 13 Aug 2013 Link to this post

    Hello Acutha,

    Please, refer to my answer in the formal support ticket.
     
    Regards,
    Tsvetoslav
    Telerik
    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 the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top