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
Solved

Problems with Focus and TabIndex in masterpage

Posted on 2013-06-26
4
660 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…

856 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