protected void OnCopyObject(object sender, EventArgs e)
 {
     String[] communityIds = Request.Form.GetValues("CTYSEL");
     if (communityIds != null)
     {
         foreach (string communityId in communityIds)
         {
             if (communityId.Length > 0)
             {
                 DataObject copiedDataObject = dataObject.CopyToCommunity(UserDataContext.GetUserDataContext(), communityId.ToGuid());
                 copiedDataObject.Insert(UserDataContext.GetUserDataContext());
             }
         }
         ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "CloseWindowClosFunc", CloseWindowJSFunction, true);
     }
 }