Solved

Problems with Focus and TabIndex in masterpage

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
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…

744 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

15 Experts available now in Live!

Get 1:1 Help Now