Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#ASP.NETAjax
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 at 29-Jan-13 4:01am
   
hai..thank u for answering ...Is any other way to handle this..
Marco Alessandro Bertschi at 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
Your Filters
Interested
Ignored
     
0 Shai Vashdi 1,518
1 Manas Bhardwaj 319
2 Tadit Dash 285
3 OriginalGriff 273
4 Peter Leow 205
0 Sergey Alexandrovich Kryukov 9,530
1 OriginalGriff 5,716
2 Peter Leow 4,345
3 Maciej Los 3,540
4 Abhinav S 3,373


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