DVXP TEdit.NET 3.0

TableEditor.MaxCacheAge Property

The time span (entered as hh:mm:ss) after which the cache is automatically cleared. Useful when data in the underlying table is also modified by other programs than this instance of TEdit. The value 0:00:00 indicates that the cache remains valid indefinitely. Note that the cache can also be invalidated explicitly by calling InvalidateCache. The format of the time is [days.]hh:mm:ss, as descibed in the TimeSpan Parse method.

[Visual Basic]
Public Property MaxCacheAge As TimeSpan
[C#]
public System.TimeSpan MaxCacheAge {get; set;}

Example

            <tedit:TableEditor IsCacheEnabled="true" MaxCacheAge="0:10:00" id="editor"
               runat="server" ConfigFilePath="SingleTable.config" />
            

See Also

TableEditor Class | DVXP.DXTableEditor Namespace | IsCacheEnabled | InvalidateCache