T
Tony Johansson
Hello!
I'm trying to understand these two types of control which are the new web
control and the old style HTML control that
originated from the standard asp time.
I hope to get an answer to these questions.
1. This type
<input id="Submit1" runat="server" type="submit" value="submit"
onclick="return Submit1_onclick()" />
is the old HTML control. When I click this button event handler
Submit1_onclick() is executed. But where is it executed is it on the server
or on the Client ?
The strange thing here is that when I click the submit button the Page_Load
on the server is called. whch means that this cause a postback.
2. Does it matter if I have runat="server" included or not when I use the
old HTML control.?
3. Is it possible to say that the old HTML control events handler is always
executed on the client site ?
4.The new webb server control is these always executed on the server side ?
5. My last question is it any point when creating new asp application to use
the old HTML control ?
//Tony
I'm trying to understand these two types of control which are the new web
control and the old style HTML control that
originated from the standard asp time.
I hope to get an answer to these questions.
1. This type
<input id="Submit1" runat="server" type="submit" value="submit"
onclick="return Submit1_onclick()" />
is the old HTML control. When I click this button event handler
Submit1_onclick() is executed. But where is it executed is it on the server
or on the Client ?
The strange thing here is that when I click the submit button the Page_Load
on the server is called. whch means that this cause a postback.
2. Does it matter if I have runat="server" included or not when I use the
old HTML control.?
3. Is it possible to say that the old HTML control events handler is always
executed on the client site ?
4.The new webb server control is these always executed on the server side ?
5. My last question is it any point when creating new asp application to use
the old HTML control ?
//Tony