home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 40 / IOPROG_40.ISO / SOFT / NETFrameworkSDK.exe / comsdk.cab / samples.exe / QuickStart / aspplus / doc / offlinedata.aspx < prev    next >
Encoding:
Text File  |  2000-06-11  |  1.4 KB  |  21 lines

  1. <%@ Register TagPrefix="Acme" TagName="SourceRef" Src="/quickstart/util/SrcRef.aspx"%>
  2.  
  3. <!-- #include virtual="/quickstart/aspplus/include/header.inc" -->
  4.  
  5. <h4>Offline Data Synchronization</h4>
  6. The first release of My Web does not provide support for automatic data synchronization or replication, so applications that need data synchronization or replication services need to build that support in.
  7. <p>
  8. My Web offers some services to these applications to help facilitate this task.  My Web applications can find out if they're currently connected to a network or not by checking the <b>MyWeb.Connected</b> property.  The following examples demonstrates the use of this property.  To get the most out of the demo, run it when you're connected to a network and notice that there are links to financial information.  Then, go to the Internet Explorer file menu and select "Work Offline" and refresh the page.  Note that this time the links aren't present--the application is manufacturing them only if it's connected.  
  9. <p>
  10.  
  11.  
  12. <p>
  13. <Acme:SourceRef 
  14.   RunSample="myweb://localhost/quickstart/aspplus/samples/myweb/mortgage4/default.aspx" 
  15.   ViewSource="/quickstart/aspplus/samples/myweb/mortgage4.src"
  16.   Icon="/quickstart/aspplus/images/mortgage4.gif"
  17.   Caption="Mortgage Calculator 4"
  18.   runat="server" />
  19.  
  20.  
  21. <!-- #include virtual="/quickstart/aspplus/include/footer.inc" -->