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]
NovoGeek.com!! 10 May 2009 NovoGeek (2) Restructured my site www.novogeek.net. Moved my technical blog from kris.novogeek.net to the root. Created a new subdomain - Labs.NovoGeek.Net for my little experiments. Placed only few important demos as of now. Will slowly move all my silly/stupid code snippets there :) Update(11th May, 2009)... [More]
Converting ASP.NET DataTable to JSON using JayRock 22 April 2009 novogeek (3) Beginners using jQuery plugins and jQuery AJAX with ASP.NET get stuck with one common problem-converting datatable to JSON. This conversion is necessary since JSON can be easily parsed in JavaScript and also most plugins expect data in JSON format, though that can be altered. On googling, I fo... [More]
Performance improvement in browsers-John Resig 03 April 2009 novogeek (0) A beautiful presentation given by John Resig, creator of jQuery, at Google. John covers the latest improvements in the modern browsers namely Firefox 3.1, Safari 4.0, Internet Explorer 8.0, Google Chrome and Opera 10. You can find the video presentation here @ Youtube and the pdf format of the prese... [More]
How to use ASP .NET without Javascript? 25 March 2009 novogeek (0) In ASP.NET, we are used to drag/drop server controls and quickly finish the task, though we do not concentrate much on how they work. The problem arises when JavaScript is disabled in the user's browser, as some of these controls do not work. Also, if you have rich AJAX features in you... [More]
jQuery for absolute beginners. 13 March 2009 novogeek (1) I have given a KT (Knowledge Transfer) session on jQuery for my colleagues today. Instead of routine power point stuff, I made a jQuery based web page for presenting the content. My friend and guru @ office, Mr.Praveen Reddy, guided me and shared really good demos, which are apt for beginners. ... [More]
Drag/Drop shopping cart using jQuery 25 February 2009 novogeek (6) Most of the AJAX introduction sessions give a demonstration of drag/drop features. I've attended an AJAX session 1 year back and wondered.."Will I ever be able to do such an amazing drag/drop cart?" Hehe..thanks to jQuery UI. Drag/drop isn't a magic anymore! Here is a d... [More]
Twitter initiated war to kill IE6 !! 25 February 2009 novogeek (0) All that started with a simple tweet by a Norwegian developer Erlend Schei. He came up with an idea to display an "Upgrade" message on IE6 browsers for his websites and suddenly, all major websites of Norway adopted it, thereby declaring a war on IE6. According to wired.com, even... [More]
ASP.NET AJAX Accordion postback problem, jQuery's solution!! 20 February 2009 novogeek (1) Hi folks,| I would like to share a bitter experience I faced for one long week and a beautiful solution I found today :) It goes like this: The Requirement: There is a web page contains hundreds of checkboxes, textboxes and dropdowns. All these controls are dynamically built in code behind. O... [More]