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
1730
Infragistics loader helper issue
posted

Hi,

I am working on Asp.Net MVC 3 application. In that I have below pages:

_Layout.cshtml (Master page)

Chart.cshtml (page derived from _Layout.cshtml)

In chart,cshtml I am using infragistic Chart.

As per documentation I am putting required declarations in master page so that it automatically comes with every page:

_Layout.cshtml

<script type="text/javascript" src="@Url.Content("~/Scripts/Ig/infragistics.loader.js")"></script>

@(Html.Infragistics().Loader()
.ScriptPath(Url.Content("~/Scripts/Ig"))
.CssPath(Url.Content("~/Content/Ig"))
.Render()
)

When I run the application my charts are not getting rendered neither am i getting any error.

BUT when I move the Loader Helper to the child page (Chart.cshtml) charts show up.

@(Html.Infragistics().Loader()
.ScriptPath(Url.Content("~/Scripts/Ig"))
.CssPath(Url.Content("~/Content/Ig"))
.Render()
)


I can't understand the behavior where. Any help would be appreciated.

Parents
No Data
Reply Children