Rad Grid (issue with RadAjaxManager)

5 posts, 0 answers
  1. rahul
    rahul avatar
    3 posts
    Member since:
    Aug 2008

    Posted 02 Jul 2009 Link to this post

    Hi ,

    I have a user control in which i am trying to add the  rad grid with google-like filtering options. I deploy the user control in sharepoint in some page layout

    The issue is that i get the following error When i try to add the "RadAjaxManager" that is required for  google-like filtering.
    If i remove that  RadAjaxManager then the grid works but no filtering  .  I have also used 

    RadAjaxPanel  same error.

    at Telerik.Web.UI.RadAjaxControl.MoveUpdatePanel(Control initiator, Control updated) at Telerik.Web.UI.RadAjaxControl.PerformRender() at Telerik.Web.UI.RadAjaxControl.OnPageRender(HtmlTextWriter writer, Control page) at Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Page.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


    Please help me out


    Thanks
    Rahul

  2. BaiH
    BaiH avatar
    83 posts
    Member since:
    Aug 2008

    Posted 06 Jul 2009 Link to this post

    Can you please share with us some more details as code spinets of the usercontrol implementation, as the provided information does not seems very useful.

    --BH

  3. rahul
    rahul avatar
    3 posts
    Member since:
    Aug 2008

    Posted 06 Jul 2009 Link to this post

     

    Hi,

    I am using the following

    <
    telerik:RadAjaxPanel ID="RadAjaxPanel1" LoadingPanelID="LoadingPanel1" runat="server"

     

     

    ClientEvents-OnRequestStart="OnRequestStart">

     

     

    <telerik:RadGrid ID="RadGrid1" AutoGenerateColumns="false" AllowPaging="true" AllowSorting="true"

     

     

    AllowFilteringByColumn="true" Width="560px" PageSize="2"

     

     

    OnNeedDataSource="RadGrid1_NeedDataSource" OnItemCommand="RadGrid1_ItemCommand"

     

     

    OnColumnCreating="RadGrid1_ColumnCreating" runat="server" >

     

     

    <PagerStyle Mode="NextPrevAndNumeric" EnableSEOPaging="True"></PagerStyle>

     

     

    </telerik:RadGrid>

     

     

    </telerik:RadAjaxPanel>

     

     

    <telerik:RadAjaxLoadingPanel ID="LoadingPanel1" runat="server"

     

     

    MinDisplayTime="300"/>


    error

    at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Page.LoadAllState() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

     

  4. rahul
    rahul avatar
    3 posts
    Member since:
    Aug 2008

    Posted 07 Jul 2009 Link to this post

    HI
    I was able to solve this issue there was some problem with the web.config.


    One Query :-  Can i implement  google like filtering the with  "

    telerik

    :GridTemplateColumn

     

    "

    in the radGrid


    Please let me know

    Thanks
    Rahul
  5. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 08 Jul 2009 Link to this post

    Hello rahul,

    You should be able to implement Google-like filtering for template grid columns by plugging the implementation of this type of filtering for the last template column on this online demo:

    http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filteringtemplatecolumns/defaultcs.aspx

    (it uses RadComboBox without load on demand and you need to extend it to support dynamic items loading and suggestions)

    Best regards,
    Sebastian
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top