Sample code to send a put request in AngularJS using $resources app.service(‘ReprocessService’, function ($resource, sharedDataFactory) { “use strict”; this.batchId = 0; this.Action = {}; return $resource(sharedDataFactory.Data.AVPWebServiceUrl + “/api/Action?id=:id”, null, { ‘update’: { method: ‘PUT’ } }); });       var param = { “ValidationBatchId”: batchValidationReprocessService.batchId, “IsMatchMsgClearingRequired”: ReprocessService.Action.ClearCurrentMatches }; console.log(param); ReprocessService.update({ id: $scope.ActionId }, param).$promise.then( […]

Read More →
Uncategorized

Code snippet to use for implementing Radio button in AngularJS   <form name=”actionForm” class=”mt”> <input type=”radio” ng-model=”Action.Id” value=”1″> 1<br /> <input type=”radio” ng-model=”Action.Id” ng-value=”setValue”> 4<br /> <input type=”radio” ng-model=”Action.Id” value=”2″> 2<br /> <input type=”radio” ng-model=”Action.Id” value=”3″> 3<br /> </form>   $scope.setValue = { “value”: “4” };

Read More →
Uncategorized

Link to follow : http://www.telerik.com/forums/use-dropdownlist-in-grid-column-filter http://demos.telerik.com/kendo-ui/grid/persist-state http://blogs.telerik.com/kendoui/posts/14-02-26/a-few-angular-kendo-ui-best-practices   Short Code: var grid = $(“#grid”).data(“kendoGrid”); $(“#save”).click(function (e) { e.preventDefault(); localStorage[“kendo-grid-options”] = kendo.stringify(grid.getOptions()); }); $(“#load”).click(function (e) { e.preventDefault(); var options = localStorage[“kendo-grid-options”]; if (options) { grid.setOptions(JSON.parse(options)); } });

Read More →
Uncategorized

File to Modify: <SQL Reporting Server Installation Directory>\~ \Reporting Services\ReportManager\js\ReportingServices.js — open the file in notepad. Append below code at the end of file function pageLoad() { var element = document.getElementById(“ctl32_ctl09”); if (element) { element.style.overflow = “visible”; } }

Read More →
Uncategorized