Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tajamal 60 posts 148 karma points
    Mar 01, 2016 @ 14:12
    Tajamal
    0

    LeBlender Custom Model vs Backoffice

    I created my custom controller using LeBlender, it works good on frontend, but in backoffice its throwing an error in my grid as i have my custom model view an it expects LeBlender model and it should be MyClass model.

    How to solve this problem in backoffice?

    public MyClass : RenderModel
    {
        // do some stuff
    }
    
    public MyController : LeBlenderController {
    
          public ActionResult Index(LeBlenderModel model) {
               //do some stuff
          }
    }
    
Please Sign in or register to post replies

Write your reply to:

Draft