Hello
I figure out DNN localization mechanism seems to bind resource file according to the UCs' ID (observed from Localization.GetString("btnReset.Text", this.LocalResourceFile). For example, if the ID of a TableSettings.ascx is "TableSettings1", DNN will try to find App_LocalResources/TableSettings1, not TableSettings. I am not sure whether my obsrvation is right or wrong.
Anyway, this id-dependent mechanism will rise another problem in my current design. That is, I have a UC that needs to be dynamically created multiple times so I must assign distinct IDs to them. According to DNN localization mechanism, I cannot use the singular Resource file to localize the UC. How could I circumvent this problem?
Thanks a lot for any help.
Ricky.