Link to home
Start Free TrialLog in
Avatar of Mohammad Hussein
Mohammad Hussein

asked on

Localize and Open Asp.Net UserControls using VirtualPathProvider

Hi,

I am working on Asp.Net Application to develop business application. All screes/forms built as UserControl(.ascx) and set as embedded resource. I am using the LoadControl()
Method to open these controls using registered VirtualPathProvider. Every UserControl have two local resource files (.resx) for Arabic and English.
My problem: The UserControls Loaded successfully but without any text, there is no text on buttons and labels,...

I attached a small project MyControls.rar to produce my problem. the webusercontrol contain single button, I need to show the text on the button.

Thank you for all
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.