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/de...criptTopic.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
"Samantha" <Sa******@discussions.microsoft.com> wrote in message
news:FD**********************************@microsof t.com...
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 )
"Cor Ligthert [MVP]" wrote:
Samantha, >
> I create a function in dotnet.
>
> How can I call it in a Html page ?
Using a button, however than on an ASPX page.
I hope this helps,
Cor