AuthenticDocumentView.XMLData

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Introduction to ASP.NET Server Control for Authentic Browser > How to use Authentic Client Event Functions > Properties >

AuthenticDocumentView.XMLData

AuthenticDocumentView.XMLData

 

Declaration: string XMLData

 

Description

Plugin's XML-Data as string. The property can be used to set or retrieve the whole XML-Data.

XML data can also be specified by using the XmlDataURL or XmlDataDocument property.

This property cannot be set in the Property Browser (non-browsable).

 

Example:

 // show the xml-data In a textbox, when it's saved

 Public class WebForm2 : System.Web.UI.Page

 {

         protected System.Web.UI.WebControls.TextBox TextBox1;

         protected Altova.Authentic.WebControls.AuthenticDocumentView AuthenticDocumentView1;

 

         Private void Page_Load(Object sender, System.EventArgs e)

         {

                 // attach our DataSaved Eventhandler

                 AuthenticDocumentView1.DataSaved += New EventHandler(AuthenticDocumentView1_DataSaved);

         }

 

         Public void AuthenticDocumentView1_DataSaved(Object sender, System.EventArgs e)

         {

                 // Get xml-data from AuthenticDocumentView And show it In a TextBox

                 TextBox1.Text = AuthenticDocumentView1.XmlData;

         }

         ...


© 2019 Altova GmbH