Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1055
Simple binding to wcf service does not work
posted

Hi,

I am new in JQuerry grid and WCF-Services. I have a remote WCF Service and I want to bind the data to the grid, but I am unable to Display any data.

I attached my very simple web page and the Response of my wcf service.

Thank you

Thomas

Index.zip
Parents
  • 1055
    posted

    Hallo,

     

    I resolved it my own. I just had to add the following line of code: jQuery.support.cors = true;

    But now I have an other problem. If I define a rowTemplate like this

    rowTemplate: "<tr><td> ${ID} </td> <td> ${Text} </td> </tr>",

    ...I am getting the following Java script error: 0x800a138f - Microsoft JScript runtime error: Unable to get value of the property 'replace': object is null or undefined

    Without rowTemplate it works perfekt

Reply Children
No Data