Accordion panel onclick event

J

John Graham

I have a form where I separate several of the sections with the use of
an accordion. Because of the requirements I have, I need the form to
be saved every time the user clicks on a different pane of the
accordion. I am not able to find an event I can use to do this. Any
suggestions would be appreciated.
 
G

Guest

Hi,

There is a trick, place a link on your accordion header, handle that event
on the server side and save. That's ok but... what if the user click on the
header and not on the link ? Trick two... just set the size of the link
control equals to the whole link or handle the panel/div of the header on the
client side and send a manual postback of the link when that happens.

About manually simulating a linkbutton postback:

http://www.tipsdotnet.com/ArticleDetail.aspx?RSSEntryID=1568&area=net&subarea=ASPnet

Good luck
Braulio

PS.: If you are using accordion and postback don't forget to check on a
real enviroment if that works fine (you could have performance issues).

/// ------------------------------
/// Braulio Diez
///
/// AJAX compilation of articles:
/// http://www.tipsdotnet.com/ArticleBlog.aspx?KWID=2&Area=AJAX&PageIndex=0
/// ------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top