Fork me on GitHub

jQuery File Download v1.3.0 released with mobile browser support 3

Mobile browser support I have toiled through mobile cross browser inconsistancies (and you thought IE 6 was bad) to support both iOS and Android*! Other mobile browsers may work as well but I am unable to test them. Let me know if you find a bug or go fix it! Added mobile support: iOS 5.0 ...

jQuery File Download v1.2.0 Released and on GitHub 8

Updates jquery.fileDownload.js source Demo of jQuery File Download in action using MVC 3 Changelog Available on GitHub, bring on the pull requests if you are interested in contributing! Update background Per the request of several jQuery File Download users and to make jQuery File Download far as useful as possible I have added the ability ...

jQuery File Download v1.1.0 Released 7

The Basics Updated: Original post jquery.fileDownload.js source Demo of jQuery File Download in action using MVC 3 Changelog Whats new? In order to make jQuery File Download a little bit easier to use for a rich user experience (jQuery UI required) I have added some additional “options” arguments. These options arguments create a jQuery UI ...

jQuery File Download Plugin for Ajax like, feature rich file downloads 244

jquery.fileDownload.js Library jQuery File Download is a cross server platform compatible jQuery plugin that allows for an Ajax-like file download experience that isn’t normally possible using the web. Demo of jquery.fileDownload.js in action with some different examples Example VS2010 MVC 3 application using jquery.fileDownload.js GitHub – Send me a pull request! Download jquery.fileDownload.js v1.2.0 – ...

Ajax.BeginForm AjaxOptions custom arguments for OnComplete, OnSuccess, OnFailure and OnBegin 6

Some interesting behavior I noticed recently about the Microsoft MVC 3 jQuery library jquery.unobtrusive-ajax.js is the ability to pass you own arguments into the handler. Normally you have probably used it like this: C# @using (Ajax.BeginForm(new AjaxOptions{OnComplete = "DefaultEditOnComplete"})) { //Person data and submit button } 123456  @using (Ajax.BeginForm(new AjaxOptions{OnComplete = "DefaultEditOnComplete"})){    //Person data and submit ...

Clear/Reset MVC 3 Form and Unobtrusive jQuery Client Validation 13

Clear/Reset MVC 3 Form and Unobtrusive jQuery Client Validation
Intro So today I needed to clear a MVC 3 form  with unobtrusive client validation applied to it via jquery.validate.js & jquery.validate.unobtrusive.js. This doesn’t seem too tricky initially until I realized that doing a form reset via a <input type=”reset”/> or a javascript form.Reset() doesn’t eliminate any jQuery validation messages that were displayed! Take a ...

ASP.NET Concurrent Ajax Requests and Session State Blocking 12

ASP.NET Concurrent Ajax Requests and Session State Blocking
Intro Today I ran into a pretty interesting and puzzling issue while trying to load many different long running content areas on a screen asynchronously via Ajax & jQuery. It appeared that if I shot off Ajax Request A, B, C, D… that they would always return one after the other (roughly). They never deviated ...

Failed to open System.ServiceModel.ChannelFactory Solution 2

I just ran into this one today while trying to call a WCF service. Doing a search of this on Google/Bing literally yields 3-4 results so I figured I better post something about it in case anyone else comes across it.   First off you might also see it in conjunction with an exception like: ...

Don’t trust the client 2

Don't trust the client
Citigroup Hacked I was recently came across this article about a successful hacking attempt made on Citigroup. In a nutshell the hackers logged into a Citigroup related website and simply changed the query string to access other user’s account data. For example let’s say I just logged into my citicard account and I see this ...

The Unobtrusive Libraries & Client Validation on Ajax in ASP.NET MVC 3 4

MVC 3 Unobtrusive Client Validation and Unobtrusive Ajax Overview As you may be aware, ASP.NET MVC 3 allows the possibility of using unobtursive client validation and unobtrusive Ajax. If enabled, in a nutshell this means that the stock Microsoft JavaScript libraries for both Ajax and validation (MicrosoftAjax.js and MicrosoftMvcValidation.js respectively) have been effectively swapped out ...