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]
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]
Passing complex types to service calls using jQuery & JayRock 28 May 2009 NovoGeek (0) Scenario: Consider a web form having several fields, whose values are to be submitted to the server through an AJAX call. This can be easily achieved using jQuery’s $.ajax(), passing all the form elements (like first name, last name, city etc) as parameters to the AJAX call. ... [More]
Beware – jQuery unbind() vs removeAttr() 18 May 2009 NovoGeek (1) Here is a jQuery bug which suck few hours of my time: unbind() works only on events attached using jQuery. removeAttr() does not work on events added using jQuery Confusing? Here is the scenario which explains better: I have a server side asp button(btnTest), for which an &... [More]
Happy Birthday to jQuery! 15 January 2009 NovoGeek (0) jQuery is three years old today, after being released way back on January 14th, 2006 at the first BarCampNYC by John Resig. Below are the big features of this release (taken from jQuery's blog): Sizzle: A sizzlin’ hot CSS selector engine. Live Events: Event delegation with ... [More]
Rounded corners-a web 2.0 style! 17 November 2008 NovoGeek (0) News aggregation, drag/drop feature, zero post backs give the start page some of the web2.0 fragrances. An addition to this is rounded corners to divs using this jQuery plugin. Basic implementation is very easy but I felt the pinch when it came to changing corner color with theme. The default blue c... [More]
jQuery style switcher added :) 01 November 2008 NovoGeek (0) Just added style switcher using jquery. It changes stylesheets without page reload. Thanks to Kelvin Luck for the concept :) Facing some problems during initial loading. Will be rectified very soon.
jQuery and Microsoft!! 15 October 2008 NovoGeek (0) A good news to all jQuery and ASP.NET lovers! Microsoft supports jQuery and announces to ship it with the coming versions of Visual Studio!! Plz check the blog of Scott Gu (Corporate Vice President in Microsoft) and the blog of John Resig (creator of jQuery library!) for more info.
Rock On with JQuery & JayRock!! 03 October 2008 NovoGeek (0) I was telling in one of my previous blogs regarding mashups. Since then, I have been working on AJAX related stuff in my free time[ @ office also? :-) ]. As I told you, I was very much impressed by Omar Al Zabir's site. I was lucky enough to get a copy of his book and read it for few days. I can... [More]