예제 #1
0
        protected void chkIncluded_CheckedChanged(object sender, EventArgs e)
        {
            CheckBox checkbox = (CheckBox)sender;

            GridViewRow gridViewRow = (GridViewRow)checkbox.Parent.Parent;
            string      fileName    = gridViewRow.Cells[0].Text;

            AutoUpdateManager.SetPackageInclusionForPublication(PublicationID, fileName, checkbox.Checked);

            BindData();
        }
예제 #2
0
        public void SetPackageInclusionForPublication(int publicationID, string packageName, bool isIncluded)
        {
            CheckAccess();

            AutoUpdateManager.SetPackageInclusionForPublication(publicationID, packageName, isIncluded);
        }