protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { Jhilburn.BunchBallAdmin.Helpers.BunchBall bb = new Helpers.BunchBall(); string sessionKey = bb.GetAdminSessionKey(); if (sessionKey != null) { ddlAction.DataSource = GetActionTags(sessionKey); ddlAction.DataBind(); } } }
public void btnSubmit_Click(object sender, EventArgs e) { string[] users; users = txtUserId.Text.Split(','); Jhilburn.BunchBallAdmin.Helpers.BunchBall bb = new Helpers.BunchBall(); foreach (string u in users) { bb.LogAction(ddlAction.SelectedItem.ToString(), u.ToString(), txtValue.Text, bb.GetAdminSessionKey()); } Response.Redirect("~/finished.aspx"); }