Does ClientScript.RegisterStartupScript actually call the JS function that is defined inside it?
View Complete Post
I need help putting together code that would call the below Java function in asp vb 2008. Thank you.
function OnBeginRequest(sender, args)
Though i am using ClientScript.RegisterStartupScrip(), sometime it is working(for alert) but when i am using for display confirm message it is not showing Confirm message.
this is not working.
Please help me out.
Thanks & Regards,
I am looking for the way to solve my problem. Suppose the following scenario:
The content of samplecode.js is like this:
// code here.
When the script is run, some parameters are returned from server and is write into your page. Like: (document.write(parameters) ).
So now You want to use this script more than one time in your webpage. Then each time is run separately and the parameters are returned in separately call. Like: