Tuesday 19 January 2016

Using Kendo Templates

First our template
<script id="data_upload_result_confirmation" type="text/x-kendo-template">
    <h4>#= firstname # is this information correct?</h4>

    <p style="text-align:center;">
        <button class="delete-confirm k-button">Ok</button>
        <a href="javascript:" class="delete-cancel">no</a>


Then the code to transform the data then open the window

  var kendoWindow = $("<div />").kendoWindow({
      title: "Confirm",
      resizable: false,
      width: 550,
      modal: true

  var template = kendo.template(
  var data = { firstname: "Rippo" };    
  var result = template(data);



Wednesday 6 January 2016

Allowing external urls into your DEV environment

Note to self:

When setting up a new machine (or site) in Visual Studio and you want IIS to server external URL's then open a command prompt with admin privalges and type:-

To delete if it exists
netsh http delete urlacl url=http://dev.wildesoft.net:44300/

To add (notice uppercase E in Everyone)

netsh http add urlacl url=http://dev.wildesoft.net:44300/ user=Everyone

You may need to add the entry in .vs/config/applicationhoist.config

You will also need to open up your routers firewall and also the windows firewall

NOTE: to show list of all allowed URLS
netsh http show urlacl