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(…) [...]
Read more…Posts Tagged ‘.NET’
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 [...]
Read more…PDFsharp: Reading pdf documents created with Microsoft Report Viewer 2010
I’m using the .NET library PDFsharp to merge PDF documents created with Microsoft Report Viewer 2008 into a new PDF document. After upgrading the Microsoft Report Viewer and using the most recent version 2010 to create the individual PDF documents, the merged document contained only blank pages. It turned out, that PDFsharp is not able [...]
Read more…ASP.NET: Programmatically adding <script> tags to include JavaScript files in the master page’s <head> tag
One common task of ASP.NET master pages is the definition of the page’s <head> tag, which could include <script> tags to include external JavaScript files>. If you do not use absolute paths to refer to the JavaScript file, adding a <script> leads to the problem, that the path to the JavaScript file has to consider [...]
Read more…