--%>

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 : Define Java 2 SDK Java 2 SDK : It is a

    Java 2 SDK: It is a particular implementation of the abstract functionality explained in Sun's specification of Java 2 Platform.

  • Q : Define the term Local inner class and

    Define the term Local inner class and Local variable: Local inner class: It is an inner class stated in a method. Local variable: It is a variable defined within

  • Q : What is a Port Port: It is a number

    Port: It is a number employed by a procedure to communicate with the other procedure across a network, employing the Transmission Control Protocol (abbreviated as TCP) or User Datagram Protocol (abbreviated as UDP), for instance.

  • Q : Define Application Application : It is

    Application: It is frequently used, simply as a synonym for the program. Though, in Java, the word is particularly employed of programs with a Graphical User Interface (GUI) which are not applets.

  • Q : Define Fetch-execute cycle

    Fetch-execute cycle: The simple set of steps which are endlessly recurring by a computer's Central Processing Unit for each and every program instruction: `Fetch the next instruction suggested by the program counter,' `update the program counter to pa

  • Q : Program is prone to deadlock when

      Give a brief introduction about the operation of your program and show that you understand the idea behind threads and mutual exclusion variable. Why do we need to use mutual exclusion to control the access of the three global variables? What is the potential p

  • Q : What is an Operand Operand : An operand

    Operand: An operand is an argument of the operator. Expressions comprise combinations of operands and operators. The value of an expression is determined by exerting the operation stated by each and every operator to the value of its operands.

  • Q : Differences between XHTML and HTML

    Explain the differences between XHTML and HTML?

  • Q : What is Syntax error Syntax error: It

    Syntax error: It is an error detected by the compiler throughout its parsing of a program. The syntax errors generally result from mis-ordering symbols in statements and expressions. Missing curly semicolons and brackets are general illustrations of s

  • Q : What is Kernel Write about the Kernel?

    Write about the Kernel?