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

Problem Exporting to CSV when RadGrid is within RadTabStrip

4 Answers 64 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 2
Kevin asked on 27 Jul 2011, 02:01 PM

A RadTabStrip has two tabs linked to a RadMultiPage control containing two pages, both of which contain RadGrids. There is a button that executes the RadGrid’s MasterTableView.ExportToCSV() method on each page. This works on the first tab, but after switching to another tab the functionality is lost on all tabs.

Method seems to fire correctly when stepping through code, but the file download prompt does not appear

4 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 29 Jul 2011, 02:56 PM
Hi Kevin,

 
I believe that the following forum thread would be useful on that matter. The same is valid for WPF as well.


Greetings,
Vanya Pavlova
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
Eraph
Top achievements
Rank 1
answered on 01 Aug 2011, 03:53 PM
Hi Vanya,
Kevin's on holiday for the next two weeks so I'm commandeering this issue in the meantime. The problem here is that we're using RadTabStrip, not RadTabControl. The RadTabStrip does not have the IsContentPreserved property, although that does look like what we're after. Would it be easiest just switching to using a RadTabControl?
Thanks,

Phil
0
Vanya Pavlova
Telerik team
answered on 01 Aug 2011, 03:57 PM
Hi Phil,

 

As my colleague Peter suggested I believe that switching to the RadTabControl would be the better option, since the IsContentPreserved property is exposed directly by RadTabControl.



Please give it a try and if you need any further assistance let us know.

 

All the best,
Vanya Pavlova
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
Eraph
Top achievements
Rank 1
answered on 01 Aug 2011, 04:10 PM
Sorry, I just realised this is in the WPF forum, but it's an ASP.NET AJAX issue. Could you move it please?
Thanks,

Phil
Tags
GridView
Asked by
Kevin
Top achievements
Rank 2
Answers by
Vanya Pavlova
Telerik team
Eraph
Top achievements
Rank 1
Share this question
or