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
1150
igLoader Issues with .NET MVC Partial View
posted

Hi,

I'm having issues when trying to use .NET MVC Partial View with igLoader. Here's the scenario:

- I have a page with several tabs and each tab is an MVC partial view. The first tab does not have igGrid, and it loads just fine. On the second tab, it has a grid and when it tries to load the partial view I'm getting two errors:

"Cannot read property 'locale' of undefined" and "Uncaught Error: No such widget loaded: igGridPaging"

This happens both on IE9 and Chrome.

What I found is that when I'm not using partial view, the generated script for a control always have the widget name in front of it. so for instance:

$.ig.loader('igCombo', function() {})

However, when the control is on a partial view, the generated script does not have the widget name in front of it

$.ig.loader(function() {$('controlId')....}) 

I'm using MVC helper and the latest service release 2056

Please help