Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Metronic wizard example for ASPNETZERO MVC #9381


User avatar
0
oceanbi created

Hi there,

Do you have any working example of metronoic wizard implementation on aspnetzero MVC? I tried to follow example which I download from Github (metronic_v7.0.3), but keep getting this error message (Uncaught TypeError: KTUtil.getById is not a function). My ASPNETZRO is in version 8.9

What I have done so far:

  • Copy wizard.css and wizard.js to my Web.MVC project and add to bundles.
  • Load wizard.js (bundle) and wizard.css via _Layout.cshtml
  • Update my page cshtml.

I can see the css is working, but when I run the app I get the error KTUtil.getById is not a function. Looks like I miss some resource files, but I'm not sure which one. Could you please check?


4 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @oceanbi,

    As far as I remember KTUtil.getById exists for a long time. Could you open your browser console and execute KTUtil to see it's functions ? When I execute it in AspNet Zero 9.0.1, I see this;

  • User Avatar
    0
    oceanbi created

    I see getByID instead of getById :

    We are running AspNet Zero 8.9.0, perhaps updating it to AspNet Zero 9.0.1 will solve this issue?

  • User Avatar
    0
    oceanbi created

    I updated the function name, and another error popup, this function KTUtil.getBody is not exist in my KTUtil

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @oceanbi,

    Is your project using Metronic 7.x ? If not, you can download Metronic 6.x from https://aspnetzero.com/download and use the Wizard sample in the downloaded Metronic source code.