Solved

Problems with Focus and TabIndex in masterpage

Posted on 2013-06-26
4
649 Views
Last Modified: 2013-11-11
Hi,

I am developing webapplication using asp.net.

The page contains a Master Page. Containing a header (with 5 tabs), the hole to put the other pages (body) and foot.

The Master Page is like a template, we see in the other pages, sharing the head and foot, (Obviously, in the body will see the selected page).

I'm putting Tabindex in the elements of the page, for navigate with the tab from one element to another in order, in the normal pages.

The problem is that  i am not able to navigate from one tabs to another in Mater page menu.

<asp:Menu runat="server" DataSourceID="siteMapDataSource1" ID="mnuNavigation" Orientation="Horizontal"
                        StaticDisplayLevels="1" MaximumDynamicDisplayLevels="2" DynamicVerticalOffset="0"
                        DynamicHorizontalOffset="0" SkipLinkText="" RenderingMode="List" Tabindex="0">
                        <StaticMenuStyle CssClass="static-menu-style" />
                        <DynamicHoverStyle BackColor="#D7D7E4" />
                        <StaticSelectedStyle CssClass="static-menu-selected-style" />
                        <LevelMenuItemStyles>
                            <asp:MenuItemStyle BackColor="#F8F7F4" ForeColor="#585880" Font-Size=".8em" Font-Bold="true"
                                BorderWidth="1px" BorderColor="#585880" HorizontalPadding=".39em" VerticalPadding=".11em"/>
                            <asp:MenuItemStyle BackColor="#F8F7F4" ForeColor="#585880" Font-Size=".8em" Font-Bold="true"
                                HorizontalPadding=".52em" VerticalPadding=".11em" CssClass="DynamicMenuItemStyle" />
                        </LevelMenuItemStyles>
                        <StaticHoverStyle CssClass="hoverstyle" />
                    </asp:Menu>
 
 
what I want is that the focus does not go to the head or any other element(Tabs) of the Master Page.

I expect a quick response.
 
Thanks in Advance..
0
Comment
Question by:sam_net
  • 2
  • 2
4 Comments
 
LVL 12

Expert Comment

by:jitendra patil
ID: 39280473
try the below link.
ASP.NET Horizontal Menu Control

hope this helps.
0
 

Author Comment

by:sam_net
ID: 39280944
Thanks for reply...

But its not give any solutuon to my problems..

I am expecting solutions for how to set tab order for Master Page  Menu (tabs)
0
 
LVL 12

Accepted Solution

by:
jitendra patil earned 500 total points
ID: 39281369
as per your expectation try the link below.
Is there a way to set Tab Order in ASP.net
here is the brief of masterpage and site navigation
Master Pages and Site Navigation

hope this helps.
0
 

Author Closing Comment

by:sam_net
ID: 39640722
Thanks
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now