﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - ClientUI - UXPasswordBox binding issue</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXPasswordBox-binding-issue/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>UXPasswordBox binding issue</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXPasswordBox-binding-issue/</link><pubDate>Thu, 28 Mar 2013 02:43:35 GMT</pubDate><dc:creator>yudi</dc:creator><category>binding</category><category>UXPasswordBox</category><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Your feature request has been submitted to ClientUI development team under &lt;strong&gt;Product Backlog Item 1372&lt;/strong&gt;. I will update this thread when the team has implemented this feature request.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>UXPasswordBox binding issue</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXPasswordBox-binding-issue/</link><pubDate>Wed, 27 Mar 2013 17:28:11 GMT</pubDate><dc:creator>mg@hsig.ch</dc:creator><category>binding</category><category>UXPasswordBox</category><description>&lt;p&gt;Hi Yudi&lt;/p&gt;
&lt;p&gt;Thanks for your answer!&lt;/p&gt;
&lt;p&gt;The Password-Property of Microsoft's PasswordBox supports no data binding. Their PasswordBox does it! In my opinion, it should therefore also works correctly (tow way binding).&lt;/p&gt;
&lt;p&gt;In my case, the password is not security critical. In the meantime, I've been using the standard Textbox...&lt;/p&gt;
&lt;p&gt;Please let me know, if you implement this feature request.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;</description></item><item><title>UXPasswordBox binding issue</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXPasswordBox-binding-issue/</link><pubDate>Wed, 20 Mar 2013 03:31:33 GMT</pubDate><dc:creator>yudi</dc:creator><category>binding</category><category>UXPasswordBox</category><description>    
&lt;p&gt;
        &lt;span style="color: rgb(31, 73, 125);"&gt;Thank you for the sent sample which replicates the reported problem of UXPasswordBox.
I will have this discussed with the ClientUI development team and update this thread with the result.&lt;/span&gt;
    &lt;/p&gt;
    
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Thank you.&lt;/span&gt;&lt;/p&gt;
    
&lt;p&gt;
        &lt;span style="color: rgb(31, 73, 125);"&gt;&lt;strong&gt;Edited on March 21, 2013 7:45 AM&lt;br /&gt;
            Reason: Update Latest Status&lt;/strong&gt;&lt;/span&gt;
    &lt;/p&gt;
    
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I made a simple experiment by adding a UXTextBox, named as DebugTextBox, into the MainWindow.xaml file. The Text property DebugTextBox is bound to Password property of UXPasswordBox. The objective is simple, I’m going to check whether thePassword property is actually updated or not.&lt;/span&gt;&lt;/p&gt;
    &lt;pre&gt;&amp;lt;Intersoft:FieldLabel Header="Password (UXPasswordBox)"&amp;gt;
    &amp;lt;Intersoft:UXPasswordBox  Password="{Binding SelectedUser.Password, Mode=TwoWay}" x:Name="ThePasswordBox" /&amp;gt;
&amp;lt;/Intersoft:FieldLabel&amp;gt;
&amp;lt;Intersoft:FieldLabel Header="TextBox to UXPasswordBox"&amp;gt;
    &amp;lt;Intersoft:UXTextBox Text="{Binding ElementName=ThePasswordBox, Path=Password, Mode=TwoWay}" /&amp;gt;
&amp;lt;/Intersoft:FieldLabel&amp;gt;&lt;/pre&gt;
    
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;The result shows that when user selects another user from the ListBox, the Password property of UXPasswordBox is actually updated (indicated by text displayed on DebugTextBox). However, the UXPasswordBox, visually, is not updated. It keeps showing 4 password chars.&lt;/span&gt;&lt;/p&gt;
    
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;The ClientUI development team says that they were already aware about this and decided not to implement such scenario due to the following reasons:&lt;/span&gt;&lt;/p&gt;
    
&lt;ul style="color: rgb(31, 73, 125);"&gt;
        &lt;li&gt;It is not a common scenario to modify the Password property of UXTextBox from ViewModel. Password should be only set by user by type in the password characters. The PasswordBox element of WPF also doesn’t allow data binding on it.&lt;/li&gt;
        &lt;li&gt;Data binding password is not a good design for security reasons and should be avoided.&lt;/li&gt;
    &lt;/ul&gt;
    
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;However, the ClientUI development team agrees to treat this as feature request if you wish to implement such scenario.&lt;/span&gt;&lt;/p&gt;
    
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Please let us hear your response regarding this.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>UXPasswordBox binding issue</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXPasswordBox-binding-issue/</link><pubDate>Tue, 19 Mar 2013 09:27:09 GMT</pubDate><dc:creator>mg@hsig.ch</dc:creator><category>binding</category><category>UXPasswordBox</category><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Please have a look on attached UXPasswordBoxSample.&lt;/p&gt;
&lt;p&gt;The binding (Property Password) does not work. &lt;/p&gt;
&lt;p&gt;Repro steps:&lt;/p&gt;
&lt;p&gt;1. Start sample and watch on UXPasswordBox&lt;/p&gt;
&lt;p&gt;2. Select an other User (change seleced item) -&amp;gt; There always 4 Password chars!&lt;/p&gt;
&lt;p&gt;3. Set the focus on UXPasswordBox an type a char (don't select all chars) -&amp;gt; You can see in UXTextBox the old Password and the new added char!&lt;/p&gt;
&lt;p&gt;Thanks for a fix!&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;</description></item></channel></rss>