Forums - C# Corner

Forum guidelines
Santhonabin

Santhonabin

  • 1.3k
  • 47
  • 137.1k

How to use ScriptManager.RegisterStartupScript in C#

Feb 22 2011 1:05 AM
Hi
  Pls tell me Step by step that how to use ScriptManager.RegisterStartupScript.

and also pls check following statement usage is correct or not. if not correct means pls tell the correct one.


protected
void Button1_Click(object sender, EventArgs e)


{

ScriptManager1.RegisterStartupScript(Page,Page.GetType(),

}

"alert", "", false);


Answers (2)

Unlimited Flat-Free License

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!