.NET 1.1 grid Woe

mafrosis

Well-known member
Joined
Jun 5, 2006
Messages
88
Location
UK
Programming Experience
5-10
Hey all, Im being forced to develop an .NET 1.1 app, which is causing me much pain and suffering.

Ive got a DataGrid bound to a DataTable, which the user cannot edit.

VB.NET:
dgEvents.SetDataBinding(dsEvents, "tbl_events")

As you might guess, the DataGrid lists events as they occur.

I've set the ReadOnly flag on the DataGrid, and yet I can still generate this error by clicking frantically on the grid:

broken.png


It seems to me that the cells in the grid are still entering EditMode even tho the grid is set as ReadOnly. Is there some way of blocking this?

Ive been in .NET 2.0 world for so long now, I cant remember how to deal with the annoyingly awkward 1.1 DataGrid control..

Thanks for any help!!
mafro
 
Back
Top