Add RunAt Attribute (ASP.NET)

Adds a runat = "server" attribute to the current control or tag.

Availability

Available from the context menu or via shortcuts:

  • when the cursor is on a control or tag.

Example

<asp:button id="button1" EnableViewState="true">MyButton</asp:button>

Result:

<asp:button id="button1" EnableViewState="true" runat="server">MyButton</asp:button>