Hi
How the below code works
private void ShowPopUpData()
{
try
{
StringBuilder sb = new StringBuilder();
sb.Append(@"");
ClientScript.RegisterStartupScript(this.GetType(), "JSScript", sb.ToString());
}
catch (Exception ex)
{
ShowMessage("Oops...", ex.Message, "error");
}
}
Thanks
Abhishek YadavPosted Oct 25, 2022, 4:51 PM
Aravind GovindarajPosted Oct 25, 2022, 2:59 PM
Please refer to the below URL, may get some idea about the same
https://learn.microsoft.com/en-us/dotnet/api/system.web.ui.clientscriptmanager.registerstartupscript?view=netframework-4.8