--%>

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 : What are Logical operators Logical

    Logical operators: The operators, like &&, ||, &, | and ^ which take two Boolean operands and generate a Boolean outcome. Employed as part of a Boolean expression, frequently in the condition of the control structure.

  • Q : Write a program to print out ten random

    Write a program to print out ten random numbers from the following sets: a) {0, 1, 2, 3, 4, 5, ...99, 100} b) {1, 2, 3, 4, 5, 6} c) (10, 20, 30, 40, 50,...990, 1000} d) {-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5} e) {1.5, 2.0, 2.5, 3.0, 3.5}  

  • Q : Define the term Monitor Define the term

    Define the term Monitor: It is an object with one or more synchronized techniques.

  • Q : State the term snooping State the term

    State the term snooping?

  • Q : What is an Instruction set Instruction

    Instruction set: The set of instructions which characterize a specific Central Processing Unit. The programs written in the instruction set of one type of CPU can’t usually be run on any other kind of CPU.

  • Q : What is Catch clause Catch clause : It

    Catch clause: It is a part of a try statement accountable for handling the caught exception.

  • Q : Explain Switch statement Switch

    Switch statement: It is a selection statement in which the value of an arithmetic expression {expression!arithmetic} is compared for the match alongside different case labels. When no match is found, the optional default label is chosen For example:

  • Q : Explain LURCH LURCH (Menzies et al.

    LURCH (Menzies et al. 2004) uses random search to explore a state machine’s state space. Because the search is random, it gives no guarantee that the state space has been exhaustively explored, so LURCH cannot be used for verification. However,

  • Q : Define the term Scheduler Define the

    Define the term Scheduler: The portion of the Java Virtual Machine (abbreviated as JVM) which is responsible for managing the threads.

  • Q : What is Virtual desktop Virtual desktop

    Virtual desktop: The name employed to explain a user's graphical working area in a window manager. The name arises in the early days of graphical user interfaces whenever it was thought that such would lead to `paperless offices'. This was anticipated