我的代码中有一个脚本管理器:
<asp:ScriptManager ID="masterScriptManager" runat="server" EnablePageMethods="True"
EnablePartialRendering="true" ScriptMode="Auto" AsyncPostBackTimeout="360">
<Scripts>
<asp:ScriptReference Path="~/scripts/web_resource.ashx?type=1&v=<%=version %>" />
</Scripts>
</asp:ScriptManager>
我想在脚本参考的路径末尾添加版本信息。我也尝试过,<%#
但我只看到编码字符而不是版本号。我应该改变什么?