in

ASPXWizard.net

.net and Ajax Community

Browse by Tags

  • Enable JQuery Intellisense in Visual Studio 2008

    I was expecting that Visual studio will do the magic for me and enable Intellisense for JQuery javascript library automatically once I add the library and referenced it in my page – naive, right?- anyways it did not happen of course, so with a quick look to the internet and beloved Scott Guthrie blog...
    Posted to Mina Labib (Weblog) by minalabib on 11-23-2009
  • JSON Serialization in AJAX.net both Client side and Server side

    JSON objects representations are small and lightweight compared to XML they are now the core of AJAX.net services serialization. in AJAX.net they work out of the box you can serilaize/deserialize  your objects to JSON using this snippet of server side code using System.Web.Script.Serialization;...
    Posted to .net Wand (Weblog) by amir.magdy on 04-14-2009
  • Dynamically Resize an IFrame According to its contents

    problem with iframe is that you can't always predict the size of the content and eventually you'd end up with a scrollbar or even less convenient: a hidden part of the Iframe content this is a straight forward, easy way to make sure that the IFrame is properly resized according to the contents...
    Posted to .net Wand (Weblog) by amir.magdy on 11-25-2008
  • Most Used Javascript Date functions

    var OneDay = 1000*60*60*24; function subtractDates (firstDate,secondDate){ return Math.ceil(( new Date(firstDate).getTime() - new Date(secondDate).getTime())/(OneDay)); } function addDays (dateToAdd,amountInDays){ return new Date(dateToAdd.valueOf() + this .OneDay * amountInDays); } function daysInMonth...
    Posted to .net Wand (Weblog) by amir.magdy on 08-21-2008
  • Object Orientation In JavaScript III [Overloading and Overriding]

    let's start with Overriding it's easier to explain of course you must have the idea of inheritence in your mind well if you have missed it check back here first 1: function superClass (){ 2: this .superClassMember = function (){ 3: alert ( 'this is executed from the Super Class' ); 4...
    Posted to .net Wand (Weblog) by amir.magdy on 12-06-2007
  • Object Orientation In JavaScript II [Inheritance]

    well there are two ways inheritance can be implemented in JavaScript this code explains how the first way 1: function superClass (){ 2: this .superClassMember = function (){ 3: alert ( 'this is executed from the Super Class' ); 4: } 5: } 6: 7: // and then 8: 9: function subClass(){ 10: // the...
    Posted to .net Wand (Weblog) by amir.magdy on 12-05-2007
  • Object Orientation in JavaScript

    JavaScript and object orientation has been a long debated issue, and because of the untyped nature of JavaScript many have thought of it as a temporary solution till something that is OO emrges and replaces it, well the current AJAX sites has proved them wrong in the coming javascript posts i'll...
    Posted to .net Wand (Weblog) by amir.magdy on 12-04-2007
  • Software Needed to create Ajax Applications

    well there's a lot of approaches to create ajax applications but i like .net and c#, I use asp.net controls to render the initial page and then do all the manipulation using manually coded javascript. and for the server calls i use normal asmx's and a script manager to generate a javascript that...
    Posted to .net Wand (Weblog) by amir.magdy on 11-17-2007
  • Are you sure [Prompt User Validation]

    there's so many times when you need to ask a user "are you sure?" but you want it to be quick and painless you don't want to do one more server round trip just for that you can always use this the javascript prompt function so confirm() but how to integrate that into your asp.net code...
    Posted to .net Wand (Weblog) by amir.magdy on 11-17-2007
Page 1 of 1 (9 items)
ASPXWizard.net some rights reserved 2005-2007
Powered by Community Server (Non-Commercial Edition), by Telligent Systems