private void save_Click(object sender, ImageClickEventArgs e)
        {
            if (DocumentTranslation.GetTranslationFolderContentType(_nodeId) != null)
            {
                var saved = "ok";
                try
                {
                    if (!DocumentTranslation.TranslationFolderExists(_nodeId))
                    {
                        if (!DocumentTranslation.TranslationFolderCreate(_nodeId))
                        {
                            throw new Exception();
                        }
                    }

                    if (CheckBoxList1.Items.Cast <ListItem>().Where(li => li.Selected).Any(li => !DocumentTranslation.TranslationNodeCreate(_nodeId, li.Value)))
                    {
                        throw new Exception();
                    }

                    DocumentTranslation.SortTranslationNodes(_nodeId);
                }
                catch (Exception ex)
                {
                    saved = ex.Message == "NoLangProp" ? "NoLangProp" : "failed";
                }

                Response.Redirect(_queryString.BeforeUrl + "?NodeID=" + _nodeId.ToStr() + "&saved=" + saved);
            }
        }
        private void CheckBoxMultiLanguageSelect_CheckedChanged(object sender, EventArgs e)
        {
            if (DocumentTranslation.GetTranslationFolderContentType(_nodeId) != null)
            {
                var s = sender as CheckBox;

                foreach (ListItem li in CheckBoxList1.Items)
                {
                    if (li.Enabled)
                    {
                        li.Selected = s.Checked ? true : false;
                    }
                }
            }
        }