protected void gvQueueUsers_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { //Find the DropDownList in the Row DropDownList ddlQueues = (e.Row.FindControl("ddlQueues") as DropDownList); DropDownElements.SetQueues(ddlQueues); //Select the Queue of User in DropDownList String queue = (e.Row.FindControl("lblQueue") as Label).Text; if (queue != String.Empty) { ddlQueues.Items.FindByText(queue).Selected = true; } } }
private void FillDropDown() { DropDownElements.SetStatus(ddlUltimoEstatusRegistrado); }
private void FillDropDowns() { DropDownElements.SetCallTypes(ddlBitTipoLlamada); DropDownElements.SetStatus(ddlBitStatus); }