Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Export Repeater To Word Control is an ASP.NET server control which helps in exporting contents of Repeater to Word Processing Document using Aspose.Words. It adds Export to Word button on top of the Repeater control. Clicking the button dynamically exports the content of the Repeater control to a Word Processing document and then automatically downloads the exported file to the disk location selected by the user in just couple of seconds.
This initial version of the control provides the following features:
This control allows you to export Repeater in the following different file formats.
Export Repeater To Word Control for Visual Studio can be used on any system that have IIS and .NET framework 2.0 or greater installed.
Export Repeater To Word Control for Visual Studio is supported of all version of ASP.NET running on .NET framework 2.0 or greater. You can use any of the following Visual Studio versions to use this control in your ASP.NET applications
You can download Export Repeater To Word Control from one of the following locations
It is very simple and easy to install Export Repeater To Word Control, please follow these simple steps
You will get a success dialog once the installation is completed.
Note: Please make sure to restart Visual Studio for the changes to take effect.
Please follow these steps to integrate Export Repeater To Word Control in Visual studio for easy drag and drop just like other ASP.NET controls
On the Tools menu, click Choose Toolbox Items.
The Open dialog box appears.
When you open an aspx or ascx control in the left side Toolbox you will see ExportRepeaterToWord under General Tab
Once installed, it is very easy to start using this control in your ASP.NET applications
For .NET framework 4.0 and above | For .NET framework 2.0 and above | |
---|---|---|
For applications running in .NET framework 4.0 and above in Visual Studio 2010 and above, you should see ExportRepeaterToWord control in Aspose Tab in Toolbar as shown below. You can simply drag drop this control onto your ASP.NET page, control or master page just like any other .NET control and get started. | In order you use this control in applications running in .NET 2.0 in any visual studio version make sure that you have added ExportRepeaterToWord to your toolbox as per instructions on 8.2.2.1 Downloading and Installing under heading For Visual Studio 2005, 2008 and Express editions You should see ExportRepeaterToWord control in General Tab in Toolbar as shown below. You can simply drag drop this control onto your ASP.NET page, control or master page just like any other .NET control and get started. |
If you have any issues using the above methods which uses Visual Studio Toolbox, you can manually add this control to your ASP.NET application running on any .NET framework greater than 2.0
<%@ Register assembly="Aspose.Words.RepeaterExport" namespace="Aspose.Words.RepeaterExport" tagprefix="aspose" %>
<aspose:ExportRepeaterToWord ID="ExportRepeaterToWord1" runat="server"></aspose:ExportRepeaterToWord>
Common questions and issues you might face while using this Control
# | Question |
Answer |
---|---|---|
1 | I cannot see ExportRepeaterToWord control in Toolbox | Visual Studio 2010 and higher 1. Make sure that you have installed this control using VSIX extension file found in downloaded package. To verify go to Tools -> Extension and Updates. Unders Installed you should see ‘Aspose Export RepeaterTo Word Control’. If don’t see it please try re-installing it 2. Make sure your web application is running in .NET framework 4.0 or higher, for lower versions of .NET framework please check the above alternate method. 3. Make sure that you have manually added this control to your Toolbox as per above instructions. |
2 | I am getting ‘Access is denied’ error when running the application | 1. If you are experiencing this problem on production then make sure that you copy both 2. If you are using Visual Studio make sure to run it as Administrator even if you are already logged-in as administrator. |
The following properties are exposed to configure and use cool features provided by this control
Property Name | Type | Example/Possible values | Description |
---|---|---|---|
ExportButtonText |
string | Export to Word | You can use this property to override existing default text |
ExportInLandscape |
bool | true or false | If true it changes the orientation of the output document to landscape. Default is Portrait |
ExportFileHeading |
string | <h4>Repeater Export Example Report</h4> | You can use html tags to add style to your heading |
ExportOutputFormat |
enum | Doc, Dot, Docx, Docm, Dotx, Dotm, Rtf, Odt, Ott, Txt | Output format of the exported document. Supported formats are Doc, Dot, Docx, Docm, Dotx, Dotm, Rtf, Odt, Ott, Txt |
ExportOutputPathOnServer |
string | c:\temp | Local output Disk path on server where a copy of the export is automatically saved. Application must have write access to this path. |
LicenseFilePath |
string | Local path on server to the license file. For example e:\Aspose\Aspose.Words.lic Aspose.Words.lic |
|
An example of Export Repeater to Word control with all properties used is shown below |
<aspose:ExportRepeaterToWord ID="ExportRepeaterToWord1" ExportButtonText="Export to Word"
ExportButtonCssClass="myClass" ExportOutputFormat="Doc" ExportInLandscape="true"
ExportOutputPathOnServer="E:\\temp" ExportFileHeading="<h4>Example Report</h4>"
LicenseFilePath="E:\\Aspose\\Aspose.Total.lic" runat="server">
<HeaderTemplate>
<table class="table table-hover table-bordered">
<tr>
<th>Product ID</th>
<th>Product Name</th>
<th>Units In Stock</th>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td><%# Eval("Product ID") %></td>
<td><%# Eval("Product Name")%></td>
<td><%# Eval("Units In Stock")%></td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</aspose:ExportRepeaterToWord>
Video demo will be available soon.
From the very first days of Aspose, we knew that just giving our customers good products would not be enough. We also needed to deliver good service. We are developers ourselves and understand how frustrating it is when a technical issue or a quirk in the software stops you from doing what you need to do. We’re here to solve problems, not to create them.
This is why we offer free support. Anyone who uses our product, whether they purchase them or are using an evaluation, deserves our full attention and respect.
You can log any issues or suggestions related to this control using Github.
Aspose .NET Export Repeater To Word Control for Visual Studio is open source and its source code is available on the major social coding websites listed below. Developers are encouraged to download the source code and extend the functionality as per their own requirements.
You can get the latest source code from one of the following locations
You need to have the following installed in order to open and extend the source code
Please follow these simple steps to get started
There are three projects in the solution
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.