Hi all,
I have to pass two parameter into javascript function inside an IF cycle and inside a asp:templatefield
With one parameter it works but two no, what issue has that piece of code?
ex code:
<asp:TemplateField ItemStyle-HorizontalAlign="right">
<ItemTemplate>
<%# If(Eval("t") = 1,
"<button onclick='popuptransfer('" + Eval("name").ToString() + "','" + Eval("id").ToString() + "') '>" +
"AAAAAAAAAAAAAAAAAAAA</button>", "")%>