Copied to clipboard

Flag this post as spam?

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


  • Scott Severance 13 posts 123 karma points
    Nov 09, 2017 @ 20:58
    Scott Severance
    0

    Instalation of Skybrud.Umbraco.GridData

    Hello,

    I have followed instructions for setting up this package and set up a template based on examples you have provided in various sources. I believe I have failed to set this up correctly based on instructions provided.

    I have downloaded the zip folder. I have manually taken dlls and xml files from the release folder and dropped into my bin folder and restarted my app pool. Is this not correct? I found those instructions on grid.skybrud.dk but I still get null object reference in my search results page when attempting to reference the grid in my search results template file like this:

    @using Skybrud.Umbraco.GridData
    @using Skybrud.Umbraco.GridData.Extensions
    @inherits UmbracoTemplatePage
    @{
        Layout = "Master.cshtml";
    
        GridDataModel grid = Model.Content.GetGridModel("grid");
    
        if (grid.IsValid) {
            @grid.GetHtml(Html, "fanoe")
        }
    
    }
    

    if (grid.IsValid) is null

    Thank you for any help you may offer.

  • Anders Bjerner 487 posts 2989 karma points MVP 7x admin c-trib
    Jun 28, 2018 @ 17:12
    Anders Bjerner
    0

    Hi Scott,

    I've first seen your question now.

    Is this still an issue? If so, what version of Umbraco and my package are you running?

    Both your code and your approach for installing the package seems fine.

  • Scott Severance 13 posts 123 karma points
    Aug 02, 2018 @ 18:46
    Scott Severance
    0

    Hi Anders,

    No problem. I think my account has been flagged until recently. I held off further replying to this reply because I thought maybe I might come back around to it. However, in short, I have decided on moving away from the grid altogether. It's not a good fit. I do appreciate you taking the time to comment. Thank you. I will try and resovle this thread.

Please Sign in or register to post replies

Write your reply to:

Draft