Export multiple RadTabItems to excel

4 posts, 0 answers
  1. Veda
    Veda avatar
    18 posts
    Member since:
    May 2011

    Posted 08 Jul 2011 Link to this post

    Hi,
    I'm implementing export for RadGridViews placed in RadTabItems of RadTabControl. I have a single export button for all the RadTabItems.

    The issue is, If the first tab is focused and click on export button i can only get the items of RadGridView of that RadTabItem and items of RadGridView of other RadTabItem are zero.

    I can get the items of RadGridView provided I'm focused on that particular RadTabItem.


    Please help me in this. I should be able to get all the items of RadGridView irrespective of what RadTabItem is focused in RadTabControl.
    I tried with IsEnabled and  Isselected properties of RadTabItem but didn't help.

    Regards,
    Veda
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 13 Jul 2011 Link to this post

    Hi Veda,

    You can use the IsContentPreserved property of the RadTabControl set to true but first you have to ensure that all RadGridViews are loaded. This will be guaranteed if you have selected all of the RadTabItems whose content contains RadGridViews. Let us know if you need more info on this.

    Kind regards,
    Petar Mladenov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. DevCraft banner
  4. Veda
    Veda avatar
    18 posts
    Member since:
    May 2011

    Posted 19 Jul 2011 Link to this post

    Hi Petar,
    The solution you gave is not working. Still the same issue.


    Regards,
    Veda
  5. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 21 Jul 2011 Link to this post

    Hi Veda,

    Could you please elaborate more on your scenario? Any XAML code will be appreciated so that we could get into your situation quickly and advice you better. Thank you for your cooperation.

    Greetings,
    Petar Mladenov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top