c# updatepanel with timer page_load

后端 未结 4 1724
感情败类
感情败类 2021-01-23 10:02

I\'m experimenting with some AJAX now. I have a custom control which appears on my masterpage in which there is an update panel and a timer. The timer fires and the panel upda

4条回答
  •  清歌不尽
    2021-01-23 10:17

    UpdatePanels always force the entire page to refresh. If you want only a certain portion of the page to be processed (and it's a fixed size) then you could try using an iframe.

    Alternatively, if you want to save the variables you can either put them in ViewState or SessionState so that they are persisted between postbacks

提交回复
热议问题