Quantcast
Channel: ASPSnippets RSS Feed
Browsing all 4693 articles
Browse latest View live
↧

Highlight GridView Row based on some Condition in ASP.Net

Here Mudassar Ahmed Khan has explained with an example, how to highlight GridView Row based on some condition in ASP.Net using C# and VB.Net. A loop will be executed and values of each GridView Row...

View Article


Implement Endless (Infinite) Scroll in WebGrid using jQuery AJAX in ASP.Net MVC

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 /...

View Article


Implement TreeView in ASP.Net MVC

Here Mudassar Ahmed Khan has explained with an example, how to implement TreeView in ASP.Net MVC Razor. ASP.Net MVC Razor does not have any TreeView class and hence the TreeView will be implemented...

View Article

Bind (Populate) jsTree TreeView from Database in ASP.Net MVC

Here Mudassar Ahmed Khan has explained with an example, how to bind (populate) jQuery jsTree TreeView plugin from Database in ASP.Net MVC Razor. The records from Database will be fetched using Entity...

View Article

Load Data on demand on scroll in WebGrid using jQuery AJAX in ASP.Net MVC

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...

View Article


Check if data already exists in Database using ASP.Net

Here Mudassar Ahmed Khan has explained with an example, how to check if data already exists in Database using ASP.Net with C# and VB.Net. This article will make use of ASP.Net AJAX PageMethods for...

View Article

Bulk Import CSV file data into database using SqlBulkCopy in ASP.Net

Here Mudassar Ahmed Khan has explained with an example, how to bulk import CSV file data into SQL Server database using SqlBulkCopy in ASP.Net using C# and VB.Net. The CSV file will be uploaded and its...

View Article

Disable Browser Back Button using JavaScript (jQuery) in ASP.Net MVC

Here Mudassar Ahmed Khan has explained with an example, how to Disable Browser Back Button using JavaScript (jQuery) in ASP.Net MVC Razor. The technique is to prevent user from navigate to previous...

View Article


Disable Back button in Browser after Logout using JavaScript

Here Mudassar Ahmed Khan has explained with an example, how to disable Back button in Browser after Logout using JavaScript. Browser Back button cannot be disabled and hence in order to prevent User...

View Article


WebGrid Row Double Click: Send WebGrid Row to Controller on Double Click in...

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...

View Article

Show Text in ComboBox when no item selected in Windows Application using C#...

Here Mudassar Ahmed Khan has explained with an example, how to show (display) Text in ComboBox when no item selected in Windows Application using C# and VB.Net. The Text when no Item is selected is...

View Article

Select Insert Edit Update and Delete (CRUD) using Single Stored Procedure in...

Here Mudassar Ahmed Khan has explained with an example, how to perform Select Insert Edit Update and Delete (CRUD) using Single Stored Procedure in ASP.Net MVC Razor. Single Stored Procedure will be...

View Article

Using For Each loop to populate DropDownList using Model in ASP.Net MVC

Here Mudassar Ahmed Khan has explained with an example, how to use For Each loop for populating DropDownList using Model in ASP.Net MVC Razor. HTML SELECT element will be created in View and a For Each...

View Article


Using Multiple Submit buttons in Single Form in ASP.Net MVC

Here Mudassar Ahmed Khan has explained with an example, how to use multiple Submit buttons in Single Form in ASP.Net MVC Razor. One Form can do a POST submission to one Action method in Controller and...

View Article

ASP.Net MVC: Custom Paging in WebGrid using Stored Procedure and Entity...

Here Mudassar Ahmed Khan has explained with an example, how to perform Custom Paging in WebGrid using Stored Procedure and Entity Framework in ASP.Net MVC Razor. Custom Paging will be performed at...

View Article


Validate TextBox in Windows Application using C# and VB.Net

Here Mudassar Ahmed Khan has explained with an example, how to validate TextBox in Windows Application (WinForms) using C# and VB.Net. The validation of TextBox will be performed using the Validating...

View Article

Confirm before Submit on ASP.Net Button Click using JavaScript

Here Mudassar Ahmed Khan has explained with an example, how to implement confirm before Submit on ASP.Net Button Click using JavaScript. The JavaScript Confirmation Message Box will be displayed on...

View Article


Display Confirmation Box (Dialog) before Form Submit in ASP.Net MVC

Here Mudassar Ahmed Khan has explained with an example, how to display Confirmation Box (Dialog) before Form Submit in ASP.Net MVC Razor. The JavaScript Confirmation Message Box (Dialog) will be...

View Article

Sort Table rows with jQuery using Drag and Drop method

Here Mudassar Ahmed Khan has explained with an example, how to sort (reorder) Table rows with jQuery using Drag and Drop method. The HTML Table rows will be sorted (reordered) with Drag and Drop method...

View Article

Detect Mobile Browser (Mobile Device) in ASP.Net MVC

Here Mudassar Ahmed Khan has explained with an example, how to detect mobile phone browser (mobile device) in ASP.Net MVC Razor. With the help of Regular Expressions (Regex), one can easily detect and...

View Article
Browsing all 4693 articles
Browse latest View live