protected void uiLinkButtonUpdate_Click(object sender, EventArgs e)
        {
            DBLayer db = new DBLayer();
            string imagepath = "";
            if (uiFileUploadImage.HasFile)
            {
                uiFileUploadImage.SaveAs(Server.MapPath(ConfigurationManager.AppSettings["UserFilePath"] + "UploadedImages/" + uiFileUploadImage.FileName));
                imagepath = ConfigurationManager.AppSettings["UserFilePath"] + "UploadedImages/" + uiFileUploadImage.FileName;
            }
            DataSet ds = new DataSet();
            ds = db.GetBlockContent(CurrentBlock);
            string temp = ds.Tables[0].Rows[0]["arImagepath"].ToString();
            if (temp != imagepath && string.IsNullOrEmpty(imagepath))
                db.SetArabicBlockContent(CurrentBlock, Server.HtmlEncode(uiFCKeditor.Value), uiTextBoxTitle.Text, temp);
            else
                db.SetArabicBlockContent(CurrentBlock, Server.HtmlEncode(uiFCKeditor.Value), uiTextBoxTitle.Text, imagepath);

            uiTextBoxTitle.Text = "";
            uiFCKeditor.Value = "";
            CurrentBlock = 0;
            uiPanelCurrentBlocks.Visible = true;
            uiPanelCurrent.Visible = false;
        }