[SOLVED] NavigationBar Items: Object reference not set to an instance of an object

Answered
0
0

Hi,

I have created a new Wisej 2 project. When I want to add Items to the NavigationBar, following error is thrown (see also attachment):
Object reference not set to an instance of an object.

How can we solve this?

Benjamin

Attachment
  • Levie (ITG)
    Hi Benjamin, after updating to the latest release has your issue been solved? Best, Levie
  • You must to post comments
Best Answer
0
0

Hi Benjamin,

The NavigationBarItem components are not working in 2.0.13, but the component has been updated since then (and is working in all updated versions of Wisej).

You can find all of the extensions as open source projects on https://github.com/iceteagroup/wisej-extensions/ .  I’ve also attached a copy of the dll.

To get the latest working version and use it from GitHub:

  1. Download the Wisej.Web.Ext.NavigationBar project from the link above
  2. Build the project
  3. Open the bin folder of the NavigationBar project
  4. Attach the Wisej.Web.Ext.NavigationBar dll file to your new project, replacing the old reference.

Please let me know if this solves your problem!

Best regards,

Levie

  • You must to post comments
0
0

Hi Benjamin,

I’m sorry you’re getting this error!

Please try the following solutions to see if one (or more) solve your issue:

  1. Completely closing out of Visual Studio and reopening the solution.
  2. Rebuild the solution
  3. Delete and re-add the NavigationBar
  4. Clear out all references to NavigationBar and NavigationBarItem in the designer code of the form and re-add
  5. Remove and re-add the reference to the NavigationBar in the toolbox from (C:\Program Files\IceTeaGroup\Wisej 2\bin\Wisej.Web.Ext.NavigationBar.dll)

If none of these work, could you please attach your sample solution?

Best Regards,

Levie

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.