Ejemplo n.º 1
0
        /// <summary>
        /// Moves Items (Records) from the Left Select to Right Select
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void OnAddClick(object sender, EventArgs e)
        {
            ProjectManagementDa da = new ProjectManagementDa();
            string key             = "FromContacts";

            int[] keysToAdd = PageUtil.GetKeysFromMultiSelect(Request, key);
            if (keysToAdd.Length > 0)
            {
                da.AddAssociatedContacts(projectId, keysToAdd);
                BindContactsData();
            }
            base.RegisterUpdatePageScript(string.Empty, false);
        }