예제 #1
0
        protected void ShowError(string message, string completeMessage)
        {
            MasterPage masterPage = this.Master;

            if (masterPage == null)
            {
                return;
            }

            BaseTCwebAdministrationMasterPage nopAdministrationMasterPage = masterPage as BaseTCwebAdministrationMasterPage;

            if (nopAdministrationMasterPage != null)
            {
                nopAdministrationMasterPage.ShowError(message, completeMessage);
            }
        }
예제 #2
0
        protected void ShowMessage(string message)
        {
            if (this.Page == null)
            {
                return;
            }

            MasterPage masterPage = this.Page.Master;

            if (masterPage == null)
            {
                return;
            }

            BaseTCwebAdministrationMasterPage nopAdministrationMasterPage = masterPage as BaseTCwebAdministrationMasterPage;

            if (nopAdministrationMasterPage != null)
            {
                nopAdministrationMasterPage.ShowMessage(message);
            }
        }