Anchor Links in Web Control Library

Discussion in 'ASP .Net' started by Barry, May 21, 2005.

  1. Barry

    Barry Guest

    Hi
    I am Developing a C# control for use in ASP.NET Web Application, it is
    has some HtmlAnchor links on it, i want to avoid the underscore which comes
    in all links, how can i do it it the Control's code not on the Web page
    where it is displayed

    TIA

    Barry
    Barry, May 21, 2005
    #1
    1. Advertising

  2. This behaviour comes from ITemplate. Don't implement that interface and you
    won't get the underscores in the client ID or colons in the name, but you
    also won't ensure unique control naming without it which could cause you
    grief on post back.

    Its better if possible to accomidate the underscores instead of removing them.

    Cheers,
    Steve Goodyear
    =?Utf-8?B?U3RldmUgR29vZHllYXI=?=, May 21, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. henry tourneur
    Replies:
    5
    Views:
    4,833
    Steve Pugh
    Dec 23, 2004
  2. Dan Fingerman

    BASE attribute to ignore anchor links

    Dan Fingerman, Mar 4, 2005, in forum: HTML
    Replies:
    5
    Views:
    8,511
    Dan Fingerman
    Mar 7, 2005
  3. Replies:
    1
    Views:
    723
    Sean Chambers
    Oct 11, 2006
  4. AAaron123
    Replies:
    11
    Views:
    1,117
    AAaron123
    Nov 27, 2008
  5. William

    How to anchor TreeView Control in Web Browser

    William, Jun 3, 2008, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    156
    Mike Gleason jr Couturier
    Jun 6, 2008
Loading...

Share This Page