Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET Ajax
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 19: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
0 OriginalGriff 490
1 Maciej Los 299
2 BillWoodruff 174
3 /\jmot 170
4 Suraj Sahoo | Coding Passion 150
0 OriginalGriff 8,484
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,639
3 Maciej Los 5,159
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 29 Jan 2013
Copyright © CodeProject, 1999-2014
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