CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 6/20/2007 4:22:57 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 24 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
SanjaySutar
Asp.Net User
how to navigate to a page content like bookmark using Menu control6/20/2007 4:22:57 AM

0/0

Hi i have a menu control . I want all menuitems to point to contents of a single page using anchor name  html element .

So i  have added menuitems  and set their navigateurl property to ~/default.aspx/#name and its working fine but sometimes the images on the page are not found and

the url also changes and bookmark is not working properly .

So plz help out

Johnson2007
Asp.Net User
Re: how to navigate to a page content like bookmark using Menu control6/22/2007 6:11:53 AM

0/0

It's strange, I have tested it following your method, and I didn't find any error. I placed the menu either into Master or into a single page, either set the menuItems manually or bind them from sitemap, no issue occured. So I guess if is elsewhere cause the issue? I paste my code as below to hope it could be helpful to you. Thank you!

masterPage.

1    <%@ Master Language="C#" AutoEventWireup="true" CodeFile="MenuTest.master.cs" Inherits="MenuTest" %>
2    
3    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4    
5    <html xmlns="http://www.w3.org/1999/xhtml" >
6    <head runat="server">
7        <title>Untitled Page</title>
8    </head>
9    <body>
10       <form id="form1" runat="server">
11       <div>
12           <asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1" Orientation="Horizontal"
13               StaticDisplayLevels="2">
14           </asp:Menu>
15           <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" />
16           <br />
17           <asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
18           </asp:contentplaceholder>
19           <br />
20       </div>
21       </form>
22   </body>
23   </html>

 MenuTest3.aspx:

1    <%@ Page Language="C#" MasterPageFile="~/MenuTest.master" AutoEventWireup="true" CodeFile="MenuTest3.aspx.cs" Inherits="MenuTest3" Title="Untitled Page" %>
2    <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
3        <br />
4    
5        ...
6    
7        <br />
8        <asp:Image ID="Image1" runat="server" ImageUrl="~/images/WalkThru/KitReadmeFile.gif" /><br />
9        <br />
10       
11       ....
12   
13       <br />
14       <asp:Image ID="Image2" runat="server" ImageUrl="~/images/WalkThru/KitReadmeFile.gif" /><br />
15       <br />
16       <a name="anchor1">anchor one</a>
17       <br />
18       
19       ...
20   
21       <br />
22       <br />
23       <a name="anchor2">anchor two</a><br />
24       <br />
25   
26       ....
27   
28       <br />
29       <br />
30       <a name="anchor3">anchor three</a>
31   </asp:Content>
MenuTest4.aspx:
 
1    <%@ Page Language="C#" MasterPageFile="~/MenuTest.master" AutoEventWireup="true" CodeFile="MenuTest4.aspx.cs" Inherits="MenuTest3" Title="Untitled Page" %>
2    <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
3        <br />
4    
5        ...
6    
7        <br />
8        <asp:Image ID="Image1" runat="server" ImageUrl="~/images/WalkThru/KitReadmeFile.gif" /><br />
9        <br />
10       
11       ....
12   
13       <br />
14       <asp:Image ID="Image2" runat="server" ImageUrl="~/images/WalkThru/KitReadmeFile.gif" /><br />
15       <br />
16       <a name="anchor1">anchor one</a>
17       <br />
18       
19       ...
20   
21       <br />
22       <br />
23       <a name="anchor2">anchor two</a><br />
24       <br />
25   
26       ....
27   
28       <br />
29       <br />
30       <a name="anchor3">anchor three</a>
31   </asp:Content>

 
 
Johnson
SanjaySutar
Asp.Net User
Re: how to navigate to a page content like bookmark using Menu control7/1/2007 6:28:20 AM

0/0

hey the problem has resolved by writing ~/default.aspx#name  and not like ~/default.aspx/#name  as i was doing earlier

