Click here to Skip to main content
12,956,606 members (76,294 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">


<Panes>
                           <asp:AccordionPane runat="server" ID="AccordionProjectDetaislPane1">
                               <Header>
                                   <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>
                               </Header>
                               <Content>


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

1 solution

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

Solution 1

Hi

I suggest this happens because of the page postback.

Regards
Marco Alessandro Bertschi
  Permalink  
Comments
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 6,869
CHill60 3,550
Maciej Los 3,302
ppolymorphe 2,080
Jochen Arndt 1,973


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