c# - “The server tag is not well formed -
javascript function
function showvisit(id) { //do id } <asp:repeater id="repeaterpatientlist" runat="server"> <itemtemplate> <tr id="objtr" runat="server" ondblclick="return showvisit('<%#eval("id") %>')"> </tr> </itemtemplate> </asp:repeater>
when give runat="server" tr error grows “the server tag not formed.” what's wrong?
<tr id="objtr" runat="server" ondblclick=<%# "return showvisit('" + eval("id") + "');" %>>
Comments
Post a Comment