﻿<?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 - binding</title><link>http://www.intersoftsolutions.com/Community/Tags/binding/</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>How to bind html text to TextView</title><link>http://www.intersoftsolutions.com/Community/Tags/binding/</link><pubDate>Mon, 04 May 2015 08:06:45 GMT</pubDate><dc:creator>cristobal@sbsoftware.es</dc:creator><category>binding</category><category>android</category><category>HTML</category><category>Crosslight</category><category>fromhtml</category><category>textview</category><description>&lt;p&gt;Hi.&lt;/p&gt;&lt;p&gt;I want to bind html text in TextView, but I don't know how do it.&lt;/p&gt;&lt;p&gt;I've found a lot of thread of android where it is said that the method is Android.Text.Html.FromHtml. (&lt;a href="http://stackoverflow.com/questions/2116162/how-to-display-html-in-textview" target="_blank"&gt;stackoverflow.com/questions/2116162/how-to-display-html-in-textview&lt;/a&gt;)&lt;/p&gt;&lt;p&gt;Could you say me how&amp;nbsp;&lt;span style="font-size: 10pt;"&gt;can I use it using binding providers?&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to bind color to GridView cell background?</title><link>http://www.intersoftsolutions.com/Community/Tags/binding/</link><pubDate>Mon, 23 Mar 2015 09:17:10 GMT</pubDate><dc:creator>cristobal@sbsoftware.es</dc:creator><category>binding</category><category>android</category><category>GridView</category><category>Crosslight</category><category>bindingprovider</category><description>&lt;p&gt;Dear crosslight developer.&lt;/p&gt;&lt;p&gt;I'm writting to you because I want to bind the background color in a gridview cell, using hexadecimal color with is saving in a property model's.&lt;/p&gt;&lt;p&gt;My model have a Color property and my ViewModel is ListViewModel&amp;lt;Model&amp;gt;, and it draw a gridview. Each one of those cells should bind a model color property with a cell background color&lt;span style="font-size: 10pt;"&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Could you tell me if I need a custom bindingprovider? How can I do it?&lt;/p&gt;&lt;p&gt;Thank you very much.&lt;/p&gt;</description></item><item><title>Bind to custom list class</title><link>http://www.intersoftsolutions.com/Community/Tags/binding/</link><pubDate>Mon, 01 Dec 2014 18:14:27 GMT</pubDate><dc:creator>pedro1412</dc:creator><category>binding</category><category>uicollectionview</category><description>&lt;p&gt;In my view model I have a collection of model objects and I want to bind that to my view. My view has a collection of "tiles", each tile is filled with an instance of my model class.&amp;nbsp;&lt;/p&gt;&lt;p&gt;It would be the same as binding to a ListView, but instead I have my ListView class with more data than just DataMemberPath.&lt;/p&gt;&lt;p&gt;Please advise.&lt;/p&gt;</description></item><item><title>UXPasswordBox binding issue</title><link>http://www.intersoftsolutions.com/Community/Tags/binding/</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><item><title>Data Presenter Manager Columns - Binding Complex Types</title><link>http://www.intersoftsolutions.com/Community/Tags/binding/</link><pubDate>Wed, 20 Feb 2013 16:03:02 GMT</pubDate><dc:creator>NeRane</dc:creator><category>binding</category><category>DataPresenter</category><category>Data</category><category>DataPresenterManager</category><category>Complex Types</category><description>Hello,
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;I am having problems when binding complex types to the Data Presenter Manager.  I have been able to explicitely define text columns with no issue.  Below is a sample of my XAML&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;In this example, the overlying context is a collection of Journals.&lt;/div&gt;
&lt;div&gt;Each Journal has a complex type,  JournalType, that has the string property Description.&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;However when running, it shows the data is there yet does not properly display the Description.  Is there a "DisplayMemberPath" (UXComboBox) like property that I should be utilizing?&lt;/div&gt;
&lt;div&gt;&lt;pre style="font-family: consolas; font-size: 13px; background-color: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Intersoft&lt;/span&gt;&lt;span style="color: blue;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DataPresenterTextColumn&lt;/span&gt;&lt;span style="color: red;"&gt; Caption&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;&lt;span style="color: blue;"&gt;"Type"&lt;/span&gt;&amp;nbsp;&lt;span style="color: red;"&gt;DataMemberField&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;&lt;span style="color: blue;"&gt;"JournalType"&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Intersoft&lt;/span&gt;&lt;span style="color: blue;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DataPresenterTextColumn.CellTemplate&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DataTemplate&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;TextBlock&lt;/span&gt;&lt;span style="color: red;"&gt; Text&lt;/span&gt;&lt;span style="color: blue;"&gt;="{&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Binding&lt;/span&gt;&lt;span style="color: red;"&gt; Description&lt;/span&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;span style="color: blue;"&gt;"&lt;/span&gt;&lt;span style="color: blue;"&gt; /&amp;gt;&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DataTemplate&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Intersoft&lt;/span&gt;&lt;span style="color: blue;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DataPresenterTextColumn.CellTemplate&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Intersoft&lt;/span&gt;&lt;span style="color: blue;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DataPresenterTextColumn&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: consolas; font-size: 13px; background-color: white;"&gt;&lt;span style="color: blue;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: consolas; font-size: 13px; background-color: white;"&gt;Regards,&amp;nbsp;&lt;/pre&gt;&lt;pre style="font-family: consolas; font-size: 13px; background-color: white;"&gt;Kat&lt;/pre&gt;&lt;pre style="font-family: consolas; font-size: 13px; background-color: white;"&gt;&lt;span style="color: blue;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: consolas; font-size: 13px; background-color: white;"&gt;&lt;span style="color: blue;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>UXGridView UpdateRow is not fired</title><link>http://www.intersoftsolutions.com/Community/Tags/binding/</link><pubDate>Wed, 02 Nov 2011 03:52:41 GMT</pubDate><dc:creator>mg@hsig.ch</dc:creator><category>binding</category><category>uxgridview</category><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I have a UXGridView and for each column a FieldLabel (please see attached picture).&lt;br /&gt;The changes I make on FieldLabel will be synchronized directly with the UXGridView. But the Row is not in edit mode. The events ValidateRow and UpdateRow are not fired!&lt;br /&gt;I want the same behavior as when I change a cell in UXGridView and leave the row&lt;br /&gt;How can I do this?&lt;/p&gt;
&lt;p&gt;Update:  I could display the FieldLabel read-only and only editable in edit mode. I have not found a property like "IsEditMode".&lt;/p&gt;
&lt;p&gt;Here some code:&lt;/p&gt;&lt;pre&gt;&amp;lt;Intersoft:UXGridView Intersoft:DockPanel.IsFillElement="True" AutoGenerateColumns="False"
                        Style="{StaticResource UXGridViewStyle}"
                        IsBusy="{Binding IsBusy, Mode=TwoWay}" 
                        IsRefreshed="{Binding IsRefreshed, Mode=TwoWay}"
                        SortDescriptors="{Binding QueryDescriptor.SortDescriptors, Mode=TwoWay}"
                        PageDescriptor="{Binding QueryDescriptor.PageDescriptor}"
                        FilterDescriptors="{Binding QueryDescriptor.FilterDescriptors, Mode=TwoWay}"
                        PageSize="{Binding ElementName=PageSize, Path=Text}"
                        ItemsSource="{Binding Path=Items}"
                        SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
                        NewItem="{Binding NewItem, Mode=TwoWay}"
                        HasChanges="{Binding HasChanges}"
                        AutoEditOperation="{Binding AutoEditOperation}" 
                        PrepareNewRowCommand="{Binding PrepareNewRowCommand}"
                        ValidateRowCommand="{Binding ValidateRowCommand}" 
                        InsertRowCommand="{Binding InsertRowCommand}"
                        DeleteRowCommand="{Binding DeleteRowCommand}" 
                        UpdateCellCommand="{Binding UpdateCellCommand}" 
                        UpdateRowCommand="{Binding UpdateRowCommand}"
                        SaveChangesCommand="{Binding SaveChangesCommand}" 
                        RejectRowCommand="{Binding RejectRowCommand}"
                        RejectChangesCommand="{Binding RejectChangesCommand}"
                        RefreshCommand="{Binding RefreshCommand}"
                        CanUserAddRows="True"&amp;gt;
    &amp;lt;Intersoft:UXGridView.Columns&amp;gt;
        &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding ID}" Visibility="Collapsed"/&amp;gt;
        &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding FQDN, Mode=TwoWay, ValidatesOnExceptions=True,NotifyOnValidationError=True,ValidatesOnNotifyDataErrors=True}"/&amp;gt;
        &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding Description}"/&amp;gt;
        &amp;lt;Intersoft:UXGridViewCheckBoxColumn Binding="{Binding Hide}" /&amp;gt;
        &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding Version}" Visibility="Collapsed"/&amp;gt;
    &amp;lt;/Intersoft:UXGridView.Columns&amp;gt;
