Last post Oct 03, 2013 11:39 AM by anil.india
None
0 Points
12 Posts
Oct 03, 2013 05:49 AM|musthaan|LINK
can we set html controls values from resource file ?
like
<span> Copyrights <%= DateTime.Now.Year.ToString() %> </span>
Participant
1740 Points
453 Posts
Oct 03, 2013 11:39 AM|anil.india|LINK
Yes,
We can get resource file value as : <%$ Resources.MyResourceFileName, MyTextValue %> ( in some cases runat="server" will help).
Refer : http://msdn.microsoft.com/en-us/library/ms228093(v=vs.85).aspx
http://stackoverflow.com/questions/3456284/use-resource-files-in-asp-net-for-html-controls
None
0 Points
12 Posts
can we set html controls values from resource file ?
Oct 03, 2013 05:49 AM|musthaan|LINK
can we set html controls values from resource file ?
like
Musthaan Majeed
musthaan.wordpress.com
Participant
1740 Points
453 Posts
Re: can we set html controls values from resource file ?
Oct 03, 2013 11:39 AM|anil.india|LINK
Yes,
We can get resource file value as : <%$ Resources.MyResourceFileName, MyTextValue %> ( in some cases runat="server" will help).
Refer : http://msdn.microsoft.com/en-us/library/ms228093(v=vs.85).aspx
http://stackoverflow.com/questions/3456284/use-resource-files-in-asp-net-for-html-controls
CodePattern.net/blog