protected void OnItemCommand(object source, RepeaterCommandEventArgs e) { int id = GetId(e); if (e.CommandName == "Delete") { model.Delete(id); } else if (e.CommandName == "On/Off") { model.OnOff(id); } else if (e.CommandName == "Bass") { model.Bass(id); } else if (e.CommandName == "Open/Close") { model.OpenClose(id); } else if (e.CommandName == "REC") { model.Rec(id); } else if (e.CommandName == "Warmer") { model.Warmer(id); } else if (e.CommandName == "Cooler") { model.Cooler(id); } else if (e.CommandName == "ThreeD") { model.ThreeD(id); } else if (e.CommandName == "Louder") { model.Louder(id); } else if (e.CommandName == "Hush") { model.Hush(id); } else if (e.CommandName == "Mute") { model.Mute(id); } RadioButtonsDown(); Response.Redirect(Request.RawUrl); }