/// ----------------------------------------------------------------------------- 
        /// <summary> 
        /// Page_Load runs when the control is loaded 
        /// </summary> 
        /// <remarks> 
        /// </remarks> 
        /// <history> 
        /// </history> 
        /// ----------------------------------------------------------------------------- 
        protected void Page_Load(object sender, System.EventArgs e)
        {
            try
            {

                // Determine ItemId of DocumentsExchangeModule to Update
                if ((Request.QueryString["ItemId"] != null))
                {
                    ItemId = Int32.Parse(Request.QueryString["ItemId"]);
                }

                // If this is the first visit to the page, bind the role data to the datalist
                if (Page.IsPostBack == false)
                {

                    cmdDelete.Attributes.Add("onClick", "javascript:return confirm('" + Localization.GetString("DeleteItem") + "');");

                    if (!Null.IsNull(ItemId))
                    {
                        // get content
                        DocumentsExchangeModuleController objDocumentsExchangeModules = new DocumentsExchangeModuleController();
                        DocumentsExchangeModuleInfo objDocumentsExchangeModule = objDocumentsExchangeModules.GetDocumentsExchangeModule(ModuleId, ItemId);
                        if ((objDocumentsExchangeModule != null))
                        {
                            txtContent.Text = objDocumentsExchangeModule.Content;
                            ctlAudit.CreatedByUser = objDocumentsExchangeModule.CreatedByUserName;
                            ctlAudit.CreatedDate = objDocumentsExchangeModule.CreatedDate.ToString();
                        }
                        else
                        {
                            // security violation attempt to access item not related to this Module
                            Response.Redirect(Globals.NavigateURL(), true);
                        }
                    }
                    else
                    {
                        cmdDelete.Visible = false;
                        ctlAudit.Visible = false;
                    }
                }
            }

            catch (Exception exc)
            {
                //Module failed to load
                Exceptions.ProcessModuleLoadException(this, exc);
            }
        }