Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have a control that contains a datagrid. The datagrid is bound to a strongly typed collection that has implemented IBindingList and CollectionBase. The class that is being stored has implemented IEditableObject.

 

Updates for the collection values come in from an outside source that then get stored. However, the new value does not show up in the grid unless I click on the affected row. If I use the datagrid's indexer the grids active row moves. This will affect editing of grid values.

 

I have tried following the vbnet022r2003 example. However, I found that example has the same problem. If you place a button on the form that updates a value programmatically the datagrid doesn't show the new value.

 

Is is possible to update a datagrid's datasource, that is not coming from a database, and have the grid automatically show that value?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...