<title> <%$resource%> </title>

  • Thread starter Thread starter Guest
  • Start date Start date
Hello Dave,

It seems that you're doing ASP.NET web page localization, however, you're
posted such threads in windowsforms newsgroup :P.

For the ASP.NET 2.0 page localization, are you using the "Generate Local
Resource" function of VS IDE to generate the resource file for each page?
If so, you'll find for page's Title, it is specified in the @Page directive
as below:

<%@ Page .......... meta:resourcekey="PageResource1" ..................
%>

then, in the page's resx file, you just need to put the following item

Name Title
PageResource1.Title Untitled Page

here is the msdn reference about creating localized ASP.NET 2.0 page:

#How to: Create Resource Files for ASP.NET Web Sites (Visual Studio)
http://msdn2.microsoft.com/en-us/library/ms247246.aspx

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top