[SOLVED] RibbonBar Error: Cannot create an abstract class

Answered
0
0

Hi,

I tried recreating my problematic form/page that contains a ribbonbar, but the problem now I received an error everytime I create a new item please see attached image.

 

Thanks.

  • You must to post comments
Best Answer
0
0

This issue was logged as #1941 and will be fixed in the next release of Wisej!

If you need it now, you can download the patched extension from https://github.com/iceteagroup/wisej-extensions/tree/2.0/Wisej.Web.Ext.RibbonBar

Best regards,

Levie

  • You must to post comments
0
0

Glenn,

#1941 is fixed in the latest Wisej release (2.0.36)

Best regards
Frank

  • You must to post comments
0
0

This issue is fixed in the latest dev build (2.0.35).  You can get it from wisej.com/builds. Let me know if it works for you!

Best,

Levie

  • You must to post comments
0
0

Hi Glenn,

As another (temporary) workaround, you can add the Framework.Design.dll reference to your project, assuming it’s not already in there! Build the solution, and restart VS.

Let me know if this works for you.

Best regards,

Levie

  • You must to post comments
0
0

Hi Glenn,

Still looking into this.  I was not able to replicate the issue either.

For now, you can modify the RibbonBar through the designer code of the form if the property editor and “fast” editor are not working for you.  I am attaching your project with some RibbonBarItems you can use it as a template.  You can use Luca’s screenshot of the different types of RibbonBarItems if you need the names of the other options.

Let me know if this works for you.

Best regards,

Levie

  • You must to post comments
0
0

Hi,

 

Is there any other way to manage the items in ribbonbar, than waiting this to be fixed? I hope to hear from you soon.

Thanks.

  • You must to post comments
0
0

Any update on this?

  • You must to post comments
0
0

Hi,

One thing I have noticed the menu editor has dropdown button when I tried to edit the items, please see attached picture. I hope this will isolate some issues and I can continue to work with our project already.

 

Thanks.

  • You must to post comments
0
0

I have already downloaded and installed the latest version 2.0.32

  • Frank (ITG)
    Does it only happen when you are using the “fast editor” that can be used when you drop the control ? What happens if you close the form, reopen it and go through the property editor ? Regards, Frank
  • Frank (ITG)
    Also please try deleting c:\users\\AppData\Local\Temp\Wisej 2\IDE and see if that makes a difference.
  • Glenn Gonzales
    It’s the same, be it through property editor or “fast editor”.
  • Glenn Gonzales
    I have also deleted that folder the problem still persist.
  • You must to post comments
0
0

Hi,

Any update on this? Hope to hear from you soon.

 

Thanks.

  • You must to post comments
0
0

I am attaching a video

  • You must to post comments
0
0

Thanks Glenn.

However I could not yet reproduce the error here.
Can you please describe the steps until where it fails ?

Best regards
Frank

  • Glenn Gonzales
    1. Create Project (standard step) 2. Open my window form 3. Goto toolbar, lookup for Ribonbar 4. Drop the ribbon bar onto the form 5. Added a Page 6. Then I add a group under the created page 7. I click Items 8 Ribbon bar item collection dialog shows 9. There are 2 buttons there, add and remove the add button supposedly shows a dropdown icon, but in my case, it shows a plain button 10. When I click that button, it displays cannot create abstract class…. Hope that helps.
  • You must to post comments
0
0

Please see attached project.

  • You must to post comments
0
0

Please see sample project.

  • You must to post comments
0
0

I also tried creating a new project, drop the ribbonbar control from toolbox, then created some pages, then groups, but the same issue when I reached to creating item , please see attached screenshot.

 

Thank you.

  • Frank (ITG)
    Can you please attach your project ? TIA, Frank
  • You must to post comments
0
0

Hi,

I have installed a new VM, and VS 2019, then Wisej 2.0.28, and tried to open your sample project Ribbonbar from wise-examples-2.0, but it’s the same issue, please see attached screenshot.

 

Hope this can be resolved.

 

Thanks.

  • You must to post comments
0
0

So how can I correct it? I already uninstall/install, but same problem.

  • Luca (ITG)
    You must have the wrong reference to 1.5 in the project. The drop down you see in my screenshot is part of Visual Studio designer and loads all the types derived from the base type of the collection. In your images it fails and the most likely reason is that it cannot load the assembly.
  • You must to post comments
0
0

Something is wrong in your installation or Wisej versions are mixed. The collection dialog should have a drop down button and show all the ribbon item types. see attached screenshot

Attachment
  • You must to post comments
Showing 18 results
Your Answer

Please first to submit.