all groups > dotnet windows forms databinding > january 2005 >
You're in the

dotnet windows forms databinding

group:

Simple databinding - controls placed on Tab control -StackOverflow problem



Simple databinding - controls placed on Tab control -StackOverflow problem Mrozik
1/7/2005 10:19:39 AM
dotnet windows forms databinding:
Hi!
I have 2 texboxes with binded Text property
to my class property.
When my textboxes are placed on one tab page
everything is OK.
But when i place each of them on another
tab page, and I try to set my binded class property
to some value - and this property is binded to textbox
placed on currently unvisible tab page - I get stack overflow exception....

What is the problem???

Re: Simple databinding - controls placed on Tab control -StackOverflow problem Maqsood Ahmed
1/8/2005 11:35:09 AM
Hello,
Please try to take a look at Stack Trace window, if you are using
VS.net IDE. You might have a number recursive method calls which caused
Stack overflow.
Bye

Maqsood Ahmed [MCP,C#]
Kolachi Advanced Technologies
http://www.kolachi.net

*** Sent via Developersdex http://www.developersdex.com ***
Re: Simple databinding - controls placed on Tab control -StackOverflow problem Mrozik
1/10/2005 9:08:59 AM
On Sat, 08 Jan 2005 11:35:09 -0800, Maqsood Ahmed
[quoted text, click to view]

Problem was in other place - i binded Visible property too
- and this was ther reason.
AddThis Social Bookmark Button