A
Anatoli Trifonov
Hi all
Please point me to a link if this can be changed, fixed or something
I have the following control in my UserControl
<img src="pic/dot.gif" border="0" width="50" height="50"
id="imgCenterImage" runat="server" alt="">
After aspx runs through
imgCenterImage.Src = bla bla bla
imgCenterImage.Width = iImageWidth
imgCenterImage.Height = iImageHeight
imgCenterImage.Alt = bla bla bla
Result is this in HTML
<img src="pic/icon_top_how_we_can.gif"
id="_ctl0_ctrlTopMenu__ctl2_imgCenterImage" border="0" width="95"
height="72" alt="How We Can Help" />
Is there any way to control the resulting ID?
This line
id="_ctl0_ctrlTopMenu__ctl2_imgCenterImage"
makes aspx unusable for creation of web sites for search engines
ID starting with "_" is not allowed in
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Thanks
--
_____________________________________
Anatoli Trifonov
Software Developer & Consultant
Minds are like parachutes - they only function when open.
--Thomas Dewar
Please point me to a link if this can be changed, fixed or something
I have the following control in my UserControl
<img src="pic/dot.gif" border="0" width="50" height="50"
id="imgCenterImage" runat="server" alt="">
After aspx runs through
imgCenterImage.Src = bla bla bla
imgCenterImage.Width = iImageWidth
imgCenterImage.Height = iImageHeight
imgCenterImage.Alt = bla bla bla
Result is this in HTML
<img src="pic/icon_top_how_we_can.gif"
id="_ctl0_ctrlTopMenu__ctl2_imgCenterImage" border="0" width="95"
height="72" alt="How We Can Help" />
Is there any way to control the resulting ID?
This line
id="_ctl0_ctrlTopMenu__ctl2_imgCenterImage"
makes aspx unusable for creation of web sites for search engines
ID starting with "_" is not allowed in
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Thanks
--
_____________________________________
Anatoli Trifonov
Software Developer & Consultant
Minds are like parachutes - they only function when open.
--Thomas Dewar