Xopus ASP.NET Example

This example is an overview of an Xopus integration using ASP.NET. It shows:

  1. how to start Xopus in StartXopus.aspx with the XML document picked in Default.aspx,
  2. how to pass parameters from Default.aspx to LoadXml.aspx to an load XML document,
  3. how to pass those parameters back through save.js to SaveXml.aspx.

Starting Xopus using a xopus.js in StartXopus.aspx

This method is most straightforward.

  1. In StartXopus.aspx xopus.js will start Xopus.
  2. Xopus will then reload StartXopus.aspx in its internal iframe and
  3. activate the Xopus Canvasses in StartXopus.aspx.

Starting Xopus directly

This is faster as is prevents reloading StartXopus.aspx after Xopus is started.

  1. xopus.html will be loaded first,
  2. it will load the url after the # in its internal iframe and
  3. activate the Xopus Canvasses in StartXopus.aspx.

xopus.js in StartXopus.aspx will automatically detect that Xopus has already been loaded.

Note that the path after the # needs to be absolute or relative to xopus.html.