O
oterox
I have an aspx file with 3 user controls:Header,menu and footer.
In the header i have this:
----------------------------------------------------------
Dim rm1 As ResourceManager =
ResourceManager.CreateFileBasedResourceManager("form1.EN",
"C:\Inetpub\wwwroot\Web\test", Nothing)
lblHeader.Text = rm1.GetString("greeting")
----------------------------------------------------------------
Must i do the same in every user control???
If i declare rm1 in the header, can i use it in the footer whitout
re-declaring it again like this: rm1.getstring("")
Should i declare rm1 in each user control???
In the header i have this:
----------------------------------------------------------
Dim rm1 As ResourceManager =
ResourceManager.CreateFileBasedResourceManager("form1.EN",
"C:\Inetpub\wwwroot\Web\test", Nothing)
lblHeader.Text = rm1.GetString("greeting")
----------------------------------------------------------------
Must i do the same in every user control???
If i declare rm1 in the header, can i use it in the footer whitout
re-declaring it again like this: rm1.getstring("")
Should i declare rm1 in each user control???