使用多个可折叠面板 [英] using multiple collapsible panels

查看:71
本文介绍了使用多个可折叠面板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我的任务是创建一个显示如下内容的Web表单:

 _______________________________________________
| ----------------------- 1 --------------------- |
| ----------------------- 2 --------------------- |
| ----------------------- 3 --------------------- |
| |
_______________________________________________ 



这个想法是1、2、3是可折叠的面板.我在每个可折叠面板的标题面板中使用的标签将显示sme数据的ID.

当我单击它时,例如在面板1中使用它,一个面板将展开,并在其中显示一个gridview,其中将显示内容面板,其中显示了该ID的详细信息,然后我将再次单击标签,面板将关闭.

同样适用于第二个和第三个.依此类推.

所以我怎么用这个??一起使用javascript和ajax或仅使用ajax就足够了?
请提出建议.

问候,
Taresh Uppal

[edit]更改了标签[/edit]

解决方案

类似的东西 [^ ]?


Hi all,

My task is to create a web form which shows something like this:

_______________________________________________
|-----------------------1---------------------|
|-----------------------2---------------------|
|-----------------------3---------------------|
|                                             |
_______________________________________________



The idea is this that 1, 2, 3 are the collapsible panels. I am using a label in header panel of each collapsible panel which will show ID of sme data.

when I will click on it, say it is used in panel 1, the panel one will expand and inside it a gridview is there which will show content panel showing the details of that id, and wen i will click on label again it panel will close.

similarly for the 2 one and the third one and so on.

so how can i use this ?? using javascript and ajax together or just ajax will be enough ???

Pls suggest.

Regards,
Taresh Uppal

[edit]changed tags[/edit]

解决方案

Something like this[^]?


这篇关于使用多个可折叠面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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