Vexing StackOverflow Issue [modified]
-
greetings good people, I have a User Control that I have created. It's throwing a StackOverflow Exception in the constructor at the initialize component line? Any idea what could cause that type of issue. The XAML looks fine, the code behind in C# looks fine. I just don't know what going on. Thanks for any help or information you can provide.
modified on Tuesday, January 12, 2010 10:35 PM
-
greetings good people, I have a User Control that I have created. It's throwing a StackOverflow Exception in the constructor at the initialize component line? Any idea what could cause that type of issue. The XAML looks fine, the code behind in C# looks fine. I just don't know what going on. Thanks for any help or information you can provide.
modified on Tuesday, January 12, 2010 10:35 PM
No one is going to look at a bunch of unformatted garbage like this.
I know the language. I've read a book. - _Madmatt
-
No one is going to look at a bunch of unformatted garbage like this.
I know the language. I've read a book. - _Madmatt
My apologies, I have removed the code since I don't know how to post it. Any ideas? Thanks.
-
My apologies, I have removed the code since I don't know how to post it. Any ideas? Thanks.
BlitzPackage wrote:
I have removed the code since I don't know how to post it. Any ideas? Thanks.
Take a look at the posting guidelines and the editor controls here. Surround your code with <pre></pre> tags using the "code block" button above. And make sure you keep the indentations.
MVP 2010 - are they mad?
-
greetings good people, I have a User Control that I have created. It's throwing a StackOverflow Exception in the constructor at the initialize component line? Any idea what could cause that type of issue. The XAML looks fine, the code behind in C# looks fine. I just don't know what going on. Thanks for any help or information you can provide.
modified on Tuesday, January 12, 2010 10:35 PM
StackOverflows are usually caused by infinte recursion so I would look for any recursive methods you have or perhaps you are accidentally creating a recursive structure of parent-child-parent controls.