Dotnet call in html - How to

  • Thread starter Thread starter Guest
  • Start date Start date
Thank you for your answer.

However, I want to import the function in a simple html page ( not asp or
aspx ) ? I want to load the function when the html page opens (onload), how
can I launch the function / what is the syntax to import it ? ( javascript or
vbscript )
 
Asp.net runs server side and outputs html, html is a client side
presentation mechanism and any dynamic action therefore really needs
javascript - thats done using something called registerstartupscript
http://msdn.microsoft.com/library/d...mWebUIPageClassRegisterStartupScriptTopic.asp.

You might want to also read up on ajax, or flash or something like the asp2
callbacks to make html make use of server functions from within html.

http://west-wind.com/weblog/posts/2302.aspx

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director
 
Back
Top