locked
Maintain tabindex in UpdatePanel without using Scripmanager. RRS feed

  • Question

  • User-1359117369 posted

    Hi,

    I have controls within updatepanel in a page. i want to put a control on specific textbox after postback. i used :

    Scriptmanager.setfocus(DirectCast(sender,control))

    and ( tried one by one)

    Scriptmanager.setfocus(control)

    it worked too. but when this line executes my page's scrollposition does not maintained in FireFox, as soon as i remove this line page's scrollposition maintained.

    but if i remove these line i am facing tabindex issue.

    pls help.

    Monday, November 11, 2013 1:47 AM

Answers

  • User-1359117369 posted

    Dear abhi,

    i have seacrched all the net and at the end of search i found this solution.

    MaintainScrollPositionOnPostback=true is not working in Fire fox.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, November 11, 2013 3:54 AM

All replies

  • User398825048 posted

    For maintaining the scroll you can use MaintainScrollPositionOnPostback=true of page directive.

    Monday, November 11, 2013 3:38 AM
  • User-1359117369 posted

    Dear abhi,

    i have seacrched all the net and at the end of search i found this solution.

    MaintainScrollPositionOnPostback=true is not working in Fire fox.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, November 11, 2013 3:54 AM