Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 181977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T14:51:30+00:00 2026-05-11T14:51:30+00:00

I have two controls containing DataGridView s on different panes in a DockPanel .

  • 0

I have two controls containing DataGridViews on different panes in a DockPanel. If one is in edit mode and I switch pane, I get a NullReferenceException thrown from within the DataGridView‘s EndEdit() method. The stack trace doesn’t go any deeper than that and the exception doesn’t contain any more information.

I’ve looked at that method in the reflector, and I can’t see anything obviously null. I suspect that the problem is actually in my code, but the exception is being rethrown from within Microsoft’s code and that’s resetting the stack trace. How do I find out what originally caused the exception?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T14:51:31+00:00Added an answer on May 11, 2026 at 2:51 pm

    If you suspect a bug in the MS code, you could download the debugging symbols from the symbol server, load them and trace it through at debug? Like so.

    Note that the symbols are subject to one of the various licences. This may impact you if (for example) you work on ‘mono’ contributions etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two controls on a page, one is a search entry and submission
I have two different grid controls on the same form. They share the same
In Winforms you can have two controls tied to the same datasource in a
I am using standard windows forms controls under C#. I have two controls which
I have two custom controls that are analogous to a node and the control
I have two TDBLookupComboBox controls that I'd like to connect to the same dataset,
I've got a form where I have two radio buttons and two interchangeable controls
Simple ASP.NET application. I have two drop-down controls. On the first-drop down I have
I have a C#/ASP.NET .aspx page that declares two controls that each represents the
I've got two Silverlight Controls in my project, both have properties TeamId. I would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.