12 Oct 2011

Ajax check PartialLoad in javascript

function pageLoad(sender, args)
    {
        if (args.get_isPartialLoad())
        {
            //alert('Ajax call');
            //$('#grid').hide().slideDown(500);
        }
        else
        {
            //alert('PostBack or initial load');
            $('#grid').hide().slideDown(500);
        }
    }

No comments:

Post a Comment