HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/RMourik/bassol.nl/wwwroot/CMSModules/CustomTables/CustomTable_Edit_General.aspx.cs
using System;

using CMS.Core;
using CMS.DataEngine;
using CMS.Helpers;
using CMS.UIControls;

[EditedObject("cms.class", "objectid")]
[UIElement(ModuleName.CUSTOMTABLES, "CustomTable.General")]
public partial class CMSModules_CustomTables_CustomTable_Edit_General : CMSCustomTablesPage
{   
    #region "Page events"

    protected void Page_Load(object sender, EventArgs e)
    {
        editElem.OnAfterSave += editElem_OnAfterSave;
    }


    protected void editElem_OnAfterSave(object sender, EventArgs e)
    {
        // Refresh parent frame header due to possible display name change (Custom tables has no ItemChanged support)
        ScriptHelper.RefreshTabHeader(Page, ((BaseInfo)EditedObject).Generalized.ObjectDisplayName);
    }

    #endregion
}