How we define runat="server"



hi,
i wanted to know the exact use of runat="server" which is being used
is ASP.NET
why we every time need to use it, even when i want to do the work at
client side? How to do simple processings like displaying some message
at client side only without hitting server?

what is the use of onclick, as we have to use onserverclick always?
why it is not possible to do the things without using runat="server"
in script?

what is the exact difference between coding at client-side and coding
at server-side?

In ASP.NET, there are two forms design form and code-behind form and
several controls.
what is the difference between HTML and webforms controls?
because we hav to include runat="server" while dealing with HTML
controls.

.



Relevant Pages

  • Re: Multiple controls with the same ID _ctl11
    ... here is the client side HTML that generates the exception on ... Controls are preloaded like this after a recursive function searches ... problem as I am sure that any developer that has preloaded ASCX files ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)
  • Re: .ASP Properties vs Attributes
    ... however an attribute is used as they belong to HTML ... controls (which the servercontrols on the client side are as well). ... Width on the client side is an attribute. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: DoPostBack mthod call not inserted into html when override Render
    ... controls are not being called when I click a button. ... that I was overriding the Render method that I was not getting the ... > | the HTML page nor are the asp:buttons calling the DoPostBack. ... > | dynamically insert the client selected controls. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How we define runat="server"
    ... You can, if you are merely working client side, use HTML controls rather than server controls. ... For server controls, you do have to set runat, as the command has to be rendered and control servers side. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Windows Anwendungmit einer Web mySQL als Backend?
    ... Benutzerfreundlichekeit, Geschwindigkeit (Seite muss aufgebaut werden), das ... Nun wenn ich also das alles von Web auf Client verschieben will, ... Applikation gar nicht zur Gesicht bekomme und wenn das so wäre, ... Aussage "weil ich die Controls in meiner Applikation gar nicht zur Gesicht ...
    (microsoft.public.de.german.entwickler.dotnet.vb)