Handling AJAX exceptions of ASP.NET using jQuery 13 December 2009 NovoGeek (1) Exception handling is an important feature in any business application. In simple words, it is all about catching ugly errors thrown by server and displaying them in a user friendly manner to the end user. (Of course, logging exceptions/notifications etc may also be a part of exception handling. ) ... [More]
Client side localization in ASP.NET using jQuery 30 November 2009 novogeek (0) Localization is a very important feature required in medium-large scale business applications. As always, ASP.NET makes developers life easy by providing inbuilt localization mechanism. Using resource files, all the elements in a web page can be localized. However, if you are building a rich clien... [More]
Love JavaScript design patterns, love your jQuery code even more! 29 October 2009 NovoGeek (2) The goal of this article is to educate budding jQuery developers (who do not have much exposure to JavaScript), to write clean, readable, maintainable code. This is in fact, a pointer to articles written by several JavaScript gurus. For a jQuery developer, who does not have good expertise ... [More]
jQuery UI AJAX Tabs – few hiccups & resolutions 21 October 2009 NovoGeek (0) Developers who have tried jQuery UI Tabs plugin might have tried AJAX mode, which is really useful in meeting several requirements. The documentation clearly explains how to start using AJAX tabs. However, there would be few hiccups if the plugin is not clearly understood. Below are some of th... [More]
Using jQuery cluetip plugin for validation callouts. 19 September 2009 NovoGeek (0) Displaying validation messages using callouts is a good way of educating the user on what has to be filled on the form. ASP.NET AJAX's Validator callout does a good job in this aspect. But how about implementing the same using jQuery? I was googling for this and quickly came across jQu... [More]
Configuring jqGrid 3.5 to work with ASP.NET web forms and JSON 22 August 2009 NovoGeek (1) This article explains the basic configuration needed to use jqGrid in ASP.NET web forms with JSON data. [More]
Using .NET’s Register Script methods with jQuery’s $(document).ready() 24 July 2009 NovoGeek (2) In ASP.NET web apps, most of the times we would need to call JavaScript functions in page_load event of code behind, for various valid reasons. In such scenarios, we simply use .NET’s Register Script methods for emitting JavaScript code, which is absolutely fine. If you are using jQuery, ... [More]
Filtering .NET 3.5 returned JSON with jQuery 16 July 2009 NovoGeek (0) In .NET 3.5, when a Web service class is decorated with “ScriptService” attribute, the web service returns data in JSON format [MSDN]. I have demonstrated this with a simple example in the article, Passing JSON objects in .NET 3.5. Let us consider that our “person” ... [More]
Customizing jQuery plugins for "d parameter" in .NET 3.5 JSON response. 30 June 2009 NovoGeek (2) I was trying to use jqGrid, an excellent jQuery based grid, for building a zero postback page. It's configuration is very simple, similar to flexigrid, but has many additional features like inline editing, subgrids etc. What jqGrid expects is a JSON response having few objects and arrays, ... [More]
Passing JSON objects in .NET 3.5 08 June 2009 NovoGeek (0) In my previous post, I have explained how to pass complex types using jQuery and JayRock in .NET 2.0 framework. I was digging a bit into Dave’s example (using complex types to make calling services less complex) in .NET 3.5 framework, to find how easier JSON serilaization/deserialization can b... [More]