+1-888-365-2779
Try Now
More in this section

Forums / Installation / Additional admin tool causes "Object reference not set to an instance of an object."

Additional admin tool causes "Object reference not set to an instance of an object."

2 posts, 0 answered
  1. Tom Holder
    Tom Holder avatar
    7 posts
    Registered:
    09 Feb 2004
    05 Apr 2005
    Link to this post
    Thought I would post this to help anyone that gets the same problem. I was getting an error at this line (v1.0) after adding my own admin control to the admiin\additionaltools.xml file:

    Line 81: selectedLink.Style("font-weight") = "bold"

    The reason for this is because sitefinity is trying to make the link on the left hand navigation bold but can't find it. It does this by taking the name of the .ascx from the querystring page item and then tries to find a link with that name.

    To fix the problem, the ID of the control in the additionaltools.xml file must be the same as the name of the control itself.

    Hope this helps someone!

    Tom.

    P.S. Any chance of a more appropriate forum for these things? Maybe bugs/solutions ? I'd like to keep posting stuff as I come across it.


  2. Vlad
    Vlad avatar
    498 posts
    Registered:
    15 Jul 2016
    06 Apr 2005
    Link to this post
    Hi Tom,

    Thanks for pointing this problem. It is a know issue and will be fixed in the next release (ETA in up to two months).


    Regards,
    the telerik team

2 posts, 0 answered