Re: Control ids
- From: intrader <intrader@xxxxxxxxxxxxx>
- Date: Mon, 27 Jun 2005 20:32:21 GMT
On Mon, 27 Jun 2005 11:36:10 +0200, Steve Peterson wrote:
> Hello
>
> Is there a way to change the id of an generated html of an asp.net control?
> What I mean is that, for example, if I have an textbox control and give it
> an id of "txtName", the html generated is something like:
> id="_ctl2_txtName".
>
> Apparently,according to our clients "search engine expert", the google
> search algorithms penalize controls that have id's begining with an
> underscore ( _ ). Since our client is a big fan of doing the "google dance"
> and wants his site to be as far up in the search engine as possible, I need
> to know if I can change the auto generated leading underscore to something
> else..
>
> Thanks ahead of time
> Steve
>
> PS Just out of curiosity - how many of you out there have had to increase
> your develoment time and actually have to come up with pain in the ***
> workarounds (thus tying your hands and using all the time saving things of
> asp.net) to just to try and get you .aspx html to be "google" friendly? Just
> curious - because I know I have..
As to your PS, we worried a lot in the earlier times of the net (1994).
Now we don't worry, but do what is required to 'satisfy' (to fake it)
Google.
.
- References:
- Control ids
- From: Steve Peterson
- Control ids
- Prev by Date: Re: ASP.NET - Urgent help
- Next by Date: Re: Compiler error CS0006
- Previous by thread: Re: Control ids
- Next by thread: ASP.NET - Urgent help
- Index(es):