View Single Post
Old November 27th, 2006, 08:47 AM
justKiran justKiran is offline
Registered User
Join Date: Nov 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

You can simple use "RegisterStartupScript" to run javascript from code behind page. eg.
code in page.aspx.cs would be something like this...

string strScript = "<script language=JavaScript> alert('hi')</Script>";

Hope this may help