adding text after hyperlink control

  • Thread starter Thread starter Daves
  • Start date Start date
D

Daves

I'm dynamically adding Hyperlink controls to a Label control. Can I somehow
add " : " string after each hyperlink control so that the links appear like
Link1 :: Link2 :: Link 3
 
try using a new LiteralControl. Try the following code and suite to
your needs.

Container.Controls.Add(lnkkButton);
Container.Controls.Add(new LiteralControl(" :: "));
 
guess you can add labels or literals with property Text = " :: " in
between your links
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top