Bind radgrid on radpanel item expand

4 posts, 0 answers
  1. Ram
    Ram avatar
    97 posts
    Member since:
    Jun 2011

    Posted 10 Aug 2011 Link to this post

    HI
    I'm using radcontrols in my asp.net website.
    And these controls visually and functionality wise nice.

    I have one scenario .
    I have radpanelbar with 4 panel items.
    each item contains one radgrid.
    Now I'm binding every grid with theie needdatasource event.
    My problem is suppose user select first item  can go through radgrid paging at pageindex 5 and if he collapse the current panlelitem and expand other and comes expand the previous one still he will see the radgrid with pageindex 5.
    So I want bind the grid while expand the panel item.

    Hope u understand my problem.

    please help me as early as possible.
  2. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 11 Aug 2011 Link to this post

    Hi Ram,

    If I understood correctly, you can fire a command (Page, "First") on the GridTableView of RadGrid. Here is an article that should guide you through: http://www.telerik.com/help/aspnet-ajax/grid-gridtableview-firecommand.html

    Regards,
    Nikolay Tsenkov
    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. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ram
    Ram avatar
    97 posts
    Member since:
    Jun 2011

    Posted 12 Aug 2011 Link to this post

    Hi
    Thanks for reply.
    But I don't know when and where to call the FirePageCommand() funciton.
    Can u explain me bit about this.
    How to call the function when I expand the panel item.
    pls tell me.
  5. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 17 Aug 2011 Link to this post

    Hello Ram,

     You can handle the ClientItemClicked event of RadPanelBar and apply the solution from the article that I previously posted in the handler.

    Here is an article on ClientItemClicked event: http://www.telerik.com/help/aspnet-ajax/panelbar-onclientitemclicked.html

    Regards,
    Nikolay Tsenkov
    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.

Back to Top