Hi,
I created a Grid with a custom popup to edit my record I used the code below:
editable: {mode: 'popup', template: kendo.template($("#myEdit").html())},This works fine, but I also wanted to implement an area where I could display the errors that came from the server, so my popup was something like this
<script id="edit_admLicenca" type="text/x-kendo-template" ng-controller='mainController'> <div class="col-md-5 col-md-offset-3"> <h3> Licença</h3> <div class="alert alert-danger"> {{errorHomeMsg}} </div> <div class="form-group"> <label for="nomCliente">Nome:</label> <input type="text" class="form-control" name="nomCliente"/> <label for="datExpiracao">Nome:</label> <input type="date" class="form-control" name="datExpiracao"/> </div> </div></script>But when I try to run it, it doesn't work, it displays the {{errorHomeMsg}} even though my update works correctly.Any thoughts?
Att
Matheus Mokwa