Esempio n. 1
0
 private void EditContent()
 {
     long lId;
         bool ret;
         string strPage = "";
         lId = long.Parse(Request.QueryString["id"]);
         try
         {
             strPage = Request.QueryString["page"];
             _EkContent = _CommonApi.EkContentRef;
             ret = System.Convert.ToBoolean(_EkContent.TakeOwnership(lId));
             Response.Redirect((string) ("edit.aspx?LangType=" + _CommonApi.ContentLanguage + "&id=" + lId + "&type=update&back_page=" + strPage), false);
         }
         catch (Exception ex)
         {
             Utilities.ShowError(ex.Message);
         }
 }