Hi,
Please can I have some help as so far every thing I have tried with the grid has not worked as expected and I have now logged 3 posts where functions that should work just don't seem to. Perhaps it is the way in which I am populating my grid? All columns and data are created dynamically in code-behind as I do not know what will be displayed.
Essentially I have just added export to excel via the CommandItem as per
<MasterTableView Height="30px" CommandItemDisplay="Top">
<CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowExportToPdfButton="true" />
<Columns>
<telerik:GridDragDropColumn HeaderStyle-Width="18px" Visible="false" />
</Columns>
</MasterTableView>
From the demo project I have also implemented the events
OnItemDataBound="gridEvents_ItemDataBound"
OnItemCommand="gridEvents_ItemCommand"
OnBiffExporting="gridEvents_ExportToExcel"
Although when looking at the code in the sample this actually does nothing in most cases. I have also added the
Please can I have some help as so far every thing I have tried with the grid has not worked as expected and I have now logged 3 posts where functions that should work just don't seem to. Perhaps it is the way in which I am populating my grid? All columns and data are created dynamically in code-behind as I do not know what will be displayed.
Essentially I have just added export to excel via the CommandItem as per
<MasterTableView Height="30px" CommandItemDisplay="Top">
<CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowExportToPdfButton="true" />
<Columns>
<telerik:GridDragDropColumn HeaderStyle-Width="18px" Visible="false" />
</Columns>
</MasterTableView>
From the demo project I have also implemented the events
OnItemDataBound="gridEvents_ItemDataBound"
OnItemCommand="gridEvents_ItemCommand"
OnBiffExporting="gridEvents_ExportToExcel"
Although when looking at the code in the sample this actually does nothing in most cases. I have also added the
using eis = Telerik.Web.UI.ExportInfrastructure;
line to the top of my file - this is easy to miss as it is not mentioned in the sample. I see the buttons (although the refresh button is disabled?) but when clicking export to excel/pdf nothing happens, no errors no calling of the above events nothing.
Can someone (maybe from Teleik?) let me know what the common factor is here - why does export to excel / row drag and drop not work for me? Started to get frustrated here as I was trying to move away from Infragistics as their grid was somewhat complex/heavy but at least I could get it to work!
line to the top of my file - this is easy to miss as it is not mentioned in the sample. I see the buttons (although the refresh button is disabled?) but when clicking export to excel/pdf nothing happens, no errors no calling of the above events nothing.
Can someone (maybe from Teleik?) let me know what the common factor is here - why does export to excel / row drag and drop not work for me? Started to get frustrated here as I was trying to move away from Infragistics as their grid was somewhat complex/heavy but at least I could get it to work!