or
$('.autocomplete').css('width', width);$('.autocomplete).css('background-color', '#eeeeee');field : "class"title : "Class"width : 250template : "<div class=\\"FieldValueLink\\" onclick=\\"(function(e,obj){ /* do stuff */ })(event, this)\\" >#=class#</div>"@(Html.Kendo().Grid<gpas.Models.ContractBillingCycleRollUpGridView>().Name("ContractBillingCycleGrid") .Columns(c => { c.Bound(t => t.Name); c.Bound(t => t.LineItemCount).Title("Line Item Count").Width(125).HtmlAttributes(new { name = "lineItemCount" }); c.Bound(t => t.Total).Format("{0:c}").Title("Total Budget").Width(150).HtmlAttributes(new { name = "lineItemTotal" }); c.Bound(t => t.OrganizationId).Hidden().HtmlAttributes(new { name="orgId" }); c.Bound(t => t.SubcontractorId).Hidden().HtmlAttributes(new { name = "subconId" }); }) .DataSource(ds => ds .Ajax().Read(read => read.Action("GridBinding_ContractBillingCycleRollUp", "Contract", new { id = Model.ContractBillingCycle.Id, organizationId = Model.OrganizationId })) ) .Sortable() .Pageable() .Filterable() .ClientDetailTemplateId("contractLineItemsTemplate") .Events(events => events.DataBound("onDataBound")))<script id="contractLineItemsTemplate" type="text/kendo-tmpl"> @(Html.Kendo().Grid<gpas.Models.ContractLineItemGridView>().Name("childgrid_#=Id#_#=OrganizationId#_#=SubcontractorId#") .Columns(c => { c.ForeignKey(l => l.ExpenseCategoryId, Model.ExpenseCatagories).Title("Expense Category"); c.Bound(l => l.Description); c.Bound(l => l.Justification); c.Bound(l => l.Amount).Format("{0:c}").Width(200); c.Command(command => { command.Edit(); command.Destroy(); }).Width(200); }) .Sortable() .Filterable() .Scrollable() .ToolBar(t => t.Create()) .Editable(edit => edit.Mode(GridEditMode.InLine)) .DataSource(ds => ds .Ajax() .Events(events => events.Error("error_handler").RequestEnd("gridLineItem_onRequestEnds")) .Model(model => { { model.Id(o => o.Id); } }) .Read(read => read.Action("GridBinding_ContractLineItems", "Contract", new { id = "#=Id#", organizationId = "#=OrganizationId#", subcontractorId = "#=SubcontractorId#" })) .Update(update => update.Action("GridAction_UpdateLineItem", "Contract")) .Destroy(destroy => destroy.Action("GridAction_DeleteLineItem", "Contract")) .Create(create => create.Action("GridAction_CreateLineItem", "Contract")) ) .Events(events => events.Save("gridLineItem_OnSave")) .ToClientTemplate() )</script>async: { saveUrl: "saveHandler.php",-------------------- ->> here what happens in this php file removeUrl: "removeHandler.php",------------------>>here what happens in this php file removeField: "fileNames[]" }<head> <meta charset="utf-8" /> <title>@ViewBag.Title - My ASP.NET MVC Application</title> <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" /> <meta name="viewport" content="width=device-width" /> <link rel="stylesheet" href="~/Themes/style.css" /> <script src="~/Scripts/jquery-1.7.1.min.js" type="text/javascript"></script> <script src="~/Scripts/jquery-ui-1.8.20.min.js" type="text/javascript"></script> </head><body> @RenderBody()</body><link href="@Url.Content("~/Content/kendo/2013.1.514/kendo.common.min.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/kendo/2013.1.514/kendo.metro.min.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/kendo/2013.1.514/kendo.dataviz.metro.min.css")" rel="stylesheet" type="text/css" /> <script src="@Url.Content("~/Scripts/kendo/2013.1.514/jquery.min.js")"></script> <script src="@Url.Content("~/Scripts/kendo/2013.1.514/kendo.web.min.js")"></script> <script src="@Url.Content("~/Scripts/kendo/2013.1.514/kendo.aspnetmvc.min.js")"></script> @*USED FOR KENDO CHARTS*@ <script src="@Url.Content("~/Scripts/kendo/2013.1.514/kendo.dataviz.min.js")"></script></html>@model List<Sanwin.ViewModels.Collaboration.CollaborationNoteListModel>@using Sanwin.Web;@using Kendo.Mvc.UI@{ Layout = "~/Views/Shared/_ColumnsTwo.cshtml"; // Layout = null;}@section left{ @Html.Partial("~/Views/Collaboration/_CollaborationNavigation.cshtml")}<link rel="stylesheet" href="@Url.Content("~/content/jQuery-Sticky-Notes/css/jquery.stickynotes.css")" type="text/css"> @*<script src="~/Scripts/jquery-1.7.1.min.js" type="text/javascript"></script>*@ @*<script src="~/Scripts/jquery-ui-1.8.20.min.js" type="text/javascript"></script>*@<script type="text/javascript" src="@Url.Content("~/content/jQuery-Sticky-Notes/script/jquery.stickynotes.js")"></script><div class="product_body"> <div class="account-page"> <div class="page-title"> <h1 style="float: left">My Notes </h1> </div> <div class="clear"> </div> <div class="body"> <div class="section-body" id="notes11" style="width:800px;height:600px;"> </div> </div> </div> </div><script> </script><script type="text/javascript"> // wait for the DOM to be loaded $(document).ready(function () { var options = { notes: [{ "id": 1, "text": "Test Internet Explorer", "pos_x": 50, "pos_y": 50, "width": 200, "height": 200, }] } // $("#noteList").stickyNotes(options); $('#notes11').stickyNotes(); });</script>Uncaught TypeError: Object [object Object] has no method 'stickyNotes'
