-
ASP.NET MVC 3: Using JSON result for jQuery Ajax Forms validation
This blog post is my third blog post about jQuery Ajax forms with ASP.NET MVC 3. The first post “ASP.NET MVC 3: Ajax Form with jQuery validate supporting (unobtrusive) Client Side Validation and Server Side Validation” is about creating Ajax forms with jQuery validate to support client side validation and partial page updates. The second […]
-
ASP.NET MVC 3: Using jQuery .ajax() function to submit Ajax Form supporting (unobtrusive) Client Side Validation and Server Side Validation
Update 2011-08-09: I’ve written a follow-up blog post which shows how to use JSON to customize the way the server’s response is handled on the client side. This blog post summarizes how to use jQuery’s .ajax() function to submit an Ajax form in ASP.NET MVC web applications. In ASP.NET MVC you can use the Ajax.BeginForm(…) […]
-
WordPress 2.7+: Enable Automatic Plugins and Theme Update
After moving a WordPress instance from one server to an other the automatic update functionality for plugins and themes was no longer working. Trying to update a plugin, WordPress always asked my to enter FTP credentials. After some research I found out that one has to set some permissions and ownerships for the user and […]
-
ASP.NET MVC 3: Ajax Form with jQuery validate supporting (unobtrusive) Client Side Validation and Server Side Validation
Update 2011-08-07: I’ve written a new follow-up blog post to this one which shows how to upgrade the techniques described here with custom (jQuery) JavaScript code to implement a more flexible Ajax form handling. This blog post shows step by step instructions how to build an Ajax form with jQuery validate supporting (unobtrusive) client and […]
-
Windows batch file to delete old files and remove empty directories recursively
Here is a Windows batch file that finds and deletes old files under a specific directory. In a second step the script removes folders that became empty after deleting the (old) files. Note that the scripts works recursively, i.e. it searches for old files and empty folders in any subdirectory under the specified path. One […]
-
jQuery: Disable (browser) cache for all AJAX requests
Here is a small JavaScript code snippet that uses jQuery’s .ajax() function to disable the (client side browser) cache for all subsequent jQuery AJAX calls (note that caching is enabled by default for all data types except script and jsonp): $.ajaxSetup({ cache: false }); To enable caching for a special AJAX request one can override […]