&amp;lt;/Intersoft:UXGridView&amp;gt;&lt;/pre&gt;&lt;pre&gt;&amp;lt;Intersoft:UXItemsControl ItemContainerStyle="{StaticResource FieldLabelStyle}"&amp;gt;
    &amp;lt;Intersoft:FieldLabel Header="ID:"&amp;gt;
        &amp;lt;Intersoft:UXTextBox Text="{Binding SelectedItem.ID}" Style="{StaticResource FieldLabelReadOnlyTextBoxStyle}"/&amp;gt;
    &amp;lt;/Intersoft:FieldLabel&amp;gt;
    &amp;lt;Intersoft:FieldLabel Header="FQDN:"&amp;gt;
        &amp;lt;Intersoft:UXTextBox Text="{Binding SelectedItem.FQDN, Mode=TwoWay}" Style="{StaticResource FieldLabelTextBoxStyle}"/&amp;gt;
    &amp;lt;/Intersoft:FieldLabel&amp;gt;
    &amp;lt;Intersoft:FieldLabel Header="Beschreibung:" Style="{StaticResource RequiredFieldLabelStyle}"&amp;gt;
        &amp;lt;Intersoft:UXTextBox Text="{Binding SelectedItem.Description}" Style="{StaticResource FieldLabelTextBoxStyle}" /&amp;gt;
    &amp;lt;/Intersoft:FieldLabel&amp;gt;
    &amp;lt;Intersoft:FieldLabel Header="Ausblenden:"&amp;gt;
        &amp;lt;Intersoft:UXCheckBox IsChecked="{Binding SelectedItem.Hide}" Style="{StaticResource FieldLabelCheckBoxStyle}" /&amp;gt;
    &amp;lt;/Intersoft:FieldLabel&amp;gt;
