How to Use "Resource File(.resx)" file in cshtml5.

Please post public support tickets here. Note: for private support tickets, please send an email to instead.
Posts: 4
Joined: Tue Nov 22, 2016 10:06 pm

How to Use "Resource File(.resx)" file in cshtml5.

Postby oprakash » Tue Nov 22, 2016 10:37 pm

I have a .resx file Namely "Labels.resx" Which is in a separate folder called "Resources". I register this file on app.xaml file as below.
<ResourceDictionary Source="/Resources/Labels.resx"/>

Then try to use on a .XMAL file like
<TextBlock x:Name="lblSelectRole" Text="{Binding ManageStaff_lblSelectRole, Source={StaticResource ResourceString}}"
Grid.Row="0" Grid.Column="8" />

'ManageStaff_lblSelectRole " I have defined Lable.resx file which is not coming when we run the page.

Please Help

Return to “Technical Support”

Who is online

Users browsing this forum: Google [Bot] and 8 guests