Whenever there is an Autopostback event my focus on present control will be lost under AjaxPanel

3 posts, 0 answers
  1. gautham
    gautham avatar
    31 posts
    Member since:
    Dec 2008

    Posted 24 Oct 2011 Link to this post


         I have placed my controls under AjaxPanel and having AjaxLoadingPanel which as been targeted by this AjaxPanel. Whenever there is an Autopostback event my focus on present control will be lost.

        Please help me  get-back focus to respective control under present scenario.

  2. Kevin
    Kevin avatar
    360 posts
    Member since:
    Jul 2012

    Posted 25 Oct 2011 Link to this post

    Hello gautham,

    You could reset the focus during the event raised by the control during the AutoPostBack. You just need to call FocusControl method of the RadAjaxPanel and pass it the control you want to get the focus.

    I hope that helps.
  3. DevCraft R3 2016 release webinar banner
  4. LMMC
    LMMC avatar
    18 posts
    Member since:
    Aug 2007

    Posted 24 Jan 2015 in reply to Kevin Link to this post

    The problem is to get back the focus not to a specific control but to the control which has focus just before the AutoPostBack event
Back to Top