This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<asp:DataPager ID="DataPagerProducts" runat="server" PagedControlID="LvCategoryItems" PageSize="10" OnPreRender="PagerCategoryItems_PreRender" class="btn-group pager-buttons"> | |
<Fields> | |
<asp:NextPreviousPagerField ShowLastPageButton="False" ShowNextPageButton="False" ButtonType="Button" ButtonCssClass="btn" RenderNonBreakingSpacesBetweenControls="false" /> | |
<asp:NumericPagerField ButtonType="Button" RenderNonBreakingSpacesBetweenControls="false" NumericButtonCssClass="btn" CurrentPageLabelCssClass="btn disabled" NextPreviousButtonCssClass="btn" /> | |
<asp:NextPreviousPagerField ShowFirstPageButton="False" ShowPreviousPageButton="False" ButtonType="Button" ButtonCssClass="btn" RenderNonBreakingSpacesBetweenControls="false" /> | |
</Fields> | |
</asp:DataPager> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//create advanced search | |
AdvancedSearchCriteria criteria = new AdvancedSearchCriteria(); | |
criteria.OrderBy = new List<OrderData>() | |
{ | |
new OrderData(SearchContentProperty.DateCreated, OrderDirection.Descending) | |
}; | |
criteria.PagingInfo = new PagingInfo(500); | |
criteria.PagingInfo.CurrentPage = 1; | |
criteria.ReturnProperties = new HashSet<PropertyExpression>() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function successCallback(position) { | |
//set latitude / longitude | |
var nearLat = position.coords.latitude; | |
var nearLong = position.coords.longitude; | |
//do whatever you need with the lat / long here | |
console.log('Latitude: ' + nearLat + ' Longitude: ' + nearLong); | |
} | |
function errorCallback(error) { |