protected void btneditjournal_click(object sender, EventArgs e) { string Value = hfdinsjournal.Value; Person_Details.tbl_Inspection_JournalDetail obj = Utilities_Licensing.EditInspection_JournalDetails(Value); ddlJournalType.SelectedValue = obj.JournalType; txt_journalcomments.Text = obj.Comments; string js = "Popup2();"; ScriptManager.RegisterStartupScript(Page, GetType(), "scr", js, true); }