Exemplo n.º 1
0
        protected void OnSaveClick(object sender, EventArgs e)
        {
            ProfileNotification profileNotification = PhMessaging.FindControl("PNO") as ProfileNotification;

            if (profileNotification != null)
            {
                profileNotification.Save();
            }
        }
Exemplo n.º 2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (CustomizationSection.CachedInstance.Modules["Alerts"].Enabled)
     {
         ProfileNotification profileNotification = this.LoadControl("~/UserControls/Dashboard/ProfileNotification.ascx") as ProfileNotification;
         profileNotification.ID = "PNO";
         PhMessaging.Controls.Add(profileNotification);
     }
 }