Skip to content

Instantly share code, notes, and snippets.

@sitefinitysteve
Created August 24, 2015 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sitefinitysteve/f7e57c829b6f7a9cbd0b to your computer and use it in GitHub Desktop.
Save sitefinitysteve/f7e57c829b6f7a9cbd0b to your computer and use it in GitHub Desktop.
JustCode template to reference a control in a Sitefinity .ascx simpleview template. I usually bind it to "sfv".
protected virtual $2$ $1$
{
get{
return this.Container.GetControl<$2$>("$1$", true);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment