65.9K
CodeProject is changing. Read more.
Home

Using Resource Files with UserControls which Located in SubFolders

emptyStarIconemptyStarIconemptyStarIconemptyStarIconemptyStarIcon

0/5 (0 vote)

Oct 11, 2013

CPOL
viewsIcon

10251

You need to create another App_LocalResources inside this sub folder, and put your user control resources files inside it . look at this structure

You need to create another App_LocalResources inside this sub folder, and put your user control resources files inside it .
 look at this structure for example to get the Idea :
  •  Your WebSite Root
  • App_LocalResources
    • YourPage.aspx.ar.resx
    • YourPage.aspx.resx
  •  YourPage.aspx
    • UserControlsSubFolder
      • App_LocalResources
        • UserControlName.ascx.ar.resx
        • UserControlName.ascx.resx
      • UserControlName.ascx
  • Web.Config 
Hope this Helps 
Ahmed