Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

Accordion panel onclick event

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Graham - 30 Oct 2007 22:11 GMT
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.
Braulio Diez - 31 Oct 2007 10:09 GMT
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
/// ------------------------------

> 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.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.