示例#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;
                }
            }
        }
示例#2
0
 private void FillDropDown()
 {
     DropDownElements.SetStatus(ddlUltimoEstatusRegistrado);
 }
示例#3
0
 private void FillDropDowns()
 {
     DropDownElements.SetCallTypes(ddlBitTipoLlamada);
     DropDownElements.SetStatus(ddlBitStatus);
 }