Exemplo n.º 1
0
        private void PopMenu1_ItemClick(object sender, PopEventArgs e)
        {
            switch (e.Item)
            {
            case "userprofile":
                HttpContext.Current.Response.Redirect(string.Format("userinfo.aspx?id={0}", DataRow["UserID"]));
                break;

            case "edituser":
                Forum.Redirect(Pages.admin_edituser, "u={0}", DataRow["UserID"]);
                break;
            }
        }
Exemplo n.º 2
0
 private void PopMenu1_ItemClick(object sender, PopEventArgs e)
 {
     switch(e.Item)
     {
         case "userprofile":
             HttpContext.Current.Response.Redirect(string.Format("userinfo.aspx?id={0}",DataRow["UserID"]));
             break;
         case "edituser":
             Forum.Redirect(Pages.admin_edituser,"u={0}",DataRow["UserID"]);
             break;
     }
 }
Exemplo n.º 3
0
 private void PopMenu1_ItemClick( object sender, PopEventArgs e )
 {
     switch ( e.Item )
     {
         case "userprofile":
             Forum.Redirect( Pages.profile, "u={0}", DataRow ["UserID"] );
             break;
         case "edituser":
             Forum.Redirect( Pages.admin_edituser, "u={0}", DataRow ["UserID"] );
             break;
     }
 }