--%>

Requirement of Timer control in AJAX

Explain the requirement of a Timer control in the AJAX.

E

Expert

Verified

Timer control is used with the UpdatePanel control to permit partial-page updates at the specified interval. It is mainly used when the periodically partial-page update for one or more UpdatePanel controls is needed without refreshing entire page.

Timer control is the server control that sets JavaScript component in a Web page. Interval property of Timer control denotes time in the milliseconds. Similar to UpdatePanel control, Timer control also need the instance of a ScriptManager control in a Web page. 

When a Timer control initiates the postback, Tick event is raised on a server for which we can give the event handler to do the actions when a page is submitted to a server. Tick event takes place when a time specified in a interval property has elapsed and a page is posted on server. We can add one or more Timer controls on the Web page. Generally the whole page needs a single Timer control; though, we can use multiple Timer controls, if a UpdatePanel controls are updated at different intervals.

   Related Questions in Programming Languages

  • Q : Depths of categories-subcategories

    Normal 0 false false

  • Q : What is Stepwise refinement Stepwise

    Stepwise refinement: It is a divide and conquer approach to the programming, in which a complicated problem is recursively divided into smaller, sub-problems and more manageable. This approach to program design is frequently employed with structured p

  • Q : Define Object serialization Object

    Object serialization: The writing of an object's contents in such a manner that its state can be restored, either at a later time, or in a different procedure. This can be employed to store objects between runs of a program, or to transfer or shifts o

  • Q : What is an Interrupt Interrupt : This

    Interrupt: This is an asynchronous message sent to a process or thread which interrupts what it is at present doing. This generally outcomes in an InterruptedException object being received by an interrupted thread. Waiting for an int

  • Q : Explain Java PathFinder Java

    Java PathFinder: Java PathFinder (JPF) is a model checker that has been developed as a verification and testing environment for Java programs (Figure shown below). It is available as open source at SourceForge.net (JPF website). It consists of a custo

  • Q : Define Bogor Bogor (Robby, Dwyer, and

    Bogor (Robby, Dwyer, and Hatcliff 2006) is an extensible software model-checking framework which includes: Software model checking algorithms Visualizations A user interface designed to

  • Q : Explain Array initializer Array

    Array initializer: This is an initializer for an array. The initializer takes the position of separate creation and initialization steps. For example, the initializer int[] pair = { 4, 2, };

    Q : Interface accessibility modifier Inside

    Inside the interface accessibility modifier we can use for methods?

  • Q : Define way of kernel object outlive

    Explain the way of the kernel object outlive the process which created it.

  • Q : What is Datagram Datagram : It is a

    Datagram: It is a packet of information passed between the two communicating procedures across a network. Both the Transmission Control Protocol (abbreviated as TCP) and the User Datagram Protocol (abbreviated as UDP) are indirectly comprised in sendi