ASP.NET 资源文件 
怎样 在<<div id='co' align="center" onclick="ChangeLeftFrameStatu();" style="cursor: pointer;"
            title='<%$Resources:Frame,Foot2 %>' div 里加载资源文件?
<asp:Literal ID="Foot1" runat="server" Text="<%$Resources:Frame,Foot1%>"></asp:Literal> 这样可以
如果是 div 的 title=<%$Resources:Frame,Foot2 %> 不行 怎样可以实现呢 谢谢大家

解决方案 »

  1.   

    要服务器控件吧,加ruant="server"试试
      

  2.   

    “/WebPortal”应用程序中的服务器错误。
    --------------------------------------------------------------------------------分析器错误 
    说明: 在分析向此请求提供服务所需资源时出错。请检查下列特定分析错误详细信息并适当地修改源文件。 分析器错误消息: 不允许使用类似“<%$Resources:Frame,Foot1 %>”的文本表达式。请改用 <asp:Literal runat="server" Text="<%$Resources:Frame,Foot1%>" />。源错误: 
    行 11:         </div>
    行 12:         <div id='co'  align="center" onclick="ChangeLeftFrameStatu();" style="cursor: pointer;"
    行 13:             title='<%$Resources:Frame,Foot1 %>'
    行 14:             <font color="red">×</font><asp:Literal ID="Foot1" runat="server" Text="<%$Resources:Frame,Foot1%>"></asp:Literal> </div>
    行 15:          <div id='footmenu'>快速通道=>: