Example #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;
            }
        }
Example #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;
     }
 }
Example #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;
     }
 }