alex57
04-01-2010, 10:18 AM
Hello,
I used to work in PHP and sometimes used form elements like below to call javascriot functions.
<a href=”javascript: void(0);” onClick=”DoSomething();”>Hyperlink</a>
However, I have turned to ASP .NET and these are server side controls and the onClick event fires server side coding. How would you call client side scripting (ie. Javascript or equivalent) from a server side control? Can you harness the power of C# (ie full OO programming) on the client side?
Any advise on client side scripting using C# will be welcome.
I used to work in PHP and sometimes used form elements like below to call javascriot functions.
<a href=”javascript: void(0);” onClick=”DoSomething();”>Hyperlink</a>
However, I have turned to ASP .NET and these are server side controls and the onClick event fires server side coding. How would you call client side scripting (ie. Javascript or equivalent) from a server side control? Can you harness the power of C# (ie full OO programming) on the client side?
Any advise on client side scripting using C# will be welcome.