Ramco Ramco

Ramco Ramco

  • 438
  • 3.4k
  • 542.4k

Working of Code

Oct 25 2022 9:32 AM

Hi

 How the below code works

private void ShowPopUpData()
        {
            try
            {
                StringBuilder sb = new StringBuilder();
                sb.Append(@"<script language='javascript'>");
                sb.Append(@"$('#modal_form_horizontal').modal('show');");
                sb.Append(@"</script>");

                ClientScript.RegisterStartupScript(this.GetType(), "JSScript", sb.ToString());
            }
            catch (Exception ex)
            {
                ShowMessage("Oops...", ex.Message, "error");
            }
        }

Thanks


Answers (2)