• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 738
  • Last Modified:

Problems with Focus and TabIndex in masterpage

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
sam_net
Asked:
sam_net
  • 2
  • 2
1 Solution
 
Jitendra PatilSr.Software EngineerCommented:
try the below link.
ASP.NET Horizontal Menu Control

hope this helps.
0
 
sam_netAuthor Commented:
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
 
Jitendra PatilSr.Software EngineerCommented:
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
 
sam_netAuthor Commented:
Thanks
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now