Re: Strange DataGrid issue
From: MajorTom (m.pulgarNO_at_NOverizon.net.do)
Date: 11/15/04
- Next message: Norm: "Re: XP Look in HTML forms in AxSHDocVw.AxWebBrowser"
- Previous message: Sijin Joseph: "Re: Binding problem?"
- In reply to: Dave Churvis: "Strange DataGrid issue"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 15 Nov 2004 00:21:38 -0400
all windows update and SP for that PC...
"Dave Churvis" <atomicdave@gmail.com> wrote in message
news:6b64d5c8.0411121116.2298a525@posting.google.com...
> Hello all,
>
> I'm having the strangest issue with an application I'm building. A
> little background: we've been working on this application for a while
> and have used the DataGrid extensively throughout the project. On
> many of our forms, there is a DataGrid with a few custom column
> styles. Most often, these are a DataGridTextBoxColumn. There are a
> number of these that we have set to read only.
>
> Now for my problem. On one of the machines in our lab, whenever we
> remove an item from the DataGrid's underlying data source and refresh
> the dataset, if the focus had been on a read-only column, the text box
> still remains, showing the old value. As soon as we click into the
> text box, the value updates to show the current information. What's
> odd is that this only happens on the one machine! Every other machine
> works correctly; as soon as we click the Remove button, the DataGrid
> gives up focus and hides the text box properly.
>
> I delved deeper and found that apparently the ConcedeFocus and Abort
> methods of the underlying DataGridColumnStyle are not being called at
> all.
>
> So if anyone knows of a workaround, I'd greatly appreciate it!
>
> Thanks in Advance,
> Dave
- Next message: Norm: "Re: XP Look in HTML forms in AxSHDocVw.AxWebBrowser"
- Previous message: Sijin Joseph: "Re: Binding problem?"
- In reply to: Dave Churvis: "Strange DataGrid issue"
- Messages sorted by: [ date ] [ thread ]