Web Forms :: Site Navigation & SecurityTrimmingEnabled?

Aug 3, 2010

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]...

View 2 Replies


Similar Messages:

Web Forms :: Navigation In Site.Master?

Oct 29, 2010

I 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?

View 15 Replies

Web Forms :: Divide The Navigation Of Site Between 2 Menus?

Jan 4, 2010

i want to display my navigation in 2 horizontal menus, one on the top, the other on the bottom. I also want to use sitemap since it ease the maintenance of links. Is there a simple way to achieve this ? (I am not talking about Parent child, say i want to display the first 8 nodes in up menu and the left in the bottom menu.)

View 5 Replies

Web Forms :: Master Pages And Site Navigation Tutorial?

Jun 28, 2010

I am following this tutorial [URL]and would like to know if somebody can provide the CSS used in the example.

View 2 Replies

Web Forms :: Site Navigation And Retaining User Selections?

Feb 17, 2010

handle site navigation and retaining user selections.

On Page 1:

I am using an <asp:ListBox as a filter for an <asp:GridView (gv.datasource=myobj.getdata(lb.selectedvalue))

This functions as expected and the gridview pagination functions as expected.

Each row on the grid provides an <asp:HyperLinkField to navigate to another page (Page 2).

This functions as expected.

On Page 2:

This provides functionality to perform some data creation/manipulation tasks.

It also provides a link to navigate to another page where other tasks can be performed (Page 3).

My query is in relation to returning from Page 3 to Page 2 to Page 1.

I would like to be able to return from Page 3 to Page2 to Page 1 and display earlier selections.

Currently, I am using a combination of querystring parameters and sessions vars on each Page_Load to achieve this.

Q1: What are the recommended ways to achieve this?

Q2: Is it possible to dynamically specify url parameters on a sitemap?

View 1 Replies

Unable To Get Site Map Path Navigation

Feb 9, 2011

I have 3 site map path like this

1 st page and 2nd page is different 3 and 4th one are common for all navigations

Navigation 1

Home(Page1.aspx) ---> Begin(Page2.aspx)------>Choose(Page3.aspx)-------->Use(Page4.aspx)

Navigation 2

Home(Page7.aspx) ---> Begin(Page47.aspx)------>Choose(Page3.aspx)-------->Use(Page4.aspx)

Navigation 3

Home(Page17.aspx) ---> Begin(Page27.aspx)------>Choose(Page3.aspx)-------->Use(Page4.aspx)

View 2 Replies

MVC :: Display Site Navigation In Project Using Breadcrumb

Sep 20, 2010

i wants to display site navigation in my project using breadcrumb.

View 7 Replies

Authentication - Unautenticated Site Navigation Handled?

Apr 11, 2010

am wondering how to do the following... I have a registration system. When the user successfully registers, he is then led down a series of data gathering pages (for his profile) and then,finally, ends on his profile's home page where he can start to use the site. All this happens without ever logging into the system so, he is unauthenticated
and unconfirmed. My question is, how does this happen? How can I allow my user to be unauthenticated (and unconfirmed, but this I understand) and use all aspects of the Web site? The way I have things set up right now, my code should be doing this:

case CreateProfileStatus.Success:
//FormsAuthentication.SetAuthCookie(userName, false);
Response.Redirect("NextPage.aspx", false);

[code]...

View 1 Replies

Security :: SecurityTrimmingEnabled Not Working

Sep 12, 2010

[Code]....

View 1 Replies

Dynamic Navigation - Where To Return A Datatable From The Db Containing All The Pages Of Site

Jun 16, 2010

I 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 Replies

Using A Custom sqlsitemapprovider to Get Site Hierarchy Out Of The Database And Display Navigation?

Mar 18, 2010

I'm using a custom sqlsitemapprovider to get my site hierarchy out of the database and display my navigation. Now, I have the following main (parent) nodes:

Home - Products - News. What I want to achieve is this, suppose you click on products then a subnavigation appears like this:

productGroup1,productGroup2, productGroup3.

But when you click products, no selection was made from the subnavigation, how would I achieve that if someone clicks on products, the
first product with content from the first productGroup1 shows up?

To visualize this: I click on Products -> Subnavigaton gets rendered -> PG1 - PG2 - PG3 -> page displays product1 of PG1

