This is a migrated thread and some comments may be shown as answers.

Export multiple RadTabItems to excel

3 Answers 48 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Veda
Top achievements
Rank 1
Veda asked on 08 Jul 2011, 11:56 AM
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

3 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 13 Jul 2011, 03:26 PM
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!

0
Veda
Top achievements
Rank 1
answered on 19 Jul 2011, 06:53 AM
Hi Petar,
The solution you gave is not working. Still the same issue.


Regards,
Veda
0
Petar Mladenov
Telerik team
answered on 21 Jul 2011, 08:21 AM
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!

Tags
TabControl
Asked by
Veda
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Veda
Top achievements
Rank 1
Share this question
or