protected void GrabAttachments(WordPressPost wpPage) { if (chkFileGrab.Checked) { wpPage.GrabAttachments(ddlFolders.SelectedValue, wpSite); } }