protected void LstCategories_Deleting(object sender, RadListBoxEventArgs e) { foreach (RadListBoxItem item in this.LstCategories.SelectedItems) { GooeyConfigManager.RemoveStorePackageCategory(item.Value); } }
void box_Deleted(object sender, RadListBoxEventArgs e) { if (Deleted != null) { foreach (RadListBoxItem item in e.Items) { Deleted(item); } OnActionComplete(); } }
protected void rdListDisponibles_Deleted(object sender, RadListBoxEventArgs e) { StringBuilder sPath = new StringBuilder(); sPath.Append(Server.MapPath(".")); sPath.Append(@"\style\"); sPath.Append(e.Items[0].Value); if (File.Exists(sPath.ToString())) { File.Delete(sPath.ToString()); } }
protected void rlst_BusinessUnit_Deleted(object sender, RadListBoxEventArgs e) { try { LoadBusinessUnit(); } catch (Exception ex) { SMHR.BLL.Error_Log(Session["USER_ID"].ToString(), ex.TargetSite.ToString(), ex.Message.Replace("'", "''"), "frm_Admin", ex.StackTrace, DateTime.Now); Response.Redirect("~/Frm_ErrorPage.aspx"); } }
protected void rlst_BusinessUnit_Deleted(object sender, RadListBoxEventArgs e) { LoadBusinessUnit(); }
/* * protected void ListCandidates_Transferred(object sender, Telerik.Web.UI.RadListBoxTransferredEventArgs e) * { * // this.ListCandidates.SortItems(); * * foreach (RadListBoxItem item in e.Items) * { * //Databind the item in order to evaluate the databinding expressions from the template * item.DataBind(); * } * * this.ButtonVote.Text = "Färdig!"; * this.ButtonVote.Enabled = this.ListVote.Items.Count > 0 && this.ListVote.Items.Count <= 22 ? true : false; * * this.ListVote.DataBind(); * }*/ /* * protected void ListVote_Transferred(object sender, Telerik.Web.UI.RadListBoxTransferredEventArgs e) * { * foreach (RadListBoxItem item in e.Items) * { * //Databind the item in order to evaluate the databinding expressions from the template * item.DataBind(); * } * * this.ListVote.DataBind(); // Re-bind for ordering * * this.ButtonVote.Text = "Färdig!"; * this.ButtonVote.Enabled = this.ListVote.Items.Count > 0 && this.ListVote.Items.Count <= 22 ? true : false; * }*/ protected void ListVote_Reordered(object sender, RadListBoxEventArgs e) { this.ListVote.DataBind(); }
void box_Reordered(object sender, RadListBoxEventArgs e) { RadListBox box = sender as RadListBox; ChangeItesOrder(box.Items); }
/* protected void ListCandidates_Transferred(object sender, Telerik.Web.UI.RadListBoxTransferredEventArgs e) { // this.ListCandidates.SortItems(); foreach (RadListBoxItem item in e.Items) { //Databind the item in order to evaluate the databinding expressions from the template item.DataBind(); } this.ButtonVote.Text = "Färdig!"; this.ButtonVote.Enabled = this.ListVote.Items.Count > 0 && this.ListVote.Items.Count <= 22 ? true : false; this.ListVote.DataBind(); }*/ /* protected void ListVote_Transferred(object sender, Telerik.Web.UI.RadListBoxTransferredEventArgs e) { foreach (RadListBoxItem item in e.Items) { //Databind the item in order to evaluate the databinding expressions from the template item.DataBind(); } this.ListVote.DataBind(); // Re-bind for ordering this.ButtonVote.Text = "Färdig!"; this.ButtonVote.Enabled = this.ListVote.Items.Count > 0 && this.ListVote.Items.Count <= 22 ? true : false; }*/ protected void ListVote_Reordered(object sender, RadListBoxEventArgs e) { this.ListVote.DataBind(); }