Home

  
 
 

Search Knowledge Base


Knowledge Base Web View
Total Records: 103
ID Title Type Of Article
1381 
Work Order Task Details Updates to Main Work Order How To
1105 
Word for Windows Training Tips and Tricks Training Resources
474 
Windows Startup Folder Location Support
712 
Windows 10 multiple display - windows are moved and resized on display power cycle or sleep Support
257 
Windows 10 1803 Redstone 4 Upgrade Support
589 
Why is Data-Tech unique in an industry full of technology service providers? Case Study
595 
What value does Data-Tech bring to a Cloud Provider Partnership? Case Study
588 
Web Enable Applied Systems Technology Software and Consolidate Management Case Study
587 
Voice over IP Phone System as a Business Management Tool Case Study
96 
View emails of deleted employees with GFI Email Archiver Support
236 
Using DocuSign for Quotes in Scorpion Workflow
671 
Use Eversign with Engage for Digital Signatures on Quotes, Work Orders, Invoices and More How To
23 
Upgrading Xp Pro to Windows 7 application and all Support
778 
TPM Installed on Cheetah requires correct BIOS Version How To
594 
The solution was extremely reliable and the process couldn’t be simpler. Case Study
590 
Tew and Associates Migration to Managed Services and Cloud Solution Case Study
120 
Telnet to device not working externally but does internally Support
319 
Submit a Ticket on Scorpion Interactive - Client Facing How To
258 
SOPHOS XG Licensing Guide Support
1323 
Sophos MDR Managed Detection and Response Sales Collateral
1404 
Setup Engage BMS Launch Batch File for Engage Startup How To
1024 
Setup Access to Compliance File Manager on SI Portal How To
585 
Seminole Hard Rock Casino – PCI Compliance for 5 years of data backup on tape Case Study
101 
RETRIEVE AN ONT OR MODULE INVENTORY REPORT IN AXSVISION How To
1317 
Reenabling Home Page or Web Page Views for Outlook Folders How To
Add New  Records per page  1 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.