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

ShowExportToExcelButton

1 Answer 465 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sue
Top achievements
Rank 1
Sue asked on 28 May 2014, 03:51 PM
Hi
I have this code:

<MasterTableView CommandItemDisplay="Top">
                        <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowExportToPdfButton="true" />

and the  ShowAddNewRecordButton="false" works fine, but the ShowExportToExcelButton="true" is not doing anything. It doesn't cause a crash, however no export to excel button shows up in the CommandDisplay.

What am I doing wrong here?

I am using version 2014.1.403.45 of telerik

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 29 May 2014, 04:34 AM
Hi Sue,

Unfortunately I couldn't replicate the issue at my end. Please have a look into the sample code snippet which works fine at my end and the attached screen shots also. Please provide your full code if it doesn't help.

ASPX:
<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1">
    <MasterTableView CommandItemDisplay="Top">
        <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false"
            ShowExportToPdfButton="true" />
    </MasterTableView>
</telerik:RadGrid>

Thanks,
Princy.
Tags
Grid
Asked by
Sue
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or