CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 3/6/2007 11:56:50 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 6 Views: 45 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
7 Items, 1 Pages 1 |< << Go >> >|
Hoof Hearted
Asp.Net User
Wrap Sitemap text?3/6/2007 11:56:50 AM

0/0

I'm creating a Sitemap control for my client's website. The problem is that some of the items in the list have a title which goes half way across the screen.

 Is it possible to wrap the text for a particular option so it takes up less width?

Ian 

 

Zhao Ji Ma - MS
Asp.Net User
Re: Wrap Sitemap text?3/6/2007 2:35:47 PM

0/0

You can split the SiteMapNode like this

<siteMapNode
  url="~/Home.aspx"
  title="Title"
description="Default description"
/>


Zhao Ji Ma
Sincerely,
Microsoft Online Community Support

?Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?
Hoof Hearted
Asp.Net User
Re: Wrap Sitemap text?3/6/2007 2:43:03 PM

0/0

You musunderstand. When the users view the website, the Title of some the Nodes is going almost half way across the screen

<siteMapNode
  url="~/Home.aspx"
  title="A very long Title which goes almost half way across the screen and partly obscures the detail page"
description="Default description"
/>

Some of these titles are quite technical and the customer doesn't want to abbreviate them. So I need to find a way to wrap them.

 Ian 

 

Zhao Ji Ma - MS
Asp.Net User
Re: Wrap Sitemap text?3/7/2007 3:09:05 AM

0/0

Hi,

Which navigation control are you using now, Menu, TreeView or SiteMapPath?

 


Zhao Ji Ma
Sincerely,
Microsoft Online Community Support

?Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?
Hoof Hearted
Asp.Net User
Re: Wrap Sitemap text?3/7/2007 9:31:53 AM

0/0

Hi,

I'm using a tree view control.

 Ian

Zhao Ji Ma - MS
Asp.Net User
Re: Wrap Sitemap text?3/8/2007 1:47:53 AM

0/0

Hi,

Check this property: TreeView.NodeWrap Property, and there is example in the following link too:

http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.treeview.nodewrap.aspx

hope it helps!


Zhao Ji Ma
Sincerely,
Microsoft Online Community Support

?Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?
Hoof Hearted
Asp.Net User
Re: Wrap Sitemap text?3/8/2007 6:00:31 PM

0/0

Yes that's great. I hadn't spotted that property. The Menu is more compact now. Thanks for your help.

 Ian

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


Free Download:

Books:
A Practical Guide to Localization Authors: Bert Esselink, Pages: 488, Published: 2000
Starting a Yahoo! Business For Dummies Authors: Rob Snell, Pages: 410, Published: 2006
Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages Authors: Jacob J. Sanford, Pages: 474, Published: 2007
Building Accessible Websites Authors: Joe Clark, Pages: 415, Published: 2003
Dreamweaver 4 Bible Authors: Joseph W. Lowery, Pages: 1178, Published: 2001
Handbook of Human Factors in Web Design Authors: Robert W. Proctor, Kim-Phuong L. Vu, Pages: 738, Published: 2005
Dreamweaver 3 Bible Authors: Joseph W. Lowery, Pages: 1081, Published: 2000
Pro VB 2008 and the .NET 3.5 Platform Authors: Andrew Troelsen, Pages: 1377, Published: 2008
google office: The Missing Manual Authors: Missing Editorial Team, Nancy Conner, Pages: 512, Published: 2008
Forensic Methods: Excavation for the Archaeologist and Investigator Authors: Melissa A. Connor, Pages: 249, Published: 2007

Web:
CSS Image Text Wrap | milo Using empty spacer div’s, the page’s text mimics a wrapping effect around ... transparency | Home » CSS Image Text Wrap | Sitemap | CSS Gradient Text Effect ...
How to Wrap Your Text Around Google Ads? - WordPress Tips ... How to easily wrap text around Google Adsense or Chitika ads .... Lanna on How to Make Cutline’s Sitemap and Archives Pages Functional? ...
page = PAGE page.typeNum = 0 ... RIGHT_1 { special = list special.value = 1453 wrap=




Search This Site:










access child page from masterpage

style sheet

menu item selection open

issure master page

themes and css files

are skins fubar and crippled?

problem with treeview expend

treeview as navigation; automatically select node?

asp menu control item's navigateurl doesnot work in ie6. why???

how to call a sql reports server from asp.net?

strange sitemap behavior with security trimming

treeview with asp:view

how to use "page base type" and "user control base type"

asp.net rc1 - master file confuzion - ...matches the 'inherits' attribute, and that it extends the correct base class

culture change on master page

adding images into a masterpage

master pages and extra characters on id rendered

masterpage page_load or init events execute more than once ?

body onblur='' with a masterpage

custom hierarchicaldatasource for treeview control

multiple sitemap entries for same url

asp.net 2.0 menu control and web services

treeview bind with xmldatasource

master page load

menu image backgrounds

add atribute to menu's items(asp.net2)

using fdse with a masterpage

position a panel to the right

web.sitemap

treeview with custom icons on leafs

  Privacy | Contact Us
All Times Are GMT