Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / January 2008

Tip: Looking for answers? Try searching our database.

StackOverflowException when Control added to Form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MaxGruven - 25 Jan 2008 22:43 GMT
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
Bob Powell [MVP] - 26 Jan 2008 12:41 GMT
Some code that reproduces the problem would be useful.

Signature

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

> The control added is derived from TabControl with 5 Tabs each of which has
> a
[quoted text clipped - 16 lines]
> TIA
> George

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.