「ReferenceError: punt is not defined」が表示されます - すべてが正しいように見えますが、間違いを特定できません。
関連するコードは次のとおりです。
<script src="../Scripts/jquery-1.9.1.min.js" type="text/javascript">
function punt(rowIndex, Name, actionType) {
alert("hello");
}
</script>
私が持っているリピーターのItemTemplate内:
<input type="image" style="border-width:0" src='<%=ResolveUrl("~/css/images/icon_update.png") %>'
alt="Update Reviewer List" tabindex="0" title="Update Reviewer List"
onclick="punt(<%#Container.ItemIndex%>,
'<%#HttpUtility.HtmlEncode((string)DataBinder.Eval(Container.DataItem, "Name"))%>',
'Update');
return false;" />