在运行时重命名以进行手风琴控制 [英] rename for accordion control at runtime
本文介绍了在运行时重命名以进行手风琴控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在一个项目上,我想在运行时重命名手风琴头.新名称应替换旧名称并应保存在数据库中.
请帮助我..
I am working on a project,i want to rename accordion header at runtime.New name should replace the old name & should be saved in Database.
Please help me..
推荐答案
希望 ^ ]可能会为您提供帮助.
Hope this[^] might help you.
Label lblTitle = new Label();
lblTitle.Text ="title";
AjaxControlToolkit.AccordionPane accordpane = new AjaxControlToolkit.AccordionPane();
//add title at runtime
accordpane.HeaderContainer.Controls.Add(lblTitle);
//update the label text to database
// accordpane.ContentContainer.Controls.Add(lblContent);
Accordion1.Panes.Add(accordpane);
这篇关于在运行时重命名以进行手风琴控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文