• ASP.NET AJAX EVENTS

            <span xmlns=''><h1>Sys.Component Event
            </h1><p><a href='http://www.asp.net/AJAX/Documentation/Live/ClientReference/Sys/ComponentClass/ComponentDisposingEvent.aspx'>disposing Event</a>
            </p><p>Raised when the <a href='http://www.asp.net/AJAX/Documentation/Live/ClientReference/Sys/ComponentClass/ComponentDisposeMethod.aspx'>dispose</a> method of the current Component object is called.
            </p><p><a href='http://www.asp.net/AJAX/Documentation/Live/ClientReference/Sys/ComponentClass/ComponentPropertyChangedEvent.aspx'>propertyChanged Event</a>
            </p><p>Raised when the <a href='http://www.asp.net/AJAX/Documentation/Live/ClientReference/Sys/ComponentClass/ComponentRaisePropertyChangedMethod.aspx'>raisePropertyChanged</a> method of the current Component object is called.
            </p><h1>Sys.Application Event
            </h1><p><a href='http://www.asp.net/AJAX/Documentation/Live/ClientReference/Sys/ApplicationClass/SysApplicationInitEvent.aspx'>init Event</a>
            </p><p>Raised after all scripts have been loaded but before objects are created.
            </p><p><a href='http://www.asp.net/AJAX/Documentation/Live/ClientReference/Sys/ApplicationClass/SysApplicationLoadEvent.aspx'>load Event</a>
            </p><p>Raised after all scripts have been loaded and after the objects in the application have been created and initialized.
            </p><p><a href='http://www.asp.net/AJAX/Documentation/Live/ClientReference/Sys/ApplicationClass/SysApplicationUnloadEvent.aspx'>unload Event</a>
            </p><p>Raised before all objects in the client application are disposed.
            </p><h1>Sys.WebForms.PageRequestManager Event
            </h1><p><a href='http://www.asp.net/AJAX/Documentation/Live/ClientReference/Sys.WebForms/PageRequestManagerClass/PageRequestManagerBeginRequestEvent.aspx'>beginRequest Event</a>
            </p><p>Raised before processing of an asynchronous postback starts and the postback request is sent to the server.
            </p><p><a href='http://www.asp.net/AJAX/Documentation/Live/ClientReference/Sys.WebForms/PageRequestManagerClass/PageRequestManagerEndRequestEvent.aspx'>endRequest Event</a>
            </p><p>Raised after an asynchronous postback is finished and control has been returned to the browser.
            </p><p><a href='http://www.asp.net/AJAX/Documentation/Live/ClientReference/Sys.WebForms/PageRequestManagerClass/PageRequestManagerInitializeRequestEvent.aspx'>initializeRequest Event</a>
            </p><p>Raised during the initialization of the asynchronous postback.
            </p><p><a href='http://www.asp.net/AJAX/Documentation/Live/ClientReference/Sys.WebForms/PageRequestManagerClass/PageRequestManagerPageLoadedEvent.aspx'>pageLoaded Event</a>
            </p><p>Raised after all content on the page is refreshed as the result of either a synchronous or an asynchronous postback.
            </p><p><a href='http://www.asp.net/AJAX/Documentation/Live/ClientReference/Sys.WebForms/PageRequestManagerClass/PageRequestManagerPageLoadingEvent.aspx'>pageLoading Event</a>
            </p><p>Raised after the response from the server to an asynchronous postback is received but before any content on the page is updated.
            </p></span>
    
  • Unit Test

            <p>Basic elements of programmer tests in Visual Studio® Team System ™ (vs. Nunit):
            </p>
            <ul>
            <li>
            TestClass (TestFixture)
            </li>
            <li>
            TestMethod (Test)
            </li>
            <li>
            TestInitialization (Setup)
            </li>
            <li>
            TestCleanup (TearDown)
            </li>
            <li>
            ClassInitialization (TestFixtureSetup)
            </li>
            <li>
            ClassCleanup (TestFixtureTearDown)
            </li>
            </ul>
    
  • to be small

            <p>
            Any fool can make things bigger, more complex, and more violent. It takes a touch of genius — and a lot of courage — to move in the opposite direction. ---Albert Einstein
            </p>
    
  • Handling ajax exception

            <p>First you need to add an handler to the event OnAsyncPostBackError of scriptmanager
    
  • Add update panel dynamically

            <pre data-sub="prettyprint:_">
            private Label Label1;