473,395 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Anchor Links in Web Control Library

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

Nov 19 '05 #1
1 1332
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
Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: nam | last post by:
could someone please help me with this bizarre problem - I've created a swf file at the top of my html page. The swf file (using Swish) is simply a menu of 5 links to 5 anchor points on the html...
3
by: Ton den Hartog | last post by:
What is the difference between a link and an anchor in Javascript (DOM level 0) ? Ton -- Computer museum tonh: http://www.tonh.net/museum - 10.000 visitors !! GGGallery website generator:...
1
by: Barry | last post by:
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...
8
by: Sunny | last post by:
Hi, I would like in runtime to create some sections of the page, and at the beginning to put some links to these sections. Lets say I have to provide some details for every city user will...
6
by: Richard Brown | last post by:
Ok, I celebrate and rejoice in the Anchor property. So wonderful compared to the horrible 'resize' code I had to write in VB6, there is just no end to the wonders of VB.NET..... uh, ok..... BUT......
4
by: Stefan Mueller | last post by:
With the following code I try to set the focus to the first anchor just after the page has been loaded. However, it doesn't work. Exactly spoken the focus is set to the first anchor (if you press...
3
by: gary | last post by:
Hi, I am trying to reference an anchor in a user control with a url. This worked in 1.1 but no longer works in 2.0. The ascx control is located in a "/include" folder If you have a...
5
by: Randy Webb | last post by:
The list below has the current section number, proposed anchor name, and then the current title of that section. Some make sense, some don't. There are a few that don't have proposed anchor names...
3
by: Joseph Gruber | last post by:
Hi all -- I have two questions. First, I'm adding a control to my form at runtime and the control/form seems to ignore the anchor property of the runtime control. Any idea how I can get a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.