Quantcast
Channel: wpftoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 2157

New Post: (very) Basic Databinding question

$
0
0
Sooooooo.... first of all, I would like to sincerely express my gratitude for taking the time to help me so much with this! You are correct - I am a COMPLETE novice at WPF. Those are great resources and I will definitely read through them!

And I finally solved my problem - it was far more insidious than data binding. After beating my head on it for WAY too long and thinking that it could NOT POSSIBLY be this difficult to tell one thing to point to another, I finally decided that I was probably doing something else wrong. And it turns out that I was.

Before I decided to use the WPF toolkit's datagrid, I had a grid that I was RE-drawing each time the user went and edited the factors in the edit factors window. I removed MOST of that code, except one little piece that I didn't realize was screwing me up. And that piece was:
factorGrid.Children.Clear();
I didn't even realize it was still there, and this was obliterating my datagrid before it could even do anything. sigh So thank you for the help! Looks like I need to remember to think outside the box. Or something.

Viewing all articles
Browse latest Browse all 2157

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>