Category - WebGrid
Results 21 - 25 of 63
03 Jul 2018 03 Jul 2018 0 Comments  2454 Views
Here Mudassar Ahmed Khan has explained with an example, how to attach Double Click event handler to WebGrid Row using jQuery in ASP.Net MVC Razor.

A Client Side Double Click event handler will be attached to the WebGrid row using jQuery and thus when the WebGrid row is double clicked, the data from the selected WebGrid row will be fetched using jQuery and will be posted in JSON format to the Controller’s Action method using Form Submission in ASP.Net MVC Razor.
28 Jun 2018 28 Jun 2018 0 Comments  4246 Views
Here Mudassar Ahmed Khan has explained with an example, how to load data on demand on scroll in WebGrid using jQuery AJAX in ASP.Net MVC Razor.

The WebGrid has Fixed (Freezed) Header Row and the Data Rows have a Scrollbar and when the Scrollbar is scrolled, an AJAX call is made to the Controller’s Action method and the data is loaded in WebGrid.

The records from Database are loaded in WebGrid Page Wise as the data is scrolled using jQuery AJAX, JSON and Entity Framework in ASP.Net MVC Razor.
28 Jun 2018 28 Jun 2018 0 Comments  3206 Views
Here Mudassar Ahmed Khan has explained with an example, how to Infinite / Endless / Continuous Scroll technique in WebGrid using jQuery AJAX and JSON in ASP.Net MVC Razor.

In Infinite / Endless / Continuous Scroll technique, the WebGrid has Header Row as Fixed (Freezed) and the Data Rows have a Scrollbar.

The records from Database are loaded in WebGrid Page Wise as the data is scrolled using jQuery AJAX, JSON and Entity Framework in ASP.Net MVC Razor.
27 Jun 2018 27 Jun 2018 0 Comments  3402 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Delete operation in WebGrid using jQuery AJAX and JSON in ASP.Net MVC Razor.

The Delete Button in WebGrid Row will be assigned JavaScript Confirm function, so that when the Delete Button is clicked, a JavaScript Confirmation Box will be displayed.
22 Jun 2018 22 Jun 2018 0 Comments  2629 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate (bind) WebGrid using ADO.Net in ASP.Net MVC Razor.

Inside the Controller, the records from the Database Table will be fetched using traditional ADO.Net method i.e. using SqlConnection, SqlCommand, SqlDataAdapter, etc.

The fetched records will be populated into a DataSet which will be ultimately used to populate the WebGrid in ASP.Net MVC Razor.
Results 21 - 25 of 63