Fancy Checkboxes and Toggle Switches

This allows you to replace default checkboxes with a nicer-looking custom font alternative. This example uses Font Awesome 4 icons, but the CSS could easily be modified to use any [...]

2021-01-12T11:18:11-04:00April 5th, 2019|

Prevent Link/Button Event or Post

Preventing a Link or Button from moving to the next URL (or triggering a post or postback in the case of ASP.Net) is easily accomplished using the very common method [...]

2019-03-28T15:37:49-03:00March 28th, 2019|

CSS Files and Bundling in ASP.Net WebForms

CSS File Bundling Basics To add custom CSS to an ASP.Net project, add the CSS files to /content and include them in a bundle in Bundle.config. A style bundle can [...]

2019-03-08T15:36:02-04:00March 8th, 2019|

Bind Drop-Down List in MVC View in ASP.Net

In order for a drop-down list in an MVC View to be populated with data from the model, one method is to add the data to a model (or to [...]

2019-03-09T22:17:37-04:00February 21st, 2019|

jQuery – Selector Starts-Ends With

Selector Starts With: $('input[name^=somePrefix]').doSomething(); Selector ENDS with: $('input[name$=someSuffix]').doSomething(); In ASP.Net: This is particularly useful in ASP.Net when you may not want to specify clientidmode static, but still want to use [...]

2019-02-06T23:56:27-04:00August 6th, 2018|Tags: , |
Go to Top