Thanx

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Handbook of Human Factors in Web Design Authors: Robert W. Proctor, Kim-Phuong L. Vu, Pages: 738, Published: 2005
Designing DVD Menus: How To Create Professional-Looking DVDs Authors: Michael Burns, George Cairns, Andy Potts, Pages: 192, Published: 2004
Adobe Acrobat 5 Master Class: Interactivity and Multimedia for PDF Authors: Pattie Belle Hastings, Bjorn Akselsen, Sandee Cohen, Pages: 384, Published: 2003
ASSETS 2006: The Eighth International ACM SIGACCESS Conference on Computers and Accessibility : October 23-25, 2006, Portland, Oregon, USA Authors: Association for Computing Machinery (Nueva York). Special Interest Group on Accessible Computing, Pages: 304, Published: 2006
Professional Active Server Pages 2.0 Authors: Brian Francis, Alex Fedorov, Richard Harrison, Dave Sussman, Rob Smith, Shawn Murphy, Alex Homer, Pages: 991, Published: 1998
Office 2003 Bible Authors: Edward Willett, Allen Wyatt, Bill Rodgers, Pages: 1176, Published: 2004

Web:
Options window You can view the content of feeds in Firefox, create Live Bookmarks for them, ... would like to use to subscribe to the feed at the top of the preview page. ...
Marco’s accessibility blog » 2007 » December Dec 21, 2007 ... UI’s menu control. You can find the blog post here. ... and Right Arrows to navigate the menu bar, use DownArrow to open the menu, just like ...
Amazon.com: Help > Digital Products Help > Amazon Kindle Wireless ... from the menu. You will be presented with a list of all your bookmarks, ... To take a clipping: Navigate to the page in your reading that you wish to clip. ...
MultiView using Menu Control in ASP.NET 3.5 Oct 2, 2008 ... NET 2.0/3.5 » MultiView using Menu Control in ASP.NET 3.5 .... To allow users to navigate between View controls within a MultiView control, ...
On Bookmarks You should be able to bookmark only some content from a page and annotate it. .... if you have the google bookmarks button in Firefox or using the menu item ...
Designs Navigation Controls: Use the navigation controls to manage how your visitors navigate your site's content. Menu Control: Determine where your site's main ...
Getting Started with Safari To open a new tab: Go to the File menu > New tab. To switch between pages: Click the tabs under the Bookmarks bar to navigate from one page to another. ...
About Frames- Medieval History Navigating, bookmarking & printing with About's external link frame ... Select " Add Page to Favorites" from the Favorites menu (in IE); or; Press Control-D ...
CodeProject. Free source code and programming help JavaScript Context Menu Control. Last Updated: 23 Jun 2008 Page Views: 17812 Rating: 4.51 / 5 Votes: 31 Popularity: 6.73 Bookmark Count: 62 ...
Chapter 8: Easy Site Navigation If yours is a large Web site, navigating between pages using nothing but hyperlinks ... When the Menu control is first displayed on the page in a browser , ...

Videos:
Developing JavaScript with Chickenfoot Google TechTalks July 25, 2006 Rob Miller Michael Bolin ABSTRACT Chickenfoot is a Firefox extension that embeds a JavaScript programming environmen...




Search This Site:










accessing custom control properties from another window

the child portal adminstrator can not see the admin tab

building an asp intranet from wrox book

forms authentication and ticket persistence

service unavailable when changing from asp.net 1.1 to 2.0 in iis

dnn 1.0.10d upgrade question

3.0.10 issue: friendly url enhancement missing

login problems with dnn and ie?

test if user is in a group

don´t know how to record a form inside of database

vs 2005 error list -- list all asp.net files?

tabs

debug issue ?

text / html module error

language editor -edit

which feature is there in this breadcrumb

adding new functionality to core modules

dnn 3.0.13: preview mode stuck on: cannot toggle preview mode

problem in path on master page

skin upload error

error adding object to linq to sql class

dnn 2.0.4 - skin installer should not touch special links

imc example

appeal to module creator

migrating from coldfusion to .net

help - status of css positioning in dnn 2.1.2

select an item from a menu at runtime?

problem with forms authentication user "crossover"

dnn skin problem

how do you develop skins?

 
All Times Are GMT