Skip to content

Instantly share code, notes, and snippets.

@alexszilagyi
Created April 10, 2013 09:01
Show Gist options
  • Save alexszilagyi/5353046 to your computer and use it in GitHub Desktop.
Save alexszilagyi/5353046 to your computer and use it in GitHub Desktop.
<%@ Control Language="C#" %>
<%@ Register Assembly="Telerik.Sitefinity" TagPrefix="sf" Namespace="Telerik.Sitefinity.Web.UI" %>
<%@ Register Assembly="Telerik.Sitefinity" Namespace="Telerik.Sitefinity.Web.UI" TagPrefix="sitefinity" %>
<%@ Register Assembly="Telerik.Sitefinity" TagPrefix="sfFields" Namespace="Telerik.Sitefinity.Web.UI.Fields" %>
<sitefinity:ResourceLinks ID="resourcesLinks" runat="server">
<sitefinity:ResourceFile Name="Styles/Ajax.css" />
</sitefinity:ResourceLinks>
<div class="sfContentViews sfSingleContentView" style="max-height: 400px; overflow: auto;">
<ol>
<li class="sfFormCtrl">
<asp:Label ID="Label3" runat="server" AssociatedControlID="CompanyNameText" CssClass="sfTxtLbl">Company name</asp:Label>
<asp:TextBox ID="CompanyNameText" runat="server" CssClass="sfTxt" />
<div class="sfExample">
e.g. </div>
</li>
<li class="sfFormCtrl">
<asp:Label ID="Label4" runat="server" AssociatedControlID="StreetAndNumberText" CssClass="sfTxtLbl">Street name and street number</asp:Label>
<asp:TextBox ID="StreetAndNumberText" runat="server" CssClass="sfTxt" />
<div class="sfExample">
e.g.</div>
</li>
<li class="sfFormCtrl">
<asp:Label ID="Label5" runat="server" AssociatedControlID="PostOfficeText" CssClass="sfTxtLbl">Post office</asp:Label>
<asp:TextBox ID="PostOfficeText" runat="server" CssClass="sfTxt" />
<div class="sfExample">
e.g.</div>
</li>
<li class="sfFormCtrl">
<asp:Label ID="Label6" runat="server" AssociatedControlID="PostCodeAndCityText" CssClass="sfTxtLbl">Postal code and City name</asp:Label>
<asp:TextBox ID="PostCodeAndCityText" runat="server" CssClass="sfTxt" />
<div class="sfExample">
e.g.</div>
</li>
<li class="sfFormCtrl">
<asp:Label ID="Label7" runat="server" AssociatedControlID="TelephoneNumberText" CssClass="sfTxtLbl">Telephone number</asp:Label>
<asp:TextBox ID="TelephoneNumberText" runat="server" CssClass="sfTxt" />
<div class="sfExample">
e.g.</div>
</li>
<li class="sfFormCtrl">
<asp:Label ID="Label8" runat="server" AssociatedControlID="FaxNumberText" CssClass="sfTxtLbl">Fax number</asp:Label>
<asp:TextBox ID="FaxNumberText" runat="server" CssClass="sfTxt" />
<div class="sfExample">
e.g.</div>
</li>
<li class="sfFormCtrl">
<asp:Label ID="Label9" runat="server" AssociatedControlID="EmailText" CssClass="sfTxtLbl">Email address</asp:Label>
<asp:TextBox ID="EmailText" runat="server" CssClass="sfTxt" />
<div class="sfExample">
e.g.</div>
</li>
<li class="sfFormCtrl">
<asp:Label ID="Label2" runat="server" AssociatedControlID="GoogleMapsImageSelector" CssClass="sfTxtLbl">Google Maps picture</asp:Label>
<sitefinity:ImageField ID="GoogleMapsImageSelector" runat="server" DisplayMode="Write" UploadMode="Dialog"
DataFieldName="Image" />
<div class="sfExample">
Specify image</div>
</li>
<li class="sfFormCtrl">
<asp:Label ID="Label1" runat="server" AssociatedControlID="GoogleMapsRetinaImageSelector" CssClass="sfTxtLbl">Google Maps retina picture</asp:Label>
<sitefinity:ImageField ID="GoogleMapsRetinaImageSelector" runat="server" DisplayMode="Write" UploadMode="Dialog"
DataFieldName="Image" />
<div class="sfExample">
Specify retina image.</div>
</li>
</ol>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment