In .NET Framework we have two types of controls:
1 Client Side
2 Server Side
Client side controls are HTML controls usually used for client end.
Ex : <input type="button" />
Server Side controls are ASP controls specially meant for server side
Ex: <asp:Button runat="server" Id="btnSubmit"> </asp:Button>
We can make a client side control server side by embedding runat="server" tag inside it
Ex : <input type="button" runat="server" />
This control is now server side
We cannot make a server side control client side
If we Do this it will throw an error
Ex :<asp:Button Id="btnSubmit"> </asp:Button>
0 Comment(s)