protected void btnedit_click(object sender, EventArgs e)
        {
            string value = hfdselid.Value;
            tbl_Person_Document_Detail pdd = Utilities_Licensing.EditDocument(Convert.ToInt32(value));

            hfddocid.Value = pdd.Document_ID.ToString();
            txt_com.Text   = pdd.Comments;
            if (ddl_lictypeedit.Items.FindByValue(pdd.License_Type.ToString()) != null)
            {
                ddl_lictypeedit.Items.FindByValue(pdd.License_Type.ToString()).Selected = true;
            }
            if (ddldoctypeedit.Items.FindByValue(pdd.DocType.ToString()) != null)
            {
                ddldoctypeedit.Items.FindByValue(pdd.DocType.ToString()).Selected = true;
            }
            string js = "Popup();";

            ScriptManager.RegisterStartupScript(Page, GetType(), "scr", js, true);
        }