PDA

View Full Version : how can i read text from resource file and bind it to control like textfield



MElshennawy
8 Dec 2011, 1:39 AM
how can i read text from resource file and bind it to control like textfield
My case is:
i have resource file [.resx] contain my application Message and labels text
what i want is:
i want every label[textfield] or message read it value from the resource file
So , is there any way to do that

Thanks in advice

tvanzoelen
8 Dec 2011, 1:50 AM
The way I should do it

Turn the .resx it into a javascript file .js and load it. In that file you can define some variables you can use in the text and label properties of your components.