Exemple #1
0
    private void Page_Controls()
    {
        // Switch to page view
        MultiView_Templates.SetActiveView(View_ShowTemplate);

        // Check _pageindexid
        string _masterpageindexid = Request["MasterPageIndexID"];

        if (!DataEval.IsEmptyQuery(_masterpageindexid))
        {
            TemplateShow.MasterPageIndexID = _masterpageindexid;
            MultiView_Templates.SetActiveView(View_ShowTemplate);
        }
        else
        {
            MultiView_Templates.SetActiveView(View_ListTemplate);
        }
    }
Exemple #2
0
 protected void btn_Template_Alllist_Click(object sender, EventArgs e)
 {
     MultiView_Templates.SetActiveView(View_ListTemplate);
 }
Exemple #3
0
 protected void btn_CreateTemplate_Click(object sender, EventArgs e)
 {
     // Switch to page view
     MultiView_Templates.SetActiveView(View_CreateTemplate);
 }
Exemple #4
0
 protected void lbnt_Template_Select_Command(object sender, CommandEventArgs e)
 {
     TemplateShow.MasterPageIndexID = e.CommandArgument.ToString();
     MultiView_Templates.SetActiveView(View_ShowTemplate);
 }