Page view counter

Problem with Timer Control!

Last post 11-11-2007 3:04 PM by gt1329a. 2 replies.

Sort Posts:

  • Problem with Timer Control!

    11-10-2007, 1:57 AM
    • Loading...
    • mlife
    • Joined on 06-21-2007, 11:48 PM
    • Posts 20
    • Points 5

    HI, I use timer control in my page.

    each 10 second i show one of some pics in my page by timer control.

    problem is here, when i am scrolling in my page, when pic change, page scroll to top of page (my images change in top of page).

    any one has Idea about it? 

  • Re: Problem with Timer Control!

    11-11-2007, 2:16 AM
    Answer
    • Loading...
    • dwhite
    • Joined on 02-08-2007, 2:25 PM
    • Bristol, CT
    • Posts 1,422
    • Points 8,978

    Don't use the UpdatePanel for this... I recommend using the SlideShow control in the AJAX Control Toolkit.  The result is much nicer and is much less overhead than the UpdatePanel and Timer. 

    -Damien

    Visoft, Inc - Home | Blogs

    Latest Blog Post: ASP.NET 4.0 AJAX Preview 4 - Data Binding
  • Re: Problem with Timer Control!

    11-11-2007, 3:04 PM
    Answer
    • Loading...
    • gt1329a
    • Joined on 06-23-2002, 8:53 PM
    • Atlanta
    • Posts 2,055
    • Points 12,287
    This jQuery plugin is also an easy way to do it.  Definitely don't use an UpdatePanel.
    Encosia - ASP.NET, AJAX, and more.

    Latest article: Never worry about ASP.NET AJAX's .d again
Page 1 of 1 (3 items)