&amp;lt;/Intersoft:UXItemsControl&amp;gt;&lt;/pre&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Simple question on binding to complex object</title><link>http://www.intersoftsolutions.com/Community/Tags/binding/</link><pubDate>Tue, 16 Mar 2010 09:57:17 GMT</pubDate><dc:creator>samtran0331</dc:creator><category>Object</category><category>binding</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I'm trying to bind a complex object and can't figure out how to do it using WebGrid.&lt;/p&gt;
&lt;p&gt;With a normal ASP.Net GridView control, I can do this:&lt;/p&gt;
&lt;p&gt; &amp;lt;asp:TemplateField HeaderText="Sun ETID"&amp;gt;&lt;br /&gt; &amp;lt;ItemTemplate&amp;gt;&lt;br /&gt; &amp;lt;asp:Label ID="Label1" runat="server" Text='&amp;lt;%# Eval("&lt;strong&gt;Sunday.ETID&lt;/strong&gt;") %&amp;gt;'&amp;gt;&amp;lt;/asp:Label&amp;gt;&lt;br /&gt; &amp;lt;/ItemTemplate&amp;gt;&lt;br /&gt; &amp;lt;/asp:TemplateField&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;With a Telerik RadGrid, I can do this:&lt;/p&gt;
&lt;p&gt; &amp;lt;telerik:GridBoundColumn UniqueName="column3" DataField="&lt;strong&gt;Sunday.ETID&lt;/strong&gt;" HeaderText="Sun ETID"&amp;gt;&lt;br /&gt; &amp;lt;/telerik:GridBoundColumn&amp;gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;My datasource is an object called "Timesheet" this is the datasource for the grids.&lt;/p&gt;
&lt;p&gt;Within the Timesheet object is another collection of objects for each day of the week.  &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;That is why I can bind to "Sunday.ETID"..."Sunday" is an object within "Timesheet"&lt;/p&gt;
&lt;p&gt;And "Sunday" has a property called "ETID".&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;What would be the syntax to bind a column using Intersoft WebGrid?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>