在我后面的代码,我可以做以下在onload:asp.net调用代码内嵌不工作
string x = Fmg.Cti.UI.Utilities.Classes.ResourceController.ReadResourceValue("Riblet", "Riblet_Chicklet1_Button_text");
这工作没有问题。
在我的aspx页面(我没有删除在onload代码),我把这个:
<%= Fmg.Cti.UI.Utilities.Classes.ResourceController.ReadResourceValue("Riblet", "Riblet_Chicklet1_Button_text")%>
当我这样做,我得到了一个错误:
error CS0234: The type or namespace name 'Cti' does not exist in the namespace 'Fmg' (are you missing an assembly reference?)
我这个(或者非常相似的)工作。我不知道我是如何破坏它的。
再次感谢您的帮助。
你能证明你的ASPX标记? –