views:

101

answers:

0

Hi to All, As i know, In ASP .net web forms, we can get text (or any other attributes of asp.net controls) value of the control directly from a resourse file in App_GlobalResources folder through expression attribute of the control without writting any code. ( selecting the control going to its expression property selecting the text setting expression type to resouces then setting the class key to the resouse file name and resource key to the name of the key in the resource file. )

and setting Culture and UIculture in the page part.

There is not such attributes in masterpages (no expression attribute for controls and no culture and uiculture for the master page).(Maybe i'm doing sth wrong, plz correct me)

i'm wondering if it is possible to obtain same functionality in master pages ? or what is the best way to set text and other attributes of the controls of the master page by resource files and according to the culture?

Thanks for your replys.