Ejemplo n.º 1
0
    protected void BindBuckets(object sender, Telerik.Web.UI.DropDownListEventArgs e)
    {
        LeadsUtil.BindBuckets(dd_move_projects, dd_move_buckets, hf_project_id.Value, true);
        LeadsUtil.BindBuckets(dd_del_projects, dd_del_buckets, hf_project_id.Value, false, true);

        dd_del_buckets.Items.Insert(0, new Telerik.Web.UI.DropDownListItem("Delete all remaining Leads", "-1"));
    }
Ejemplo n.º 2
0
    protected void BindBuckets(object sender, Telerik.Web.UI.DropDownListEventArgs e)
    {
        RadDropDownList dd_project = (RadDropDownList)sender;
        RadDropDownList dd_bucket  = null;

        if (dd_project.ID == "dd_del_move_project")
        {
            dd_bucket = dd_del_move_bucket;
            if (dd_del_move_project.SelectedItem.Text.Contains("Just delete"))
            {
                dd_bucket.Items.Clear();
                dd_bucket.Enabled = false;
                dd_bucket         = null;
            }
        }
        else
        {
            dd_bucket = dd_buckets;
        }

        if (dd_bucket != null)
        {
            dd_bucket.Enabled = true;
            LeadsUtil.BindBuckets(dd_project, dd_bucket, hf_project_id.Value, true);
        }

        Util.ResizeRadWindow(this);
    }
    protected void dd_project_SelectedIndexChanged(object sender, DropDownListEventArgs e)
    {
        RadDropDownList dd_project = (RadDropDownList)sender;
        String          TempLeadID = dd_project.ID.Replace("dd_project_", String.Empty);
        RadDropDownList dd_bucket  = (RadDropDownList)dd_project.Parent.FindControl("dd_bucket_" + TempLeadID);

        LeadsUtil.BindBuckets(dd_project, dd_bucket, String.Empty, true);
    }
Ejemplo n.º 4
0
 protected void BindBuckets(object sender, Telerik.Web.UI.DropDownListEventArgs e)
 {
     if (hf_from_search.Value == "1")
     {
         LeadsUtil.BindBuckets(dd_projects, dd_buckets, null, false);
     }
     else
     {
         LeadsUtil.BindBuckets(dd_projects, dd_buckets, hf_bucket_id.Value, true);
     }
 }
Ejemplo n.º 5
0
    protected void ChangingRestoreChoice(object sender, Telerik.Web.UI.DropDownListEventArgs e)
    {
        bool IsClientList = dd_restore_choice.SelectedItem.Value == "CL";
        tr_client_list.Visible = IsClientList;

        BindProjects(IsClientList);

        if (IsClientList)
        {
            lbl_project.Text = "From Project:";
            LeadsUtil.BindBuckets(dd_project, dd_client_list, String.Empty, false, true);
        }
        else
            lbl_project.Text = "Project:";

        Util.ResizeRadWindow(this);
    }
Ejemplo n.º 6
0
 protected void BindBuckets(object sender, Telerik.Web.UI.DropDownListEventArgs e)
 {
     LeadsUtil.BindBuckets(dd_projects, dd_buckets, hf_project_id.Value, true);
 }