Maintain scroll position of a div within a page on postback

后端 未结 5 1813
无人共我
无人共我 2020-12-14 22:36

I have a div within an aspx page with overflow set to auto. The contents of the div are dynamically created and consists of a list of link buttons.

5条回答
  •  余生分开走
    2020-12-14 23:27

    What happens when the link buttons are pressed? What processing occurs during the postback?

    Depending on the answers to those questions, you may want to investigate getting rid of the postback altogether and performing the necessary operations purely client-side.

    (I am currently performing this kind of conversion for a client.)

提交回复
热议问题