Click here to Skip to main content
15,902,445 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
hi,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..
Updated 14-Mar-11 19:24pm

Hope this[^] might help you.
Share this answer
Vandana87 15-Mar-11 1:45am    
plzz if possible write a code for renaming an accordion at runtim with a single/double click on accordion header.
Label lblTitle = new Label();
lblTitle.Text ="title";
AjaxControlToolkit.AccordionPane accordpane = new AjaxControlToolkit.AccordionPane(); 
//add title at runtime
//update the label text to database
// accordpane.ContentContainer.Controls.Add(lblContent);
Share this answer
Vandana87 15-Mar-11 2:12am    
where to place the above code,at <asp:AccordionPane> or <Header > </Header >
help me..
m@dhu 15-Mar-11 2:15am    
In the page load event. Accordion1 is the ID of Accordian.
m@dhu 15-Mar-11 2:57am    
No one will provide you the exact code. You need to work out yourself and get back if you are facing any problems.
Use below link to convert to vb.
Vandana87 15-Mar-11 3:04am    
okay will try myself thankx anywayss.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900