Ray: I was not aware of that fact. Thank you so much. This is exactly what I needed. And I think it wouldn't quite be a Microsoft product if they were not able to confuse people ;-) Thanks Andy
_____ From: [email protected] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 22, 2005 4:23 PM To: [email protected] Subject: RE: [ASP] ASP.Net / Title An asp:label is just asp.net's way of confusing people by not calling something a span. Why they could have called it <asp:span, I'll never understand. Remember, things like <asp:label have to be translated into actual HTML elements when the page is rendered. A label is a span. You could use <asp:literal instead. <title><asp:literal id="ltlTitle" runat="server"></asp:literal></title> Ray at work > -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf Of > Mills, Andy R. (Regency) > Sent: Thursday, September 22, 2005 4:08 PM > To: '[email protected]' > Subject: [ASP] ASP.Net / Title > > Hello Guys: > > I am not sure if I am doing something wrong, or this is by design. > > In my ASP.Net page: I am using a label in the <TITLE> block as such: > <title><asp:Label id="lblTitle" runat="server" /></title> > > However: everytime the page is loaded: the title looks like > the following: > <span id="lblTitle">HI</span> > > Why is the <span> information showing? Is there anyway to > prevent this from happening? > > Thanks > > Andy Mills > > > > > > [Non-text portions of this message have been removed] > > > > ------------------------ Yahoo! Groups Sponsor > --------------------~--> Most low income households are not > online. Help bridge the digital divide today! > http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/17folB/TM <http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/17folB/TM> > -------------------------------------------------------------- > ------~-> > > -------------------------------------------------------------- > ------- > Home : http://groups.yahoo.com/group/active-server-pages <http://groups.yahoo.com/group/active-server-pages> > --------------------------------------------------------------------- > Post : [email protected] > Subscribe : [EMAIL PROTECTED] > Unsubscribe: [EMAIL PROTECTED] > --------------------------------------------------------------------- > Yahoo! Groups Links > > > > > > > --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages <http://groups.yahoo.com/group/active-server-pages> --------------------------------------------------------------------- Post : [email protected] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- SPONSORED LINKS Active server page web hosting Active server page hosting Active <http://groups.yahoo.com/gads?t=ms&k=Active+server+pages&w1=Active+server+pa ge+web+hosting&w2=Active+server+page+hosting&w3=Active+server+pages&w4=Activ e+server+page+asp&w5=Active+server+page+training&c=5&s=154&.sig=Kj3e9va1GFeg NEHBqu3hhQ> server pages Active <http://groups.yahoo.com/gads?t=ms&k=Active+server+page+asp&w1=Active+server +page+web+hosting&w2=Active+server+page+hosting&w3=Active+server+pages&w4=Ac tive+server+page+asp&w5=Active+server+page+training&c=5&s=154&.sig=sisnEv3qt IshP-5LXqIFSQ> server page asp Active server page training _____ YAHOO! GROUPS LINKS * Visit your group "active-server-pages <http://groups.yahoo.com/group/active-server-pages> " on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . _____ [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/17folB/TM --------------------------------------------------------------------~-> --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages --------------------------------------------------------------------- Post : [email protected] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/active-server-pages/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
