阿贾克斯手风琴失去当前窗格 [英] Ajax Accordion Loses Current Pane

查看:131
本文介绍了阿贾克斯手风琴失去当前窗格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用一个Ajax手风琴与几个窗格。在回发当前打开的窗格中总是重置回第一个窗格。

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.

谢谢

罗布。

这篇关于阿贾克斯手风琴失去当前窗格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