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
using System; | |
using EQATEC.Analytics.Monitor; | |
sealed partial class App : Application | |
{ | |
public static IAnalyticsMonitor Monitor; | |
public App() | |
{ | |
this.Suspending += OnSuspending; |
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 Get-AllUsers { | |
param ( | |
[string] $siteUrl = "", | |
[string] $username = "", | |
[string] $password = "" | |
) | |
if ($siteUrl -eq "") | |
{ | |
$siteUrl = Read-Host "Site URL"; |
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
<div id="..." data-role="view" data-title="..."> | |
<ul data-role="listview" data-style="inset"> | |
<li> | |
<!-- search --> | |
<input type="search" value="search" /> | |
Search: | |
</li> | |
<li> | |
<!-- url --> | |
<input type="url" value="http://www.kendoui.com" /> |
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
.burndown-wrap { | |
height: 50px; | |
width: 100px; | |
... | |
} |
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
<%: Html.Kendo().Calendar() | |
.Name("calendar") | |
%> |
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
<ul id="actions" data-role="actionsheet"> | |
<li class="km-actionsheet-title">Monday's meeting</li> | |
<li><a href="#" data-action="reply>Reply</a></li> | |
<li><a href="#" data-action="replyAll>Reply All</a></li> | |
<li><a href="#" data-action="archive>Archive</a></li> | |
</ul> |
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
<script type="text/x-kendo-template" id="tmplThingItem"> | |
<a class="km-listview-link" | |
data-role="listview-link" | |
data-rel="actionsheet" | |
href="\\#thingActions" | |
data-actionsheet-context="#:data.id#"> | |
<div class="thingTitle">#= data.description #</div> | |
</a> | |
</script> |
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
$("#listView").kendoListView({ | |
change: function(e) { | |
var data = dataSource.view(), | |
selected = $.map(this.select(), function(item) { | |
return data[$(item).index()].ProductName; | |
}); | |
// index selected or read item information through data | |
} | |
}); |
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
$("#listView").kendoListView({ | |
dataSource: dataSource, | |
pageable: true, | |
selectable: "multiple", | |
template: kendo.template($("#template").html()) | |
}); |
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
var listView = $("#listView").kendoListView({ | |
dataSource: dataSource, | |
template: kendo.template($("#template").html()), | |
editTemplate: kendo.template($("#editTemplate").html()) | |
}).delegate(".k-edit-button", "click", function(e) { | |
listView.edit($(this).closest(".product-view")); | |
e.preventDefault(); | |
}).delegate(".k-delete-button", "click", function(e) { | |
listView.remove($(this).closest(".product-view")); | |
e.preventDefault(); |