/// <summary>Page Load.</summary> public void Page_Load ( object sender, EventArgs e ) { String exceptionMessage = null; ServerMapPath = this.MapPath(""); /* FilenameConfigurationXml = Server.MapPath( FilenameConfigurationXml ); */ if ( ServerMapPath != null) { FilenameConfigurationXml = ServerMapPath + @"\" + FilenameConfigurationXml; }//if ( ServerMapPath != null) UtilityXml.XmlDocumentNodeInnerText ( FilenameConfigurationXml, ref exceptionMessage, UtilityFileUpload.XPathDatabaseConnectionString, ref DatabaseConnectionString ); if ( exceptionMessage != null ) { Feedback = exceptionMessage; return; }//if ( exceptionMessage != null ) if ( !Page.IsPostBack ) { FileUploadSource.Focus(); Page.SetFocus( FileUploadSource ); FileUploadSource.Attributes.Add("autocomplete", "on"); HtmlInputFileTarget.Attributes.Add("autocomplete", "on"); }//if ( !Page.IsPostBack ) }//Page_Load