Popular Posts
-
Kendo UI applying SUM in footer template kendo ui - KendoUI: Grid Summary values in Footer - Stack Overflow : ", footerTemplate:...
-
MVC grid example ASP.NET MVC Flexigrid sample - CodeProject : 'via Blog this'
-
A possible way of handling distributed transaction for multiple contexts without alleviation to MSDTC??? c# - Entity Framework - Using Trans...
Thursday, January 30, 2014
Tuesday, January 28, 2014
Reading huge text files on c# using buffer stream
http://stackoverflow.com/questions/2161895/reading-large-text-files-with-streams-in-c-sharp
Monday, January 27, 2014
Signalr pushing messages to different clients
http://www.codeguru.com/columns/experts/how-to-push-data-from-server-to-client-using-signalr.htm?dni=103170960&rni=7568465
Web worker process to Ru JavaScript in background process
http://www.developer.com/lang/jscript/7-things-you-need-to-know-about-web-workers.html
Saturday, January 25, 2014
Thursday, January 23, 2014
Applying conditional layouys
http://www.dotnet-tricks.com/Tutorial/mvc/3WDE140613-Different-ways-of-rendering-layouts-in-Asp.Net-MVC.html
Wednesday, January 22, 2014
Truthy and falsy jsvascript
http://www.codeproject.com/Articles/713894/Truthy-Vs-Falsy-Values-in-JavaScript
Mustache jquery plug in
http://www.jonnyreeves.co.uk/2012/using-external-templates-with-mustache-js-and-jquery/
Tuesday, January 21, 2014
Custom message based wcf
http://www.codeproject.com/Articles/598157/Building-SOAP-Message-Based-Web-Services-with-WCF
Monday, January 20, 2014
Signalr client code
https://github.com/SignalR/SignalR/tree/master/src/Microsoft.AspNet.SignalR.Client.JS
Saturday, January 18, 2014
Tutorial: SignalR Self-Host : The Official Microsoft ASP.NET Site
Tutorial: SignalR Self-Host : The Official Microsoft ASP.NET Site:
'via Blog this'
Self hosted signalr e.g in console application
'via Blog this'
Self hosted signalr e.g in console application
Friday, January 17, 2014
kendo ui - KendoUI: Grid Summary values in Footer - Stack Overflow
Kendo UI applying SUM in footer template
kendo ui - KendoUI: Grid Summary values in Footer - Stack Overflow: ", footerTemplate:"Sum: #= sum # ""
'via Blog this'
kendo ui - KendoUI: Grid Summary values in Footer - Stack Overflow: ", footerTemplate:"Sum: #= sum # ""
'via Blog this'
Kendo Grid In Action - CodeProject
very good example of dealing with kendo grid manually using javascript and ajax and mvc
Kendo Grid In Action - CodeProject:
'via Blog this'
Kendo Grid In Action - CodeProject:
'via Blog this'
Monday, January 13, 2014
Location based on ip address free site with api
http://www.codeproject.com/Articles/709429/IP2Location-NET-Get-Country-Region-City-From-IP
Sunday, January 12, 2014
Particular Software | Enterprise-Grade Service Platform for .NET - ServicePulse
A web platform dashboard that integrates with nServiceBus and shows all the messages, failed messages, health check, message retry etc from a nice GUI
Particular Software | Enterprise-Grade Service Platform for .NET - ServicePulse:
'via Blog this'
Particular Software | Enterprise-Grade Service Platform for .NET - ServicePulse:
'via Blog this'
Particular Software | Getting Started - Creating A New Project
Nservicebus -> Getting started with Nservicebus example
Particular Software | Getting Started - Creating A New Project:
'via Blog this'
Particular Software | Getting Started - Creating A New Project:
'via Blog this'
Saturday, January 11, 2014
Edit fiddle - JSFiddle
Example of keeping the last menu as current menu i.e in kidswear thing
Edit fiddle - JSFiddle:
'via Blog this'
Edit fiddle - JSFiddle:
'via Blog this'
Friday, January 10, 2014
Thursday, January 9, 2014
Wednesday, January 8, 2014
asp.net - How to create JSON string in C# - Stack Overflow
Javascriptserializer class to serialise / deserialize javascript....
asp.net - How to create JSON string in C# - Stack Overflow:
'via Blog this'
asp.net - How to create JSON string in C# - Stack Overflow:
'via Blog this'
Monday, January 6, 2014
sql server 2008 - Is there any risk associated with trustworthy database for CLR (Assembly) implementation? - Stack Overflow
how to avoid trustworthy on in sql server
sql server 2008 - Is there any risk associated with trustworthy database for CLR (Assembly) implementation? - Stack Overflow:
'via Blog this'
sql server 2008 - Is there any risk associated with trustworthy database for CLR (Assembly) implementation? - Stack Overflow:
'via Blog this'
Friday, January 3, 2014
Bashing my head to the wall for the last few days as Kendo UI Grid was populating properly but when clicking Delete Or Update button it was always passing NULL to the Controller parameter.
The solution was to build the javascript result manaully before posting so MVC default model binder nows how to deserialise it.
The trick is that the MVC controller parameter should be called as products too:
The solution was to build the javascript result manaully before posting so MVC default model binder nows how to deserialise it.
The trick is that the MVC controller parameter should be called as products too:
result["products[" + i + "]." + member]
<script> $(document).ready(function () { dataSource = new kendo.data.DataSource({ transport: { read: { url: "ShoppingCartDetailsRead", dataType: "json" }, update: { url: "ShoppingCartDetailsUpdate", dataType: "json", contentType: "application/json", type: "POST" }, destroy: { url: "ShoppingCartDetailsDelete", dataType: "json", type: "POST" }, parameterMap: function (data, type) { if (type != "read") { // post the products so the ASP.NET DefaultModelBinder will understand them: var result = {}; for (var i = 0; i < data.models.length; i++) { var product = data.models[i]; for (var member in product) { result["products[" + i + "]." + member] = product[member]; //NB: controller parameter should be products } } return result; } else { return JSON.stringify(data); } } }, batch: true, pageSize: 20, schema: { model: { id: "ShoppingCartItemID", fields: { ShoppingCartItemID : { editable: false, default:1}, ShoppingCartID: { editable: false}, ProductID: { editable: false}, ProductName: { validation: { required: true } }, ListPrice: { type: "number"}, Quantity: { type: "number"} } } } }); $("#grid").kendoGrid({ dataSource: dataSource, navigatable: true, sortable: true, pageable: true, toolbar: ["save", "cancel"], columns: [ { field: "ShoppingCartItemID", title: "Cart Id", width: 30 }, { field: "ShoppingCartID", title: "User Id", width: 110 }, { field: "ProductName", title: "Item", width: 110 }, { field: "ProductId", title: "Item Id", width: 110 }, { field: "ListPrice", title: "List Price", format: "{0:c}", width: 110 }, { field: "Quantity", title: "Quantity", width: 110 }, { command: "destroy", title: " ", width: 90 }], editable: true }); }); </script>
Wednesday, January 1, 2014
Ioc vs di plus videos
http://www.codeproject.com/Articles/592372/Dependency-Injection-DI-vs-Inversion-of-Control-IO
Design patterns interview questions
http://www.codeproject.com/Articles/592372/Dependency-Injection-DI-vs-Inversion-of-Control-IO
Subscribe to:
Posts (Atom)