我使用带有ajax绑定的telerik网格,我需要向java函数发送字符串(带空格)参数,如:
n.Bound(c => c.Item).ClientTemplate("<button onclick=AddToInvoice( <#=ItemName#> );>Add </button>").Title("");
no problem when i send string without space but when i send with spaces for example "Hello world" i got error unterminated string literal please any help?