<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:evnet="http://www.mscommunities.com/rssmodule/"><channel><title>Comment Feed for WPF - Content of a page not showing (TechOff on Channel 9)</title><atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/forums/techoff/234910-wpf-content-of-a-page-not-showing/rss/default.aspx" /><image><url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url><title>Comment Feed for WPF - Content of a page not showing (TechOff on Channel 9)</title><link>http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/</link></image><description>WPF - Content of a page not showing</description><link>http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/</link><language>en-us</language><pubDate>Tue, 20 Mar 2007 12:46:53 GMT</pubDate><lastBuildDate>Tue, 20 Mar 2007 12:46:53 GMT</lastBuildDate><generator>EvNet (EvNet, Version=1.0.3243.35083, Culture=neutral, PublicKeyToken=null)</generator><item><title>Re: WPF - Content of a page not showing</title><description>&amp;nbsp;&amp;nbsp;&amp;nbsp; PasswordBox.Password is designed as nomral CLR property for very good reason. if you can do binding on this property, there is a potential for security breach.&lt;br /&gt;&lt;br /&gt;Sheva&lt;br /&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/?CommentID=296761</link><pubDate>Tue, 20 Mar 2007 12:46:53 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/?CommentID=296761</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/296761/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>&amp;nbsp;&amp;nbsp;&amp;nbsp; PasswordBox.Password is designed as nomral CLR property for very good reason. if you can do binding on this property, there is a potential for security breach.Sheva</evnet:previewtext><dc:creator>footballism</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/296761/Trackback.aspx</trackback:ping></item><item><title>Re: WPF - Content of a page not showing</title><description>DataBinding is all powerful and good, but I just ran into an issue with the PasswordBox control...no data binding allowed on the Password property, since it's not&amp;nbsp;a Dependency Property.&lt;br /&gt;&lt;br /&gt;Now, I'm ok with all the password security issues, but no data binding means no ValidationRules.&amp;nbsp; If you are building a form for creating new account, the ValidationRules are SO easy to use and create you own validators.&amp;nbsp; Building a RegexValidationRule that takes in a pattern is ideal for just about everything.&amp;nbsp; However, you can't use in on the PasswordBox, which totally sucks.&amp;nbsp; With Regex you could write patterns to validate complex password requirements.&amp;nbsp; Instead, I only see the option of validating on submit button click, or wire up to a TextChanged event and test it as the user types.&amp;nbsp; ??&lt;br /&gt;&lt;br /&gt;It would have been nice to allow data validation on the PasswordBox.Password property.</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/?CommentID=296605</link><pubDate>Mon, 19 Mar 2007 21:33:57 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/?CommentID=296605</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/296605/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>DataBinding is all powerful and good, but I just ran into an issue with the PasswordBox control...no data binding allowed on the Password property, since it's not&amp;nbsp;a Dependency Property.Now, I'm ok with all the password security issues, but no data binding means no ValidationRules.&amp;nbsp; If you&amp;#8230;</evnet:previewtext><dc:creator>bburkhart</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/296605/Trackback.aspx</trackback:ping></item><item><title>Re: WPF - Content of a page not showing</title><description>Thanks for the booktips, will ask my boss if I can buy one of those :)</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/?CommentID=235526</link><pubDate>Tue, 03 Oct 2006 13:18:19 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/?CommentID=235526</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/235526/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Thanks for the booktips, will ask my boss if I can buy one of those :)</evnet:previewtext><dc:creator>WillemM</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/235526/Trackback.aspx</trackback:ping></item><item><title>Re: WPF - Content of a page not showing</title><description>&amp;nbsp;&amp;nbsp;&amp;nbsp; Well, for data binding stuff, you should check &lt;a href="http://www.beacosta.com/"&gt;Beatriz Costa's blog about data binding in WPF&lt;/a&gt;, I believe he's the guy inside Microsoft who implements those data binding goodness.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; And for book, Charles Petzold is pretty famous in the windows programming world, so is his book:&lt;br /&gt;&lt;a href="http://www.amazon.com/Applications-Code-Markup-Presentation-Foundation/dp/0735619573"&gt;&lt;br /&gt;&lt;b&gt;Applications = Code + Markup&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; But I rather prefer Ian Griffiths and Chris Sells's early release:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.amazon.com/Programming-Windows-Presentation-Foundation-Chris/dp/0596101139/sr=1-1/qid=1159863314/ref=pd_bbs_1/104-6025014-0089562?ie=UTF8&amp;amp;s=books"&gt;&lt;b&gt;Programming Windows Presentation Foundation&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Sheva&lt;br /&gt;&lt;br /&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/?CommentID=235443</link><pubDate>Tue, 03 Oct 2006 08:17:11 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/?CommentID=235443</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/235443/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>&amp;nbsp;&amp;nbsp;&amp;nbsp; Well, for data binding stuff, you should check Beatriz Costa's blog about data binding in WPF, I believe he's the guy inside Microsoft who implements those data binding goodness.&amp;nbsp;&amp;nbsp;&amp;nbsp; And for book, Charles Petzold is pretty famous in the windows programming world, so&amp;#8230;</evnet:previewtext><dc:creator>footballism</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/235443/Trackback.aspx</trackback:ping></item><item><title>Re: WPF - Content of a page not showing</title><description>&lt;p&gt;Thanks for the info, I am still in the early stages of using WPF. You know any good resources or books to learn more about databinding and WPF in general?&lt;/p&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/?CommentID=235441</link><pubDate>Tue, 03 Oct 2006 08:05:59 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/?CommentID=235441</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/235441/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Thanks for the info, I am still in the early stages of using WPF. You know any good resources or books to learn more about databinding and WPF in general?</evnet:previewtext><dc:creator>WillemM</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/235441/Trackback.aspx</trackback:ping></item><item><title>Re: WPF - Content of a page not showing</title><description>&amp;nbsp;&amp;nbsp;&amp;nbsp; Hey, WillemM, Visual Studio 2005 doesn't treat the WPF&amp;nbsp; as its first citizen&amp;nbsp; in its design process, so that's why the integration between WPF and Visual Studio still have some problems, in particular, the debug of WPF applications using Visual Studio 2005 is so cumbersome, and is far from what we really expect,&amp;nbsp; future version of Visual Studio will be improved a lot in this respect, especially when the Cider designer is done.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Actually you don't really need to write anything in the code-behind file to update the your data model based on the data you get from the registration UI, WPF's data binding is really powerful, and it is designed for such kinda of things, all you need to do is to have you data model class implementing INotifyPropertyChanged or INotifyCollectionChanged(if you are designing a collection)&amp;nbsp; interface. and in the xaml, you can use the BindingExtension to bind your UI elements with the data model from the back-end.&lt;br /&gt;&lt;br /&gt;Sheva&lt;br /&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/?CommentID=235418</link><pubDate>Tue, 03 Oct 2006 05:22:40 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/?CommentID=235418</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/235418/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>&amp;nbsp;&amp;nbsp;&amp;nbsp; Hey, WillemM, Visual Studio 2005 doesn't treat the WPF&amp;nbsp; as its first citizen&amp;nbsp; in its design process, so that's why the integration between WPF and Visual Studio still have some problems, in particular, the debug of WPF applications using Visual Studio 2005 is so&amp;#8230;</evnet:previewtext><dc:creator>footballism</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/235418/Trackback.aspx</trackback:ping></item><item><title>Re: WPF - Content of a page not showing</title><description>Hahaha, just found the bug. This line:&lt;br /&gt;&lt;br /&gt;
&lt;p&gt;InitializeComponent();&lt;br /&gt;&lt;br /&gt;was the source of all evil :P&lt;br /&gt;I removed it since the IDE was freaking out showing it with a red underline as if the line is broken, so I removed it.&lt;br /&gt;&lt;br /&gt;Added the line to the page codebehind again and all is functioning again. Man, they really need to do something about the IDE integration :P its all buggy, but then again, its beta.&lt;/p&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/?CommentID=235245</link><pubDate>Mon, 02 Oct 2006 19:36:23 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/?CommentID=235245</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/235245/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Hahaha, just found the bug. This line:
InitializeComponent();was the source of all evil :PI removed it since the IDE was freaking out showing it with a red underline as if the line is broken, so I removed it.Added the line to the page codebehind again and all is functioning again. Man, they really&amp;#8230;</evnet:previewtext><dc:creator>WillemM</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/235245/Trackback.aspx</trackback:ping></item><item><title>Re: WPF - Content of a page not showing</title><description>&lt;p&gt;Hehe, well I don't do much with the user interface except for the following method attached to the register button on the RegisterAccountPage.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;private void RegisterButton_Click(object sender,EventArgs e)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;UserManagementFacade model = new UserManagementFacade();&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;if(PasswordTextBox1.Password == PasswordTextBox2.Password)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;model.RegisterAccount(UsernameTextBox.Text,&lt;/p&gt;
&lt;p&gt;PasswordTextBox1.Password,&lt;/p&gt;
&lt;p&gt;EmailTextBox.Text);&lt;/p&gt;
&lt;p&gt;NavigationService.Navigate(new LoginPage());&lt;/p&gt;
&lt;p&gt;} &lt;/p&gt;
&lt;p&gt;else&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;This should be the problem though. I really don't know whats going on, but it sure is weird. &lt;br /&gt;So, yes I was building an almost empty UI, since most of the stuff was done behind the scene's in the business logic. Also, the user interface is far from complete, so I expected the trouble a little later than it is happening now :P&lt;/p&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/?CommentID=235240</link><pubDate>Mon, 02 Oct 2006 19:17:10 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/?CommentID=235240</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/235240/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Hehe, well I don't do much with the user interface except for the following method attached to the register button on the RegisterAccountPage.
private void RegisterButton_Click(object sender,EventArgs e)
{
UserManagementFacade model = new UserManagementFacade();

if(PasswordTextBox1.Password ==&amp;#8230;</evnet:previewtext><dc:creator>WillemM</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/235240/Trackback.aspx</trackback:ping></item><item><title>Re: WPF - Content of a page not showing</title><description>&amp;nbsp;&amp;nbsp;&amp;nbsp; Then, it shouldn't have any problem here, could you please show us the code which you use to manipulate the xaml view, I don't think you just create the plain user interface and do nothing with it, don't you?&lt;br /&gt;&lt;br /&gt;Sheva&lt;br /&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/?CommentID=235037</link><pubDate>Mon, 02 Oct 2006 09:00:06 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/?CommentID=235037</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/235037/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>&amp;nbsp;&amp;nbsp;&amp;nbsp; Then, it shouldn't have any problem here, could you please show us the code which you use to manipulate the xaml view, I don't think you just create the plain user interface and do nothing with it, don't you?Sheva</evnet:previewtext><dc:creator>footballism</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/235037/Trackback.aspx</trackback:ping></item><item><title>Re: WPF - Content of a page not showing</title><description>&lt;p&gt;I use the page directly from App.xaml, which looks like this:&lt;/p&gt;
&lt;p&gt;&amp;lt;Application x:Class="WeSchedule247.App"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns="&lt;a href="http://schemas.microsoft.com/winfx/2006/xaml/presentation"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation&lt;/a&gt;"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:x="&lt;a href="http://schemas.microsoft.com/winfx/2006/xaml"&gt;http://schemas.microsoft.com/winfx/2006/xaml&lt;/a&gt;"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; StartupUri="LoginPage.xaml" &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Application.Resources&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Application.Resources&amp;gt;&lt;br /&gt;&amp;lt;/Application&amp;gt;&lt;br /&gt;&lt;/p&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/?CommentID=235013</link><pubDate>Mon, 02 Oct 2006 06:13:35 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/?CommentID=235013</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/235013/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>I use the page directly from App.xaml, which looks like this:
&amp;lt;Application x:Class="WeSchedule247.App"&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;#8230;</evnet:previewtext><dc:creator>WillemM</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/235013/Trackback.aspx</trackback:ping></item><item><title>Re: WPF - Content of a page not showing</title><description>&amp;nbsp;&amp;nbsp;&amp;nbsp; I don't see any problem in the xaml file, probably there is something wrong with the code, so what's the navigator for the page, the NavigationWindow or Frame?&lt;br /&gt;&lt;br /&gt;Sheva&lt;br /&gt;</description><comments></comments><link>http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/?CommentID=234913</link><pubDate>Sun, 01 Oct 2006 18:26:47 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/234910-WPF-Content-of-a-page-not-showing/?CommentID=234913</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/234913/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>&amp;nbsp;&amp;nbsp;&amp;nbsp; I don't see any problem in the xaml file, probably there is something wrong with the code, so what's the navigator for the page, the NavigationWindow or Frame?Sheva</evnet:previewtext><dc:creator>footballism</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/234913/Trackback.aspx</trackback:ping></item></channel></rss>