StackOverflowException when Control added to Form

M

MaxGruven

The control added is derived from TabControl with 5 Tabs each of which has a
DataGridView on it. The DataGridViews are DataBound to a BindingList
Collection of Business Objects.

The really interesting part is it only happens when the DataGridView on
TabPage0 has 2 rows. Also, if I take the first column off, it works.

First inclination is to suspect an infinite loop on the property getter and
setters but this is not it.

What I am wondering is can anyone suggest what are some other possibilities
and perhaps some troubleshooting techniques.

System.StackOverflowException occurs in System.Windows.Forms.dll

TIA
George
 
B

Bob Powell [MVP]

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top