Ajax 手风琴丢失当前窗格 [英] Ajax Accordion Loses Current Pane
本文介绍了Ajax 手风琴丢失当前窗格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用带有多个窗格的 Ajax Accordion.在回发时,当前打开的窗格始终重置回第一个窗格.
I'm using an Ajax Accordion with several panes. On a postback the currently opened pane is always reset back to the first pane.
有什么办法可以解决这个问题吗?
Is there any way around this problem?
谢谢
罗布.
推荐答案
我已经通过在查询字符串中传递当前窗格索引然后将当前窗格设置回 Page_Load 事件中的索引来解决这个问题目标页面.
I've worked-around the problem by passing the current pane index in the query string then setting the current pane back to the index in the Page_Load event of the target page.
谢谢,
罗布.
这篇关于Ajax 手风琴丢失当前窗格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文