Web Forms :: Navigation Bet Pages?
Jul 1, 2010In the application i come to products.aspx from five different pages.I have back button on the products.aspx page.How find from which page user navigated to products.aspx
View 2 RepliesIn the application i come to products.aspx from five different pages.I have back button on the products.aspx page.How find from which page user navigated to products.aspx
View 2 RepliesIam using masterpage and i want to use navigation menu ,but i don't want to use sitemap concept
how to work with navigation menu and assign the pages in navigation menu in master page
I've been rewriting my page into a master page for a bit now, problem I have is that I want the current page I'm in to be highlighted in the link.If you go to my website now gabriel-g.net and click on any menu item, it will let you know what current page you're on by staying underlined/highlighted.How can I accomplish this dynamic change in a master page -without having to recreate the menu in every page- with content holders?
View 1 RepliesI am following this tutorial [URL]and would like to know if somebody can provide the CSS used in the example.
View 2 RepliesI am building a project in asp.net 4.0. My navigation will be database driven where i return a datatable from the db containing all the pages of my site, some will be top level while others will be children and sometimes children of children n-times. Im thinking of going down the nested repeater route and databinding from code behind, dynamically generating repeaters for children, but have read that this is not a best practice and should consider the listview control. Im wanting to build a list of links using an unordered list.
View 1 RepliesI'm developing a Portal to a school
I need to login (ok)
I also need when the login is ok, to add some buttons to navigation menu, taht is created in the Master Page.
Is it possible?, how?
i already handle the page load on the default page.
i'm developing a site using VS2010 and with my windows vista busniness OS. i used the default VS2010 wizard for new web application to create it. included a folder in the root directory and created new aspx pages to derive from the master page in the root directory of my site. everything shows on the new pages except the jpeg image logo in the master page. But other aspx pages i created in the root directory shows every thing fine.
View 1 RepliesCurrently I'm doing common functionality required throughout my site inside of my masterpage. What I want to do is move this functionality to a BaseClass so All my pages inherit from the Base Class. However, I'm not sure how to set this up interms of c# code with regards to Using a Base Class and then having a masterpage applied to my aspx pages that i create.
View 5 RepliesMy requirement was to share master files among diff projects i read this doc [URL] so i use this technique to share msster pages among my diff projects in a soln but i dnt know how to reference such shared master page as if i use such
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="../masterPages/masterInvGen.Master"
[Code]....
I want to be able to make the first line blank, in this case "about us" and still keep the same dyamtic alignment on my nav menu. Right now, if i take the "about us" title text out, it messy up my dyamtic or on hover nav menu. What would be best is i can replace those letters with spaces but it won't work with just blanks. Any idea on how i would not display the "about us" but keep everything as is?
I'd like to make navigation menu like one in [url=http://www.eveonline.com/]here[/url]. I thought about using TreeView, but I couldn't make "collapse" indicators to disapear. If I set ShowExpandCollapse property to "false" those indicators disapear, but tree becomes expanded and static. That's not what I want to achieve.
View 2 RepliesI have a site with a few pages, and I decided to have my navigation button (to go from page to page) on my site.master page so every page looks the same. Two questions:
1. is that the correct thing to do? seems to work fine, I'm just not sure if it is proper or not.
2. with the navigation/buttons being on the site.master. How can I pass an "id" from one page to another.
Example:
<asp:Button ID="Button5" runat="server" CssClass="style2" ForeColor="#000084"
PostBackUrl="~/Inbounds.aspx" Text="Inbounds" />
I want the postbackurl to be "~/Inbounds.aspx?id=" a value from a textbox on the page you are leaving. More or less to pass a company name or ID number from page to page, so the queries know who the "owner" is?
I have a site that uses authentication. I will be displaying links to other sites.Currently I am using Link Buttons because the link maybe to another site or a file in our DB so the Link Button allows me to place the DB id field into the command argument.So when the user clicks on one of the buttons I check to see if it match's a web site and if so I want to direct the user to the site. Here is the code.
[Code]....
strfile being the text of the button. This works, however it opens it in the same window which is less then desirable. I would like to open it in a new window. I have triedclient side scripting, I have tried process.start, and other ways to open the link in a new window. When I use these methods and I click on the button the page posts back but the link is never opened. I do have the Link Buttons inside a update panel and haveadded the button as a trigger with the same results. I have also moved the button out side of the update panel same results. Also the Link Buttons are inside a panel control.Another point this is being done in the code behind VB.net.
I want to restrict my application user to Navigate his previously visited page, How can we achieve this?
Somebody says we have to disable Back Button etc.
One of the possible solution is keep the below code in Page_Load event
[Code]....
I am having difficulties combing site navigation & securityTrimmingEnabled together.Please see my code below, let me know what am I missing:web.config file:
<siteMap defaultProvider="XmlSiteMapProvider" enabled="true">
<providers>
<clear/>
[code]...
I have a small a problem with my navigation control. My navigation control has many menuitems. But here is just an extract to explain my problem.
<asp:MenuItem Text="Customer">
<asp:MenuItem NavigateUrl="~/CustomerLogin.aspx" Text="Log In"></asp:MenuItem>
<asp:MenuItem NavigateUrl="~/CustomerProduct.aspx" Text="Product"></asp:MenuItem>
<asp:MenuItem NavigateUrl="~/CustomerInformation.aspx" Text="Information"></asp:MenuItem>
</asp:MenuItem>
so when i put my mouse on Customer, the child menuitem drops vertically. The problem is I have a panel on the page which I use Gray Color as it background color and child menuitems are hidden behind that panel. Is there a way to show the menuitems on top of the panel beside moving the panel further down?
in .Net 4 i'm using a menu apapter like so:
<asp:SiteMapDataSource ID="mainNav" runat="server" ShowStartingNode="false" /><asp:Menu DataSourceID="mainNav" runat="server" MaximumDynamicDisplayLevels="0" />
But it's outputting a flyout type menu - all the top level links are showing and have arrows next to them. Then when you rollover these the next level is shown.
How do i get rid of this and get back to having just a un-ordered list being output?
How can I add a logout link to my navigation menu. I have horizontal dropdown menu.
View 1 RepliesI have created a wizard control. Now i would like hide all the Navigationbuttons, for example
- stepPreviousButton
- FinishPreviousButton etc.
How can i do than in my code-behind?
played w/ visual web developer 2010 and liked the template that i was given by creating a new project using the "asp.net web application visual basic" However my company is using visual studio 2008 and we are not upgrading anytime soon. So i'm trying to remake that template in visual web developer 2008. I've got 90% of it transfered and working, the styles and master.site and all work, except the menu. It's like the CSS isn't carying over right, the drop downs work on mouse over but I don't have the nice puffy buttons that change background color when i mouse over. I've dug though the css and asp code and can't find anything thats not linking up. Does anyone have any idea how to get this last 10% figured out?
<div class="clear hideSkiplink">
<asp:Menu ID="NavigationMenu" runat="server" CssClass="menu" EnableViewState="false" IncludeStyleBlock="false" Orientation="Horizontal">
<Items>
<asp:MenuItem NavigateUrl="~/Default.aspx" Text="Home"/>
<asp:MenuItem Text="Obituaries" Value="Obituaries">
<asp:MenuItem Text="Recent" Value="Recent"></asp:MenuItem>
Here is my web.sitemap code:
[Code]....
I wanna to show bread crumbs navigation like:
Home > Column1 > Content
the problem is: "~/Index.aspx" and "~/Column.aspx?ColumnId=1" are actual URLs and navigation bar: "Home > Column1" really works,
but "~/Content.aspx?ColumnId=1" is only the beginning part of actual dynamic URL, for example: it may be
~/Content.aspx?ColumnId=1&NewsId=12598 or ~/Content.aspx?ColumnId=1&NewsId=37215
all the previous Urls are articles of Column1 with same "~/Content.aspx?ColumnId=1" but are followed with different "&NewsId=number".
So, how can I realize this kind of navigation bar?
Home > Column1 > Content
I am having a problem with my menu. My navigation menu gets created with data from different tables in a database. When the page loads after a few minutes the navigation menu disappears from page. Does anyone have had this problem or knows how to fix it?
View 3 RepliesI am using the Wizard control to create a webshop with steps. The wish is for horizontal navigation on top and the links should not link (plain text) yet but the links to previous steps should become links. My sidebartemplate:
[Code]....
I am creating navigation dropdown links on my masterpage. I've already created functional menu links with .jpeg images. What I want is when I hover over a particular menu link a drop-down of additional links is available. Do I need to use some type of javascript for this or can asp provide this functionality?
View 2 RepliesI am a student and .net freshers.I have been working on a website using asp.net and has used menu control in it.it has various sections like home,about us ,customer care and i have set navigate url for each menu parts and submenus .but it is not navigating to respective pages while it is opened in browser. I have seen sitemap usage and iE8 compatiblity articles does it needs to be done ...cant it workout just by setting navigate url in property of menu?
View 6 Replies