Click here to Skip to main content
12,950,084 members (61,595 online)
Rate this:
Please Sign up or sign in to vote.
See more:
heyy... I Used an ajax accordion and I have 5 accordion panel inside it ...My problem is when I used accordion panel 3..and press enter key ..It will go to accordion panel 1(or accordion panel 1 is opening..) ....

plz give a solution to over come this flow... here is my accordian properties...

<asp:Accordion ID="Accordion1" runat="server" SelectedIndex="0" HeaderCssClass="accordionHeader"
                        HeaderSelectedCssClass="accordionHeaderSelected" ContentCssClass="accordionContent"
                        Font-Names="Verdana" Font-Size="10" BorderColor="#000000" BorderWidth="1" FramesPerSecond="250"
                        FadeTransitions="true" TransitionDuration="100">

                           <asp:AccordionPane runat="server" ID="AccordionProjectDetaislPane1">
                                   <a href="#" class="quickHeadingproject" onclick="return false;">Project Details</a>
                                   <asp:ImageButton ID="ImgProjNext" runat="server" CssClass="arrowalt2" OnClick="ImgProjNext_Click" CausesValidation="false"
                                       ImageUrl="~/Images/NewImage/next_22x26.png" ToolTip="Next"></asp:ImageButton>

...... like so on........
Posted 28-Jan-13 18:29pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1


I suggest this happens because of the page postback.

Marco Alessandro Bertschi
aravindnass 29-Jan-13 4:01am
hai..thank u for answering ...Is any other way to handle this..
Marco Alessandro Bertschi 29-Jan-13 4:22am
Not as far as I know. Hitting the Enter key when a control on your page has focus causes a post back in about 90% of the cases.

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

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 5,829
CHill60 3,460
Maciej Los 2,953
Jochen Arndt 1,975
ppolymorphe 1,820

Advertise | Privacy | Mobile
Web02 | 2.8.170525.1 | Last Updated 29 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100