Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity 2.x: 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."

  • Tom Holder avatar

    Posted on Apr 5, 2005 (permalink)

    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.


    Reply

  • Vlad Vlad admin's avatar

    Posted on Apr 6, 2005 (permalink)

    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

    Reply

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity 2.x: Installation > Additional admin tool causes "Object reference not set to an instance of an object."