Problem Exporting to CSV when RadGrid is within RadTabStrip

5 posts, 0 answers
  1. Kevin
    Kevin avatar
    83 posts
    Member since:
    Sep 2008

    Posted 27 Jul 2011 Link to this post


    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
  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 29 Jul 2011 Link to this post

    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 >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Eraph
    Eraph avatar
    11 posts
    Member since:
    Aug 2010

    Posted 01 Aug 2011 Link to this post

    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
  5. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 01 Aug 2011 Link to this post

    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 >>

  6. Eraph
    Eraph avatar
    11 posts
    Member since:
    Aug 2010

    Posted 01 Aug 2011 Link to this post

    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
Back to Top
UI for WPF is Visual Studio 2017 Ready