Re: Title-tag per Code ändern

From: Daniel Fisher\(lennybacon\) (info_at_(removethis)lennybacon.com)
Date: 11/18/04


Date: Thu, 18 Nov 2004 16:35:06 +0100


<title ID="MyTitle" runat="server">Mein alter titel</titlle>

....

HtmlGenericControl MyTitle;
...

MyTitle.Text = "Mein neuer titel";

-- 
Daniel Fisher(lennybacon)
 MCP ASP.NET C#
 Blog: http://www.lennybacon.com/
"Alexander Szigetvary" <rsa.news-nospam@gmx.at> wrote in message 
news:%23ri4GEYzEHA.2804@TK2MSFTNGP15.phx.gbl...
> Hi NG!
>
> Ich habs vergessen: wie kann ich per codebehind den title-tag ändern. Ich 
> erinnere mich dass ich dem tag eine id und runat=server geben muss, aber 
> dann weiß ich nicht. Mit googeln habe ich nichts gefunden. Bitte Hilfe.
>
> DiV
>
> Alex
> 


Relevant Pages

  • Re: file.move to unc causes error
    ... Daniel Fisher ... MCP ASP.NET C# ... Blog: http://www.lennybacon.com/ ... "Michael McLaughlin" wrote in ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Cast from type DBNull to type String is not valid.
    ... is not so nice cause you set the num of th column and not the name, ... Daniel Fisher ... MCP ASP.NET C# Blog: http://www.lennybacon.com/ "tshad" wrote in message ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: code-ausführung in einem template
    ... Daniel Fisher ... "Capior" wrote in message ... >> MCP ASP.NET C# ... >> Blog: http://www.lennybacon.com/ ...
    (microsoft.public.de.german.entwickler.dotnet.asp)
  • Re: Tutorials
    ... Daniel Fisher ... MCP C# ASP.NET ... Blog: http://www.lennybacon.com/ ... "cashdeskmac" wrote in message ...
    (microsoft.public.dotnet.security)
  • Re: i-frame
    ... MCP ASP.NET C# ... Blog: http://www.lennybacon.com/ ... "Alexander Szigetvary" wrote in message ... > Wie kann ich mit einem Button code auf einer Seite ausführen, ...
    (microsoft.public.de.german.entwickler.dotnet.asp)