How to Redirect the Temp Directory Path of the
Barcode Server Control
By default, the server control expects the page to be in the virtual directory
on the server with a subdirectory of IDAutomation, which is where the images
are stored. While possible, overriding this feature is a bit tricky because
of how the underlying .NET classes work, but only three properties of the
server control need to be changed. Below are the steps:
- Set the AllowCustomPaths property to true. This tells the
control to override the default settings.
- Change the ImageLocalPath to the absolute path of the location
where the images are to be saved. This must be a subdirectory of the
virtual directory for security reasons. This tells the control specifically
where to save the images it creates. For example, this value would be
C:\inetpub\wwwroot\WebApplication1\MyBarcodeImages.
- Change the ImageRelativePath to the relative path of the
virtual directory where the images are stored. This effectively is the
source of the image tag in the html that is rendered by the control.
For example, this value would be
\MyBarcodeImages.
Copyright © 2002-2009 IDAutomation.com, Inc., All Rights
Reserved. Legal
Notices.
|
Over 70% of Fortune 100
companies use IDAutomation's products to automate their businesses.
|
|