conflict between google util.js asp.net ajax?
i'm perplexing client-side templating engine an asp.net page, seems opposing asp.net ajax. problem jstemplate.js nonetheless util.js, needs support file.
i've removed problem follows::
<%@ page language="vb" %>
<body>
<form id="form1" runat="server">
<asp:scriptmanager id="scriptmanager" runat="server" enablepartialrendering="true">
<scripts>
<asp:scriptreference path="http://google-jstemplate.googlecode.com/svn/trunk/util.js" />
</scripts>
</asp:scriptmanager>
</form>
</body>
</html>
when i run i blunder
microsoft jscript runtime error: 'type' zero an object`
on line microsoftajax.js:
sys.ui.domevent = duty sys$ui$domevent(eventobject) {
...
var etype = this.type = e.type.tolowercase();
referencing javascript normal <script> retard (as opposing inside scriptmanager) same effect.
i haven't dug nonetheless i think there's only namespace collision. anyone successfully used google's util.js record alongside asp.net ajax? should i only feeling choice client-side templating engines?
Comments
Post a Comment