Shorting and Pagination

Shorting and Pagination

Download source – 7.3 MB Introduction In the previous tutorial we implemented the Searching. In this tutorial we will add sorting, and paging functionality to the Customers Index page. Coding Table Structure CREATE TABLE [dbo].[Customers] ( [CustomerID] INT NOT NULL, [CompanyName] NVARCHAR (50) NULL, [ContactName] NVARCHAR (50) NULL, [ContactTitle] NCHAR (10) NULL, [Address] NVARCHAR (MAX) NULL, [City] NVARCHAR (50) NULL, PRIMARY KEY CLUSTERED ([CustomerID] ASC) […]

Read More Leave comment

SearchBox

SearchBox

Download source – 7.3 MB Introduction Today I will show a simple way to display the Search Control. Code Javascript Library script src=”~/Scripts/jquery.min.js”></script> script src=”~/Scripts/json2.js”></script> Javascript(Script0.js) $(document).ready(function () {        var jsonDataTable = document.getElementById(“hdnEmployee”).value;     var jsonData = $.parseJSON($.parseJSON(jsonDataTable).Employees);     var i = 0;     var text = ‘<table class=”table table-striped table-inverse”><thead class=”thead-inverse”><tr><th>EmployeeId</th><th>EmployeeName</th><th>Salary</th>’;     text += ‘</tr></thead><tbody>’;     for (i = 0; i < jsonData.length; […]

Read More Leave comment

MVC Pipeline

MVC Pipeline

MVC Pipeline 0.First Request When the application starts up, like any ASP.NET application, it runs Global.asax’s Application_Start() method.In this method, you can add Route objects to the static RouteTable. void Application_Start(object sender, EventArgs e) {    RouteConfig.RegisterRoutes(RouteTable.Routes); } 1.Incoming Request & Routing The incoming request from IIS pipeline is handed over to URL Routing module MvcHandler then MvcHandler  calls Routes.GetRouteData() which matches the incoming request against […]

Read More Leave comment

MVC

MVC

Introduction Asp.Net MVC architecture separates an application into three main parts Model-View-Controller (MVC). MVC architecture provide good “separation of concerns” in general “Loose coupling”. As MVC framework is based on ASP.NET, it allows software programmer and developers to build web application in the composition of these following three roles: Model (Model Logic) Model is business layer in MVC pattern. It is the core of the […]

Read More Leave comment

Bootstrap PopOver

Bootstrap PopOver

Download source – 7.3 MB The Popover Plugin The Popover plugin is similar to tooltips it require the tooltip plugin as a dependency. It is a pop-up box that appears when the user clicks or hovers on an element. The difference is that the popover can contain much more content. Create Static Popover Four positions are available: top, right, bottom, and left aligned.By default, the […]

Read More Leave comment

Bootstrap Model PopUp

Bootstrap Model PopUp

Download source – 7.3 MB Introduction Today I will show a simple way to display the content of partial view in a bootstrap dialog. Live Demo ASP.NET   ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript. Learn more » Coding Controller using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace BootstrapModelPopUp.Controllers { […]

Read More 1 Comment
Visitors
Page Hits: 51758
Unique Visitors :
12537
Made With By Keshab