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
290
Error in framework when appending partial view to div
posted

Hello,

I'm using igGrid with MVC2, building a GridModel as a property of my ViewModel and then returning a partial view through JQuery $.get. On success I call:

$("#myDiv").append(partialView);

This throws an error in ig.ui.grid.framework.min.js at the following lines:

$("#"+id+"_displayContainer").parent()[0].addEventListener("touchstart",$.proxy(touchstart,this),false);

and

$("#"+id+"_displayContainer").parent()[0].addEventListener("touchend",$.proxy(touchend,this),false);

The error is: Microsoft JScript runtime error: Object doesn't support this property or method

Any assistance you could offer in resolving this error would be appreciated

Parents
No Data
Reply
  • 24671
    Suggested Answer
    posted

    Hi,

    are you using IE8 to view the page? i think this is unrelated to partial views and MVC, as far as i remember this was a known issue which was a regression, and was subsequently fixed, so i would suggest to get the latest service release and check it out - the issue should be gone.

    hope it helps. thanks

    Angel 

Children
No Data