use of runat property of control in ASP.NET
In : BSc IT Subject : Web Application Development - ASP.NETThe runat="server" property makes an HTML element programmable on the server side in ASP.NET.
Key Points:
-
Allows you to access and manipulate the control in C# or VB.NET code-behind .
-
Converts a static HTML element into a server control .
-
Required for ASP.NET event-driven programming (like button clicks, form submissions).