Re: DataGridView.EndEdit Question



Hello Jeffry,

thanks again for trying to help me.
I tried your sample, and it works fine here too.

I looked a little deeper into this project, an found something that could be
related to the problem.
In our datagridview, we are handling the "CellValueNeeded" event, because
there are some celles that need extra calculation.
Therefore we also have set the VirtualMode Property to true.

Could that have something to do wich my problem?

Regards
Rainer Queck

""Jeffrey Tan[MSFT]"" <jetan@xxxxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:f03Z9V18HHA.360@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi Rainer,

Thank you for the further information.

This looks like a bit strange. I have followed your further information to
add a ContextMenuStrip to modify the DataGridView cell content
programmatically, however, it works well with calling
DataGridView.EndEdit() method. The modify status pecil did not appear and
"Output" window shows the modified cell content in DataTable.

I have attached my sample project in this reply, you may use Outlook
Express to download the attachment. If you have any problem of downloading
it, please feel free to send email to me at:
jetan@xxxxxxxxxxxxxxxxxxxx(remove "online."), I will send the project to
you directly.

Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.


.



Relevant Pages

  • RE: Create beautiful sphere icons
    ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ... professional working with you may need further investigation to reach the ... project analysis and dump analysis issues. ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Cant create web project
    ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ... professional working with you may need further investigation to reach the ... project analysis and dump analysis issues. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Error Rendering Control
    ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ... professional working with you may need further investigation to reach the ... project analysis and dump analysis issues. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Open Form Flickering
    ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ... professional working with you may need further investigation to reach the ... project analysis and dump analysis issues. ...
    (microsoft.public.vsnet.debugging)
  • Re: VS2008 DLL not loading
    ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ... professional working with you may need further investigation to reach the ... project analysis and dump analysis issues. ...
    (microsoft.public.vsnet.debugging)