Solved

Problems with Focus and TabIndex in masterpage

Posted on 2013-06-26
4
706 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 13

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 13

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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…
Suggested Courses

617 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