Home

  
 
 

Search Knowledge Base


Knowledge Base Web View
Total Records: 944
ID Title Type Of Article
2289 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2288 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2287 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2286 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2285 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2284 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2283 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2282 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2281 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2280 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2279 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2278 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2277 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2276 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2275 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2274 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2273 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2272 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2271 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2270 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2269 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2268 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2267 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2266 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
2265 
Business Give me a list of inexpensive ideas to promote my business of IT Security. Support
Add New  Records per page  3 of 38   
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.