Ejemplo n.º 1
0
        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;
                }
            }
        }
Ejemplo n.º 2
0
 private void FillDropDown()
 {
     DropDownElements.SetStatus(ddlUltimoEstatusRegistrado);
 }
Ejemplo n.º 3
0
 private void FillDropDowns()
 {
     DropDownElements.SetCallTypes(ddlBitTipoLlamada);
     DropDownElements.SetStatus(ddlBitStatus);
 }