B
Bob
Hi,
in aspx file, i defined this:
<input id="Button2" type="button" value="button" runat="server"
onclick="klik()"/>
This 'onclick' event is a clientclick (starting the Javascript function
"klik()" ).
I want to do a 'server onclick', just like the <asp:Button> control, but it
doesn't appear in the Intellisense nor in code-behind.
My question is:
is it possible to do an onclick event on the server?
If yes: how?
If no: what's the purpose of using an HTML input control with
runat="server"? What's the difference with a HTML input control not running
on the server (except it runs on the server), since it's not possible to
'onclick' on the server?
Thanks
Bob
in aspx file, i defined this:
<input id="Button2" type="button" value="button" runat="server"
onclick="klik()"/>
This 'onclick' event is a clientclick (starting the Javascript function
"klik()" ).
I want to do a 'server onclick', just like the <asp:Button> control, but it
doesn't appear in the Intellisense nor in code-behind.
My question is:
is it possible to do an onclick event on the server?
If yes: how?
If no: what's the purpose of using an HTML input control with
runat="server"? What's the difference with a HTML input control not running
on the server (except it runs on the server), since it's not possible to
'onclick' on the server?
Thanks
Bob