Forum
Products
Purchase
Support
Company
My Adillis
Knowledge Base
Forum
Home
/
Support
/
Knowledge Base
Forum
To post messages on the forum, you need to
login
first.
Search
Forum Home
Product Forums
smartDBforms.NET
Edit images in ...
Re: Edit images in database not displayed
10/30/2007 10:34:14 AM
Adillis Support
27 posts
adillis.com
Re: Edit images in database not displayed
Hi Joel,
The image that is used to indicate empty values is the following:
<websiteroot>\smartDBtemplates\EmptyImage.GIF.
You can override the EmptyImage.GIF file with our own.
If you have any other questions, we will be more than happy to help you.
Best wishes,
Adillis Support
Adillis - IT solutions http://adillis.com
11/5/2007 2:36:37 PM
Joel
4 posts
Re: Edit images in database not displayed
Hi,
How to use FileNameFromDiskTemplate template. I suppose it is saving the file name in database and the data is saved outside.
11/6/2007 8:19:16 AM
Adillis Support
27 posts
adillis.com
Re: Edit images in database not displayed
Hi Joel,
Yes, the FileNameFromDiskTemplate can be used with text data columns. The value in the database column stores a file name. The actual file resides in a predetermined folder in the web site. The folder location is specified in Web.config in the appSettings section. The setting is named SDBF_UploadDirectory and must point to a virtual directory. For example "~/UploadDir/". You can find example web.config in the Demo web site which is shipped with the installation.
In ReadOnly mode the FileNameFromDiskTemplate template displays either a link to download the file or an image depending on the extension of the actual file. In Edit mode the user can upload a new file. The file is saved in the designated folder and only the file name is stored in the database. If the database columns has text length limitation then the file name is shortened( preserving the extension) in order to fit into the specified limit.
If you have any other questions, we will be more than happy to help you.
Best wishes,
Adillis Support
Adillis - IT solutions http://adillis.com
Page 2 of 2
Previous
1
2
Product Forums
smartDBforms.NET
Edit images in ...
Flat View
Tree View
Oldest To Newest
Newest To Oldest
Copyright 2006-2008 Adillis
Terms Of Use
Feedback
Contact Us