TimerTick makes me lose focus

Last post 11-07-2006 9:32 AM by albertpascual. 1 replies.

Sort Posts:

  • TimerTick makes me lose focus

    11-07-2006, 9:11 AM
    • Participant
      976 point Participant
    • luisevalencia
    • Member since 08-11-2005, 1:28 PM
    • Medellin
    • Posts 258

    Hello, I have a page with a multiview, on the multiview on view 0 I have a gridview and on view 1 I have a form with some textboxes to male posible filter the gridview.

    The gridview is bound automatically every 10 seconds with a timer tick.  The problem is that every time the tick event is fired and If I am on view 1, writing on any textbox the focus is lost.

     Is there any way to fix this?

     

    protected void TimerControl1_Tick(object sender, EventArgs e)

    {

    if (mv.ActiveViewIndex == 0)

    {

    Cargar();

    }

    }

    MCPD ENTERPRISE APPLICATION DEVELOPER
  • Re: TimerTick makes me lose focus

    11-07-2006, 9:32 AM
    • All-Star
      17,453 point All-Star
    • albertpascual
    • Member since 05-23-2003, 10:11 AM
    • Riverside, CA
    • Posts 3,474

    Louse,

    TimerTick in AJAX still makes focus lost! Happens to me to, I moved to the Telerik control to avoid that.

    Every time MS AJAX calles the timer, shows me an spyglass and the focus to any control gets lost. I believe a few months ago I post it in the bug thread http://alpascual.com/blog/al/archive/2006/08/31/Another-Atlas-bug_3F00_-TimerControl.aspx

     

    Cheers
    Al
    My Blog
    MapStats.NET
    Please click on 'Mark as Answer' if this post answered your question!
Page 1 of 1 (2 items)