|
How to install FileVistaControl
-
Copy the whole "FileVistaControl" subfolder under your project's root folder.
-
Open your project with Visual Studio 2005 and add reference to
FileVistaControl\bin\GleamTech.Web.Controls.FileVistaControl.dll
-
Edit your project's web.config file and add the following settings between
<system.web> tags:
<pages>
<controls>
<add tagPrefix="GleamTech"
tagName="FileVistaControl"
src="~/FileVistaControl/filevista.ascx" />
<add tagPrefix="GleamTech"
assembly="GleamTech.Web.Controls.FileVistaControl"
namespace="GleamTech.Web.Controls" />
</controls>
</pages>
<httpModules>
<add name="UploadHttpModule"
type="GleamTech.Web.FileTransfer.UploadHttpModule,
GleamTech.Web.FileTransfer" />
</httpModules>
<webServices>
<protocols>
<add name="HttpPost"/>
</protocols>
</webServices>
-
You can now add the control via tagPrefix or programmatically in your code.
-
There is an example project in subfolder "FileVistaExamples" which demonstrates
the methods and settings for adding the control to your pages.
|