65.9K
CodeProject 正在变化。 阅读更多。
Home

在子文件夹中与用户控件一起使用资源文件

emptyStarIconemptyStarIconemptyStarIconemptyStarIconemptyStarIcon

0/5 (0投票)

2013 年 10 月 11 日

CPOL
viewsIcon

10477

您需要在该子文件夹内创建另一个 App_LocalResources 文件夹,并将您的用户控件资源文件放入其中。请查看以下结构:

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
© . All rights reserved.