.net, jQuery, programming

Ajax-based data loading using jQuery in ASP.NET

Great article to check out! Ajax-based data loading using jQuery.load() function in ASP.NET – Hajan Selmani takes a back to basics look at using jQuery to load partial chunks of HTML from a page using Ajax and insert them into the current page, providing a nice way of lighting up a web application with an ‘Ajax’ feel whilst easily maintaining…

Continue Reading
windows

Setting up SSL with IIS for ASP.NET

On my project at work I recently had to deal with securing our IIS 6 website with SSL and forcing that no non-secure requests would be honored. What I quickly found was that IIS didn’t offer a way to automatically redirect any non-secure requests to a secure version of the same page, or some other page (i.e. http://www.yoursite.com/login.aspx redirect automatically…

Continue Reading
.net

FormView and ObjectDataSource with nullable types

I recently ran into this problem when using a FormView and and ObjectDataSource where the FormView was binding to nullable data types… Here is a challenging question, as I have not found any suitable information on this after two days of searching: Background: I have a custom Business Class library that includes custom objects with nullable int and DateTime properties.…

Continue Reading
.net

FormView not retaining values when server-side validation fails

I recently spent quite a bit of time trying to figure out why my FormView wasn’t retaining values after some of my custom server-side validation failed in my business logic layer.  I kept seeing that you just had to set KeepInEditMode = true (or KeepInInsertMode if you’re doing an insert) and that would take care of it. Well, after a…

Continue Reading