Sharing and synchronizing data among visitors by DLL
Using TreeGrid server library and checking for updates feature
Do not run this file locally!
Run it from your local or remote web http server where is installed IIS and ASP.NET (1.0, 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, ...).
Source files: FileSharing.html
(this html page),
FileDef.xml
(static XML layout),
FileSharing.aspx
(server script generates and processes XML data; uses the TreeGrid.dll/so),
FileData.xml
(source XML data)
TreeGrid.dll
or
TreeGrid.so
library located in package root directory
/Server/ or
/Server/DLL64 depending on server system.
This library is used in FileSharing.aspx.
tmp/
directory can be used for temporary data to free ASP.NET memory.
This example demonstrates using
TreeGrid server side DLL / SO
library
for
server side
paging,
calculations,
grouping,
sorting,
filtering and
updates.
It demonstrates especially
checking for updates
feature.
This example loads all data from the
FileData.xml file and fills them to TreeGrid DLL and uses it for generating data and pages for client.
Uploaded changes are sent only to TreeGrid DLL, to all users, and saved to temporary xml in
/tmp directory.
This example does not modify the source FileData.xml!
This example does not use any custom JavaScript or server script code, all features are set via XML data definitions and provided by TreeGrid!
This page contains two independent grids as demonstration of two independent applications.
Both these grid show the same XML data file. If you change data (and save changes) in one grid,
the other grid will get information from server about change and let you to download changes.
You can also open this page in new window to get more grid instances
open new page.