WebGrid provides an exporting feature which is very helpful to export the data in WebGrid.
In this topic, you will learn how to set Allow Exporting from designer.
To perform exporting data in WebGrid
- Open WebGrid.NET Designer.
- Select the Allow Exporting properties in QuickStart - Popular Settings - Main Features section.
- Click OK to apply the changes.
- Create a folder to hold the generated output files. By default, the ReportPath is assigned to "~/TempReports" which means the "TempReports" folder should be created under the root of the web application. The folder also needs permission to allow the asp-net worker process to write the generated output files into the folder.
- Run the project.
Tasks
How-to: Export text when WebValueList is used
References
AllowExport Property
Other Resources
Walkthrough Topics
How-to Topics