Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8761319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T15:15:26+00:00 2026-06-13T15:15:26+00:00

Form my menu, I dynamically create a breadcrumb trail in a Panel using LinkButtons

  • 0

Form my menu, I dynamically create a breadcrumb trail in a Panel using LinkButtons and Labels. I cannot get it to wrap correctly though no matter what I do.

  1. Panel: Wrap=True, Width=400px, ScrollBars=None
  2. LinkButton: style=”white-space: nowrap”
  3. Label: text=”>”, so there is no whitespace
  4. margin-left: 5px for and inside the Panel

With LinkButton style white-space set to “nowrap”, the panel doesn’t automatically wrap the text.

Home > Chevy > Trucks > Silverado > Engineering Department > Fuel System

With LinkButton style white-space set to “normal” it wraps but not what i need.

Home > Chevy > Trucks > Silverado >
 Engineering 
Department >
Fuel
System

This is what I am looking for:

Home > Chevy > Trucks > Silverado >
Engineering Department > Fuel System

This is my codebehind to create the link when a menu item has been selected.

 Private Sub CreateLink(name As String, id As Integer)
    Dim link As LinkButton
    Dim lbl As Label

    link = New LinkButton
    link.Text = name
    link.SkinID = id
    link.Style.Add("white-space", "nowrap")
    AddHandler link.Click, AddressOf Links_Click
    BreadCrumbPanel.Controls.Add(link)

    lbl = New Label
    lbl.Text = ">"
    BreadCrumbPanel.Controls.Add(lbl)
 End Sub
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T15:15:27+00:00Added an answer on June 13, 2026 at 3:15 pm

    Well, I ended up setting the panel width to 100% instead of fixed with and now the result looks like below. Either result is exceptable for my needs.

    Result A

    Home > Chevy > Trucks > Silverado > 
    Engineering Department > Fuel System
    

    Result B

    Home > Chevy > Cars > Volt > Sales 
    Department > Information
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I had a PANEL on the form. Then dynamically I create many more panels
Im using a drop down menu in a contact form, option 1 : Worldwide
Language: Progress 10.1C I have a Windows form, and on it I dynamically create
I need to create a dynamically generated menu for an E-Commerce web site. It
I wrote code to dynamically create a list of countries for a menu in
Need to load usercontrols to my form dynamically. I have menu and passing name
I need to dynamically populate a form from fields in a database using EXT
I am loading a form dynamically into a div. When posting the form using
I am trying to dynamically build a drop down menu using PHP. The idea
I'm missing something here. I have a form dynamically loading a form using jquery

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.