RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomLocateFileService.OnFindTemplateFile Event

Occurs when the WebSnap application tries to locate the template file for a content producer.

Pascal
property OnFindTemplateFile: TLocateFileServiceFindFileEvent;
C++
__property TLocateFileServiceFindFileEvent OnFindTemplateFile;

Write an OnFindIncludeFile event handler to indicate the location on disk of templates that a content producer component uses to generate its content. In WebSnap applications that include a locate file service component, you must supply either an OnFindTemplateFile or an OnFindStream event handler (or both) if the application has content producers that use template files. Otherwise content producers can't locate their templates. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!