When changing from Wisej 1 version to Wisej 2, it generates a error when dragging a control from the toolbox

0
0
When changing from Wisej 1 version to Wisej 2, it generates a error when dragging a control from the toolbox.
This also happens when creating a new project in the Wisej 2 version, and when trying to drag a control to the designer, send image
The error is as follows:
Cannot convert an object of type 'Wisej.Web.Form' to type 'Wisej.Core.IWisejControl'.

 
  • You must to post comments
0
0

Hi Abel

Here another tips to fix your problem

In some scenerios, a mix of installed visual studio ide installed could mess the registry

A way to add the controls of wisej to to visual studio ide is showed in the below video

Video of how add manually wisej controls to Vs Ide

I hope that could fix your problem

Regards, and happy codding

  • You must to post comments
0
0

 

Hi Abel

I made a video with a scenerio that I think maybe your problem

I installed Wisej 1.5.48 side by side with 2.1.8.

In a project started with a template 2.1 accidentaly I put references for assemblies for wisej 1.5 and the project has error when drag controls corresponding to 2.1 version

The solution is remove the reference to Wisej.Core and Wisej.Web , only lefting Wise.Framework reference in your project

Here sample video

Regards and happy codding

 

  • You must to post comments
0
0

Hi Abel

What version of visual studio are you using?
Are you uninstalled previous version of wisej 1?

Try the next tip
1 right click on visual studio toolbox
2 select “Reset toolbox”
3 Notice that in toolbox the Wisej controls are in “Wisej 2.1” section
4 Drag and drop a control to design surface

Regards and happy codding

  • Abel Hernandez Razo
    The Visual Studio version is 2015, I have not removed the Wisej 1 version because I need it with that I am working. I already did what you recommended, but nothing happens and keeps showing up (There are no usable controls in this group)
  • Abel Hernandez Razo
    How can I add an image in the forum, try to do it but I see that it does not appear?
  • Abel Hernandez Razo
    It already reinstalls both versions 1.5.42 and 2.1.81, and then generated a new project with the previous version and another with version 2.1.81 and in none of the 2 do the controls appear, I gave both projects restore toolbox , and the Wisej Control and Wisej 2.1 controls still do not appear, as you can see in the video
  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.