Access global resources in an asp.net control

后端 未结 3 1486
渐次进展
渐次进展 2021-02-18 23:37
meta:resourcekey=\"WizardStep1Resource1\"

This is what I use to access a App_LocalResources.

How do I access a resource in A

3条回答
  •  北海茫月
    2021-02-19 00:22

    Text='<%$ Resources:Resource, WizardStep1Resource1 %>'
    

    Text is the name of the property you want to set. Resource is the name of the global Resourcefile resp. ResourceClass and WizardStep1Resource1 is the name of the Resource Text.

    See here: http://msdn.microsoft.com/en-us/magazine/cc163566.aspx

提交回复
热议问题