Skip to content

Wisej-4 bindingsource problem #4888

Closed
Closed

Description

@itg-assistant

Sven Rubow asked 2025-10-22 21:41:32 UTC

Hello,
I am working with VS 2022, WISEJ-4, and Designer 4.0.2.31. The .Net Framework 4.8 was not selected when creating the project!
When I add a bindingsource to a Wisej.Web.Form and try to add an objectsource, this is not possible.
The behavior is similar with a text box. Here, a System.Windows.Forms.Bindingsource is automatically added during binding. This is not correct. A Wisej.Web.Bindingsource should be added instead.
When I use a datagrid, everything works as expected!

Are there any solutions for this?

Activity

  1. itg-assistant commented on Jun 17, 2026

    @itg-assistant
    Author

    Julie (ITG) answered 2025-10-23 15:38:28 UTC

    I can reproduce, we are looking into fixing this.

    Julie

  2. itg-assistant commented on Jun 17, 2026

    @itg-assistant
    Author

    Julie (ITG) answered 2025-10-24 13:12:20 UTC

    It's not true that the binding source cannot be created. It's created as System.Windows.Forms and only when binding from the (DataBinding) section. In any case, you can replace the class name by hand.

  3. added
    BugSomething is broken or behaving unexpectedly.
    on Jun 17, 2026
  4. itg-assistant commented on Jun 17, 2026

    @itg-assistant
    Author

    Sven Rubow answered 2025-10-24 15:44:09 UTC

    Hello Julie,
    I didn't say that no binding source is created, but that the wrong BS is created.
    Wisej.Web.Bindingsource != System.Windows.Forms.Bindingsource
    The following occurs when creating a Wisej.Web.Bindingsource manually

    • Add a Wisej.Web.Bindingsource to the page
    • In the properties of the binding source, I want to set the binding
    • I select my class
    • The selected class is not applied, remains at (none).
      I would like to revise my previous statement regarding the datagrid. Very strange things happen when trying to change the datasource. In my opinion, there are still fundamental designer problems with binding via a bindingsources.

    Sven

  5. itg-assistant commented on Jun 17, 2026

    @itg-assistant
    Author

    Julie (ITG) answered 2025-10-27 14:18:10 UTC

    We have logged it as an enhancement issue, but there is no specific release date. It’s a pending issue with Microsoft as well. For now, you’ll have to manually change the class name from System.Windows.Forms.Bindingsource to Wisej.Web.Bindingsource

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is broken or behaving unexpectedly.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions