Skip to content

WISEJ 2.2.8.0 - DataGridView error deleteing row if a column is readonly #2856

Closed

Description

@itg-assistant

Cristian Zerbinati asked 2020-09-17 13:41:43 UTC

Hi,

if a datagridview has a column with readonly = true

deleting a row, generate error

regards

Cristian Zerbinati

Activity

  1. itg-assistant commented on Jun 14, 2026

    @itg-assistant
    Author

    Levie (ITG) answered 2020-09-17 15:32:30 UTC

    Hi Cristian,

    I wasn't able to replicate the issue, could you please provide a small sample that demonstrates the issue?

    What's the error you're getting?

    Best regards,

    Levie

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

    @itg-assistant
    Author

    Cristian Zerbinati answered 2020-09-17 15:42:37 UTC

    Hi Levie,

    see this video: http://somup.com/cYQbozXESx

    and I attach a demo project.

    best

    Cristian

  4. itg-assistant commented on Jun 14, 2026

    @itg-assistant
    Author

    Levie (ITG) answered 2020-09-17 17:55:57 UTC

    Awesome, thanks Cristian! I’ve logged it as issue #2409. Best, Levie

  5. itg-assistant commented on Jun 14, 2026

    @itg-assistant
    Author

    Cristian Zerbinati answered 2020-09-21 13:44:36 UTC

    Hi Levie,

    Issue #2409 si closed, today I have update to 22.8.0 but the bug is still present.

    I can not use datagrid

    bye

    Cristian

  6. itg-assistant commented on Jun 14, 2026

    @itg-assistant
    Author

    Luca answered 2020-09-21 14:01:23 UTC

    I cannot reproduce with 2.1 and 2.2. Is this the right sequence?

    2.1

    https://drive.google.com/file/d/1QO5GszD4wU5Crsg0H-QKZrYl3r8OrVJ-/view

    2.2

    chrome-extension://mmeijimgabbpbgpdklnllpncmdofkcpn/ng/app/app.html#/files/bfcb45a0-2173-4650-y1d4-4251af0f5843

  7. itg-assistant commented on Jun 14, 2026

    @itg-assistant
    Author

    Cristian Zerbinati answered 2020-09-21 14:12:26 UTC

    Hi Luca,

    now I have 2.2.8.0

    unfortunately the error it comes out to me, and it does it on both my computers. Windows 10 and Visual studio 2019 updated

    have you try to enable all exceptions in Visual studio?

    Riferimento a un oggetto non impostato su un'istanza di oggetto in Wisej.Web.DataGridViewCell.set_ReadOnly(Boolean value)
    in Wisej.Web.DataGridViewRow.DetachFromDataGridView()
    in Wisej.Web.DataGridViewRowCollection.RemoveAtInternal(Int32 index, Boolean bulk)
    in Wisej.Web.DataGridViewRowCollection.RemoveAt(Int32 index)
    in Wisej.Web.DataGridViewRowCollection.Remove(DataGridViewRow row)
    in dgvreadonly.Window1.Button1_Click(Object sender, EventArgs e) in C:\Users\Predator\source\repos\dgvreadonly\dgvreadonly\Window1.vb:riga 12
    in Wisej.Web.Control.OnClick(EventArgs e)
    in Wisej.Web.Button.OnClick(EventArgs e)
    in Wisej.Web.Button.PerformClick()
    in Wisej.Web.ButtonBase.ProcessExecuteWebEvent(WisejEventArgs e)
    in Wisej.Web.ButtonBase.OnWebEvent(WisejEventArgs e)
    in Wisej.Web.Control.Wisej.Core.IWisejComponent.Event(WisejEventArgs e)
    in Wisej.Web.Application.ProcessWebEvent(WisejEventArgs e)
    in Wisej.Web.Application.OnWebEvent(WisejEventArgs e)
    in Wisej.Web.Application.Wisej.Core.IWisejComponent.Event(WisejEventArgs e)
    in Wisej.Core.ComponentManager.DispatchEvents(Session session, ICollection events)
    in CallSite.Target(Closure , CallSite , ComponentManager , Session , Object )
    in Wisej.Core.ResponseManager.<>c__DisplayClass25_0.b__0()
    in Wisej.Core.IWisejSynchronizedImplementation.Lock(IWisejSynchronized target, Action action)
    in Wisej.Core.ResponseManager.OnEvent(Session session, Object message)
    in CallSite.Target(Closure , CallSite , ResponseManager , Session , Object )
    in Wisej.Core.ResponseManager.ProcessRequest(ServiceType service, Object message)

  8. itg-assistant commented on Jun 14, 2026

    @itg-assistant
    Author

    Cristian Zerbinati answered 2020-09-21 14:29:21 UTC

    if I remove the readonly attribute on column0, the error don't show

  9. itg-assistant commented on Jun 14, 2026

    @itg-assistant
    Author

    Cristian Zerbinati answered 2020-09-21 14:29:26 UTC

    if I remove the readonly attribute on column0, the error don't show

  10. itg-assistant commented on Jun 14, 2026

    @itg-assistant
    Author

    Cristian Zerbinati answered 2020-09-21 15:58:53 UTC

    The problem is olso in the server:

    try it http://test.eprime.it/wisej2409/

    Cristian

  11. itg-assistant commented on Jun 14, 2026

    @itg-assistant
    Author

    Luca answered 2020-09-21 16:46:11 UTC

    I can reproduce with the 2.2.8 in the distribution. Sorry about that, looks like a build problem...

  12. itg-assistant commented on Jun 14, 2026

    @itg-assistant
    Author

    Cristian Zerbinati answered 2020-09-22 08:12:18 UTC

    yes! solved with upgrade,

    thank you

    Cristian

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