/// <summary>
        /// The UpdateBtn_Click event handler on this Page is used to either
        /// create or update a link.  It  uses the Rainbow.EnhancedLinkDB()
        /// data component to encapsulate all data functionality.
        /// </summary>
        /// <param name="e">The <see cref="T:System.EventArgs"/> instance containing the event data.</param>
        protected override void OnUpdate(EventArgs e)
        {
            base.OnUpdate(e);

            if (Page.IsValid == true)
            {
                // Create an instance of the EnhancedLink DB component
                EnhancedLinkDB enhancedLinks = new EnhancedLinkDB();

                if (ItemID == 0)
                {
                    // Add the link within the Links table
                    enhancedLinks.AddEnhancedLink(ModuleID, ItemID, PortalSettings.CurrentUser.Identity.Email,
                                                  TitleField.Text, UrlField.Text, MobileUrlField.Text,
                                                  Int32.Parse(ViewOrderField.Text), DescriptionField.Text, Src.Text, 0,
                                                  TargetField.SelectedItem.Text);
                }
                else
                {
                    // Update the link within the Links table
                    enhancedLinks.UpdateEnhancedLink(ModuleID, ItemID, PortalSettings.CurrentUser.Identity.Email,
                                                     TitleField.Text, UrlField.Text, MobileUrlField.Text,
                                                     Int32.Parse(ViewOrderField.Text), DescriptionField.Text, Src.Text,
                                                     0, TargetField.SelectedItem.Text);
                }

                // Redirect back to the portal home page
                RedirectBackToReferringPage();
            }
        }