Home

  
 
 

Search Knowledge Base


Knowledge Base Web View
Total Records: 104
ID Title Type Of Article
1158 
Enable IE Compatibility Mode in Windows Edge Browser How To
1171 
Check Junk Folder and Quarantine Email on Office 365 to find missing emails How To
1317 
Reenabling Home Page or Web Page Views for Outlook Folders How To
1381 
Work Order Task Details Updates to Main Work Order How To
1404 
Setup Engage BMS Launch Batch File for Engage Startup How To
1439 
Engage SQL Errors and find a stuck user session means RDP Server needs to be rebooted How To
273 
Offboarding Checklist New Client
222 
Onboarding VMS check List New Client
993 
5 things customers want from their salesperson Sales and Marketing
1312 
Case Studies and Success Stories Sales Collateral
1323 
Sophos MDR Managed Detection and Response Sales Collateral
1228 
Customer Care Vendor Management & Billing Protocol SOP
221 
New Customer: Billing, Collecting, Memorized Transaction Support
217 
Deploy Kaseya Script to Install Symantec Antivirus in Server Support
204 
Outlook Connection Status Window Support
195 
3CX Adding BLF Settings across multiple extensions in the Management Console Support
161 
Distribution Group Mail Flow Support
132 
MS Access System Resources Exceeded Error Support
121 
Dell OptiPlex 9020 All IN One Knowledge Base Resource Support
120 
Telnet to device not working externally but does internally Support
99 
Converting ASYNCC to ASYNCD Cards in an OLT Support
96 
View emails of deleted employees with GFI Email Archiver Support
95 
Connect a USB Camera to Thin Client Support
23 
Upgrading Xp Pro to Windows 7 application and all Support
20 
Check Acronis Imaging on Starship 03, Getting Repeat Failure Notices via Email Support
Add New  Records per page  3 of 5   
Engage Knowledge Base Web View         How To          Print
Title Engage Online Portal Export Reports to Excel      
Resolution
Export to Excel
Description
This example demonstrates how to implement data export to Microsoftr Excelr.
A single Web page is used with a grid that outputs the same data in both Web and Excel modes. An event code is used to determine if Excel mode was specified via a URL parameter, and to set the appropriate content type. The code is also used to force up to 10,000 data records to be output in Excel mode.
Usage
Click on the "Export to Excel" link.
Steps to Recreate
    1. Use the Grid Builder to create the employees grid that is based on the employees table from Intranet database.
        • On Step 4 select No Sorting.
        • On Step 5 select (No Theme).
    1. Add the ToExcelLink Link control above the Grid and set its Default Value property to "Export to Excel", set the Preserve Parameters property to None and the Href Source property to the current page. Then add the Link Parameter with the following values: Data Source Type = Expression, Parameter Source = 1 and Parameter name = export.
    2. Add the appropriate programming code to the Before OnInitializeView Page event and Before Select Grid event., as provided with the example.
    3. Make cosmetic changes as needed by modifying the text and captions within the HTML.
Database Tables Used
Database: IntranetDB
Tables: employees
Events Used
The page's OnInitializeView event is used to specify the file name and required "ContentType" and "Content-Disposition" header.
The grid's Before Select is used to hide the navigator (except in .NET) and display all records in the Excel mode.
The grid's Before Show event is used to hide the navigator in .NET.
Vendor *
Web Link
Date Entered 7/27/2019
You Tube Link
Type Of Article How To
Article ID 649


  Copyright    Lietz Development, Inc. 1996. All Rights Reserved.