--%>

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 : Explain This This : It is a Java

    This: It is a Java reserved word with numerous different uses: A) Within a constructor, it might be employed as the first statement to call the other constructor in similar class. For illustration:

    Q : Basic features of OOPs Illustrate the

    Illustrate the basic features of OOPs?

  • Q : Detecting sequence in signal line

    Explain how to detect a sequence of ‘1101’ arriving serially from the signal line?

  • Q : Describe Method Method : The portion of

    Method: The portion of a class definition which implements some of the behavior of objects of the class. The body of the method includes declarations of local variables and statements to execute the behavior. The method receives input through its argu

  • Q : What is Behavior Behavior : It is the

    Behavior: It is the methods of a class which implement its behavior. A particular object's behavior is a mixture of the method definitions of its class and the present state of the object.

  • Q : Overriding a base class method in

    Explain the way to overriding a base class method in Visual Studio .NET and in Visual Studio 2005.

  • Q : Limit the Use of Pre-processor

    Limit the Use of Pre-processor Directives: The C pre-processor is powerful, but unrestricted use of it can lead to code that is hard to understand and analyze. Limit its use to inclusion of header files and simple macro definitions. Avoid features suc

  • Q : Describe File system File system : The

    File system: The operating system makes it possible to utilize space on a computer's disk drives by imposing a structured file system on disk storage. Each and every file system contains its own conventions for the manner in which the files are named,

  • Q : What is the use of compatibility testing

    What is the use of compatibility testing?

  • Q : Explain the good example of XHTML

    Explain the good example of XHTML element opening tags.