Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I think, I'm getting mad.....

 

I have a datagrid consisting of several derived columns (comboboxes). That comboboxes are filled by a dataset. They all have an empty entry and are editable.

 

If I can see the whole datagrid, everything works fine. If I have to scroll from left to right the value entered in a combobox not been visible before scrolling is forgotten. But only if I enter something. If I select an entry of the combobox everything works just like expected.

 

Any idea???

  • *Experts*
Posted

Just curious - is this a 3rd party combobox, or something that you've designed yourself? Are you sure that the combobox is updating the dataset? You can check by spitting out the DataSet's XML (using GetXml()) before and after a combobox changes a value.

 

-Nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Posted

No, it's not a 3rd party combobox. I created my own style by using inheritance.

 

Yes I am sure that the combobox is updating the dataset. At least if my form is big enough to show the whole grid, it is doing so. Can there be a reason why it is different when scrolling is needed?

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...