Exporting in RadTabstrip

2 posts, 0 answers
  1. Regeesh Joseph
    Regeesh Joseph avatar
    55 posts
    Member since:
    May 2010

    Posted 27 Dec 2011 Link to this post


    I have a radtabstrip with 4 tabs. Each tab contains one grid. I have to export the data on these 4 grids to different formats like pdf, excel etc. on clicking a "Print Report" button on the page. Is there any way to this? Its very urgent. Plz help.


  2. Andrey
    Andrey avatar
    836 posts

    Posted 28 Dec 2011 Link to this post

    Hi Regeesh,

    You could get reference to the grid instance in the "Print Report" button's click event handler and then call the respective export function of the RadGrid's MasterTableView. However before calling the export function you need to make sure that the tab is clicked and its content is shown on the page.

    You code should look like this:

    protected void PrintReport_Click(object sender, EventArgs e)

    Give this suggestion a try and check whether implements the desired functionality.

    Kind regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top