ReSharper 8.0 Web Help

ReSharper | Templates Explorer | Live Templates | ASP.NET

ASP.net

ReSharper provides several live templates for ASP.NET, which are described below.

Template name Description
<asp:HyperLink

Go to top

Purpose
Inserts ASP.NET hyperlink control.

<asp:HyperLink runat="server" NavigateUrl="$LINK$" Text="$TEXT$" />

Before expansion

After expansion

Parameters

  • LINK - hyperlink.
  • TEXT - text caption.

t

Go to top

Purpose
Displays the list of tags which are available at current place and inserts chosen one.

<$TAG$$RUNATSERVER$>$END$</$TAG$>

Before expansion

After expansion

Parameters

  • TAG - name of tag to be inserted.
  • RUNATSERVER - attribute runat that gets inserted with value server if server-side tag selected.
  • END - position of the caret after applying the template.

tc

Go to top

Purpose
Displays the list of tags which are available at current place and inserts single closed tag.

<$TAG$$RUNATSERVER$ $END$/>

Before expansion

After expansion

Parameters

  • TAG - name of tag to be inserted.
  • RUNATSERVER - attribute runat that gets inserted with value server if server-side tag selected.
  • END - position of the caret after applying the template.

See Also

Reference