开发者

Update panel in different places

My update panel must update some panel out of content of this panel, for example I've got

<update panel>
        some staff
</update panel>
<div>
        No need to update staff
        Need to update staff
</div>

How can I update "Need to updat开发者_如何学Ce staff" when updating "some staff" in my update panel ?


You'd either:

  • Have them both in the same updatePanel
  • Have them in two seperate updatePanels with an update trigger

As you say they have to be seperate (why?) use the second option.


The simples must be to expand your update panel.

Otherwise put your div in a partial page and load with jquerys load method.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