Is there as build in manner to accomplish this or how would one create a method to make this work?

P.S.:For my navigation, I'm not using any build in navigation controls, I'm rendering my menu as an html unordered list e.g: <ul><li></li></ul>

View 1 Replies

Design Pattern(s) For A Webservice Enabled Telerik Treeview For Navigation Of A Document Site?

Oct 11, 2010

I am currently working on a document management system in ASP.NET 3.5 using the Telerik AJAX toolkit. It consists of masterpage with a title banner across the top and a RadTreeview down the left hand side for navigation through the site. The treeview uses a combination of static nodes and dynamic ones. The dynamic nodes are populated via a webservice. When a node is clicked the relevant page is navigated to, reloading the masterpage and displaying the content of the target page.

The problem comes from the fact the treeview's dynamic nodes are populated via a webservice and therefore as the user navigates through the tree to find a document the treeview behaves as you would expect. However, when you get to the bottom of a tree of dynamic nodes the navigation to the page of the navigateurl causes the relevant page to be loaded and then the treeview resets itself to a collapsed state. This means the user could be deep in a nest of documents but when they view one, the tree collapses and they have to start their navigation all over again. This limitation is not going to be acceptable from an ease of use perspective.

According to Telerik, this is the designed behaviour for performance reasons - the node only ever worries about populating the next set of nodes and therefore the treeviews state is not remembered in viewstate.

So, the meat of question is. Is the masterpage/async treeview navigation design pattern a valid one? Are there any other ways to have an ajax treeview on a masterpage, that remembers it's state when another page is navigated to? I have considered a siglepage/updatepanel/partial page rendering model but the opinions I've seen on the net infer that this is bad idea. It confuses users that expect back/forward browser behaviour to navigate through the site but in a single page world they would end up leaving the site.

I also thought that maybe using a single page container and an iframe may work but this seems to be moving away from the "standard" design pattern of using masterpages.

View 1 Replies

Web Forms :: How To Work With Navigation Menu And Assign Pages In Navigation Menu In Master Page

Aug 25, 2010

Iam 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

View 2 Replies

Web Forms :: Navigation Menu / Login And Add Some Buttons To Navigation Menu

May 19, 2010

I'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.

View 3 Replies

Web Forms :: How To Send The Data From Site B To Site A From Javascript

Mar 2, 2011

I have two web application. one is A and another is B. I want to send the data from Site B to Site A from javascript so that it should come as a pop up on site A. How can i achieve this thing? Is it possible or not? Need Response as soon as possible.

View 2 Replies

Web Forms :: Navigation Bet Pages?

Jul 1, 2010

In 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 Replies

Web Forms :: Pass Values From One Site To Another Site?

Sep 30, 2010

I hosted two asp.net web project in IIS with unique VirtualDirectory (sample and Sample2). Now i access a web page from Sample site and from this page i'm sending request to a web page in a site Sample2 with some values through Query String. I got the page and the values from query string.

Now my problem is, instead of sending values through QueryString is there is any other way to pass values from one site to another. Because, i never give the url for the second site to client. They know only the first site url based on user input i'll redirect it to the second site. Problem is user can see the values passed through QueryString and there is a chance to bookmark that link by user, it just like hacking. I donot want the user to do that.

View 2 Replies

Web Forms :: Alignment In Navigation Menu

Jan 16, 2010

[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?

View 5 Replies

Web Forms :: How To Make Navigation Menu

Jul 11, 2010

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 Replies

Web Forms :: Navigation And Response.redirect?

Mar 25, 2010

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.

View 9 Replies

Web Forms :: Invalidate BackPage For Navigation?

Feb 19, 2010

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]....

View 5 Replies

Web Forms :: Navigation Control Appear Behind The Panel?

Jan 10, 2011

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?

View 12 Replies

Web Forms :: .net 4 Navigation Output As A Flyout?

Aug 3, 2010

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?

View 2 Replies

Web Forms :: Logout At Navigation Menu

Nov 9, 2013

How can I add a logout link to my navigation menu. I have horizontal dropdown menu.

View 1 Replies

Web Forms :: Hide All Wizard Navigation Buttons?

Jan 14, 2010

I 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?

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved