protected void btnSave_Click(object sender, EventArgs e)
 {
     switch (SubjectCase )
     {
         case ESubjectCase.Plugg:
             PluggContainer pc = new PluggContainer(CultureCode, ItemId);
             if (pc.ThePlugg != null && pc.ThePlugg.PluggId != 0)
             {
                 pc.ThePlugg.SubjectId = Convert.ToInt32(hdnNodeSubjectId.Value);
                 pc.UpdatePluggEntity();
             }
             Response.Redirect(DotNetNuke.Common.Globals.NavigateURL(TabId, "", "edit=0", AttachQS));
             break;
         case ESubjectCase.Course:
             CourseContainer cc = new CourseContainer(CultureCode, ItemId);
             if (cc.TheCourse != null && cc.TheCourse.CourseId != 0)
             {
                 cc.TheCourse.SubjectId = Convert.ToInt32(hdnNodeSubjectId.Value);
                 cc.UpdateCourseEntity();
             }
             Response.Redirect(DotNetNuke.Common.Globals.NavigateURL(TabId, "", "edit=0", AttachQS));
             break;
         case ESubjectCase.NotSet:
             throw new Exception("Subject case not set");
             break;
     }
 }