protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         if (PortalId != string.Empty && RoleId != string.Empty)
         {
             string  XSLT_FilePath = "~/modules/menu/XsltTransformer.xslt";
             TabMenu admin_menu    = new TabMenu();
             string  result        = admin_menu.ExecuteXSLTransformation(Convert.ToInt32(PortalId), RoleId, XSLT_FilePath, 1);
             if (result != string.Empty)
             {
                 Literal_Menu.Text = result;
             }
             else
             {
                 Literal_Menu.Text = "Không tìm thấy dữ liệu";
             }
         }
         else
         {
             string scriptCode = "<script>alert('Session Timeout.');window.location.href='/login/'</script>";
             Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "scriptName", scriptCode);
         }
     }
 }
 protected void Page_Load(object sender, EventArgs e)
 { 
     if (!Page.IsPostBack)
     {
         if (PortalId != string.Empty && RoleId != string.Empty)
         {
             string XSLT_FilePath = "~/modules/menu/XsltTransformer.xslt";
             TabMenu admin_menu = new TabMenu();
             string result = admin_menu.ExecuteXSLTransformation(Convert.ToInt32(PortalId), RoleId, XSLT_FilePath, 1);
             if (result != string.Empty)
                 Literal_Menu.Text = result;
             else
                 Literal_Menu.Text = "Không tìm thấy dữ liệu";
         }
         else
         {
             string scriptCode = "<script>alert('Session Timeout.');window.location.href='/login/'</script>";
             Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "scriptName", scriptCode);
         }
     }    
 }