﻿<?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 - uxgridview</title><link>http://www.intersoftsolutions.com/Community/Tags/uxgridview/</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>UXGridView - Silverlight - Column Footers Disappear until column header clicked</title><link>http://www.intersoftsolutions.com/Community/Tags/uxgridview/</link><pubDate>Tue, 21 Oct 2014 13:29:07 GMT</pubDate><dc:creator>irishbuddha22</dc:creator><category>Silverlight</category><category>uxgridview</category><category>Column Footers</category><description>&lt;p&gt;Scenario: UXGridView tied to a PagedCollectionView&lt;/p&gt;&lt;p&gt;When the PagedCollectionView is tied to an underlying &amp;lt;ObservableCollection&amp;gt;, and the collection is cleared and re-loaded, the UXGridView entirely loses the column footers and they become blank.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Column Footers are perfect on initial entry, no issues there&lt;/li&gt;&lt;li&gt;Clicking on a column header to sort the UXGridView causes the footers to re-appear&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Is there a trick to not losing the footers in this situation, or a setting that I'm missing? I've tried doing a PagedCollectionView.Refresh() to no avail, and can't seem to have the footers just stay in place and get updated like they do on initial display.&amp;nbsp;&lt;/p&gt;</description></item><item><title>UXGridView - Remove / Collapse / Hide the grid footer</title><link>http://www.intersoftsolutions.com/Community/Tags/uxgridview/</link><pubDate>Fri, 27 Sep 2013 12:49:40 GMT</pubDate><dc:creator>irishbuddha22</dc:creator><category>ClientUI</category><category>uxgridview</category><description>&lt;p style="font-family: 'lucida grande', 'lucida sans unicode', helvetica, arial, verdana, sans-serif; -webkit-font-smoothing: antialiased; margin-right: 0px; margin-left: 0px; padding: 0px; border: 0px; outline-offset: 0px; line-height: 1.5em; color: rgb(51, 51, 51); background-color: rgb(255, 255, 255); text-rendering: optimizelegibility !important;"&gt;Silverlight UXGridView&lt;/p&gt;
&lt;p style="font-family: 'lucida grande', 'lucida sans unicode', helvetica, arial, verdana, sans-serif; -webkit-font-smoothing: antialiased; margin-right: 0px; margin-left: 0px; padding: 0px; border: 0px; outline-offset: 0px; line-height: 1.5em; color: rgb(51, 51, 51); background-color: rgb(255, 255, 255); text-rendering: optimizelegibility !important;"&gt;Not seeing a straightforward way to do it, but has anyone found a way to hide/remove the Grid footer on a UXGridView. (The footer bar that also contains the refresh button at the bottom right by default).&lt;/p&gt;
&lt;p style="font-family: 'lucida grande', 'lucida sans unicode', helvetica, arial, verdana, sans-serif; -webkit-font-smoothing: antialiased; margin-right: 0px; margin-left: 0px; padding: 0px; border: 0px; outline-offset: 0px; line-height: 1.5em; color: rgb(51, 51, 51); background-color: rgb(255, 255, 255); text-rendering: optimizelegibility !important;"&gt;Boss wants to end the grid after the last data row, no footer at all for the entire grid.&lt;/p&gt;
&lt;p style="font-family: 'lucida grande', 'lucida sans unicode', helvetica, arial, verdana, sans-serif; -webkit-font-smoothing: antialiased; margin-right: 0px; margin-left: 0px; padding: 0px; border: 0px; outline-offset: 0px; line-height: 1.5em; color: rgb(51, 51, 51); background-color: rgb(255, 255, 255); text-rendering: optimizelegibility !important;"&gt;*incorrectly posted in webgrid earlier, yes, deleting that dupe&lt;/p&gt;</description></item><item><title>Problem with hyperlink inside UXGridView</title><link>http://www.intersoftsolutions.com/Community/Tags/uxgridview/</link><pubDate>Mon, 19 Nov 2012 11:41:22 GMT</pubDate><dc:creator>gzhebrunov@googlemail.com</dc:creator><category>Silverlight</category><category>uxgridview</category><category>HyperLink</category><description>Hello,
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;I have problem with UXGridView. I need to show HyperLink (with absolute Uri) inside grid. I tried following solutions:&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;1. &amp;lt;Intersoft:UXGridViewHyperlinkColumn Header="PROVIDER" Width="260" Binding="{Binding Path=Name}" NavigateUriBinding="{Binding Path=Url}"&amp;gt;&amp;lt;/Intersoft:UXGridViewHyperlinkColumn&amp;gt;&lt;/div&gt;
&lt;div&gt;Not working, showing error about Absolute to Relative Uri convertion.&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;2. Intersoft:UXGridViewTemplateColumn and Intersoft:HyperLink inside. Not sure how to setup text of hyperlink in this case.&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;3. Intersoft:UXGridViewTemplateColumn and typical HyperLinkButton control. Showing without problems, but can not click on it (I think because grid not allowing events or something like that).&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;I think solution should be trivial. Please help!&lt;/div&gt;</description></item><item><title>Problem with button inside UxGridViewColumn</title><link>http://www.intersoftsolutions.com/Community/Tags/uxgridview/</link><pubDate>Thu, 23 Aug 2012 21:46:13 GMT</pubDate><dc:creator>jabas06</dc:creator><category>uxgridview</category><description>Hi,
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;I customize a cell template in an UXGridViewColumn, and put inside of DataTemplate a button.&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;I need to perform an action on button's click event, but UXGridView eats the event. How can I do that?&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;I'm using ClientUI 7  with last hotfixes.&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;Regards,&lt;/div&gt;
&lt;div&gt;Jesus&lt;/div&gt;</description></item><item><title>operation speed is very slow if we have a Page with an UXGridView and UXTreeView</title><link>http://www.intersoftsolutions.com/Community/Tags/uxgridview/</link><pubDate>Tue, 15 Nov 2011 04:11:26 GMT</pubDate><dc:creator>gavin</dc:creator><category>uxgridview</category><category>UXTreeView</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Question one:&lt;br /&gt;We are using different ClientUI5 Controls on one Page.In our example we have a Page with an UXGridView(page size is 20,has 25 columns), UXTreeView(has about 1000 items) and UXTabControl.The issue is that operation speed is very slow on this page, and it is taking a lot of time to select one item or to edit one item.This is a big problem about performance.&lt;br /&gt;1&amp;gt; It seems if the page only has the UXGridView or the UXTreeView, the operation speed is be fine.&lt;br /&gt;2&amp;gt; It seems if we reduce the number of UXTreeView's Items, the operation speed can be increased( performance improvement).&lt;br /&gt;3&amp;gt; It seems if we reduce the number of UXGridView's Columns, the operation speed can be increased( performance improvement).&lt;br /&gt;So Is there a limit to how many objects you can export on one page?Please give me some advise.&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;Intersoft:DockPanel Name="dockPanel12" FillChildMode="Custom"&amp;gt;
  &amp;lt;Intersoft:UXGridView Name="QingDanList"  AutoGenerateColumns="False"  Intersoft:DockPanel.IsFillElement="True"
                        ItemsSource="{Binding Items}" SelectedItem="{Binding SelectedItem,Mode=TwoWay}"
                        Margin="0,4,4,0" IsBusy="{Binding IsBusy, Mode=TwoWay}"
                        ColumnHeaderStyleSelector="{StaticResource ColumnHeaderStyleSelector}"
                        FrozenColumnCount="2" StatusBarVisibility="Visible"
                        QueryOperation="Server" CanUserPage="True" PageSize="20"
                        PageDescriptor="{Binding QueryDescriptor.PageDescriptor, Mode=TwoWay}"
                        SortDescriptors="{Binding QueryDescriptor.SortDescriptors, Mode=TwoWay}"
                        AllowDrop="True"
                        GroupFootersVisibility="Collapsed" GroupByBoxVisibility="Collapsed"
                        AutoEditOperation="{Binding AutoEditOperation}"
                        CanUserAddRows="{Binding CanUserAddRows}"
                        CanUserDeleteRows="{Binding CanUserDeleteRows}"
                        CanUserEditRows="{Binding CanUserEditRows}"
                        EditEnterKeyAction="{Binding EditEnterKeyAction}"
                        EditMouseGesture="{Binding EditMouseGesture}"
                        EnterKeyAction="{Binding EnterKeyAction}"
                        NewItem="{Binding NewItem, Mode=TwoWay}"
                        SelectedIndex="{Binding SelectedIndex, Mode=TwoWay}"
                        ValidateRowCommand="{Binding ValidateRowCommand}"
                        InsertRowCommand="{Binding InsertRowCommand}"
                        DeleteRowCommand="{Binding DeleteRowCommand}"
                        PrepareNewRowCommand="{Binding PrepareNewRowCommand}"
                        UpdateCellCommand="{Binding UpdateCellCommand}"
                        UpdateRowCommand="{Binding UpdateRowCommand}"
                        SaveChangesCommand="{Binding SaveChangesCommand}"
                        RejectRowCommand="{Binding RejectRowCommand}"
                        HasChanges="{Binding HasChanges}"&amp;gt;
    &amp;lt;Intersoft:UXGridView.ResourceOverride&amp;gt;
      &amp;lt;Intersoft:UXGridViewResource BusyText="加载中" ContextMenu_CopyRow="复制行"/&amp;gt;
    &amp;lt;/Intersoft:UXGridView.ResourceOverride&amp;gt;
    &amp;lt;Intersoft:UXGridView.Columns&amp;gt;
      &amp;lt;Intersoft:UXGridViewCheckBoxColumn Binding="{Binding bzj}" Header="标准件" IsReadOnly="True"&amp;gt;  &amp;lt;/Intersoft:UXGridViewCheckBoxColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding qdxh}" Header="序号" IsReadOnly="True" CellHorizontalAlignment="Right"&amp;gt;  &amp;lt;/Intersoft:UXGridViewTextColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding dyzy}" Header="专业" IsReadOnly="True" &amp;gt;  &amp;lt;/Intersoft:UXGridViewTextColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding bhlb}" Header="类别" IsReadOnly="True" CellHorizontalAlignment="Right"&amp;gt;  &amp;lt;/Intersoft:UXGridViewTextColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding zhbh}" Header="项目编号" &amp;gt;  &amp;lt;/Intersoft:UXGridViewTextColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding tzbz}" Header="换" IsReadOnly="True" CellHorizontalAlignment="Center"&amp;gt;  &amp;lt;/Intersoft:UXGridViewTextColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding qdmc}" Header="项目名称"&amp;gt;  &amp;lt;/Intersoft:UXGridViewTextColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding dw}" Header="单位" CellHorizontalAlignment="Center"&amp;gt;  &amp;lt;/Intersoft:UXGridViewTextColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding zhxs}" Header="工程量"  CellHorizontalAlignment="Right"&amp;gt;  &amp;lt;/Intersoft:UXGridViewTextColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding zcfdj, StringFormat=n}" Header="综合单价" CellHorizontalAlignment="Right"&amp;gt;  &amp;lt;/Intersoft:UXGridViewTextColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding zgjdj, StringFormat=n}" Header="暂估价" IsReadOnly="True" CellHorizontalAlignment="Right"&amp;gt;  &amp;lt;/Intersoft:UXGridViewTextColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding zcfhj, StringFormat=n}" Header="综合报价"  IsReadOnly="True" CellHorizontalAlignment="Right"&amp;gt;  &amp;lt;/Intersoft:UXGridViewTextColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding jsjs}" Header="取费基数" IsReadOnly="True"&amp;gt;  &amp;lt;/Intersoft:UXGridViewTextColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding glffl, StringFormat=p}" Header="管理费费率" CellHorizontalAlignment="Right"&amp;gt;  &amp;lt;/Intersoft:UXGridViewTextColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding lrfl, StringFormat=p}" Header="利率费率" CellHorizontalAlignment="Right"&amp;gt;  &amp;lt;/Intersoft:UXGridViewTextColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding rgdj, StringFormat=n}" Header="人工单价" IsReadOnly="True" CellHorizontalAlignment="Right"&amp;gt;  &amp;lt;/Intersoft:UXGridViewTextColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding cldj, StringFormat=n}" Header="材料单价" IsReadOnly="True" CellHorizontalAlignment="Right"&amp;gt;  &amp;lt;/Intersoft:UXGridViewTextColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding jxdj, StringFormat=n}" Header="机械单价" IsReadOnly="True" CellHorizontalAlignment="Right"&amp;gt;  &amp;lt;/Intersoft:UXGridViewTextColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewCheckBoxColumn Binding="{Binding sptbz}" Header="商品" IsReadOnly="True"&amp;gt;  &amp;lt;/Intersoft:UXGridViewCheckBoxColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewCheckBoxColumn Binding="{Binding bengsong}" Header="泵送" IsReadOnly="True"&amp;gt;  &amp;lt;/Intersoft:UXGridViewCheckBoxColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding rgxs, StringFormat=\{0:N3\}}" Header="人工系数" IsReadOnly="True" CellHorizontalAlignment="Right"&amp;gt;  &amp;lt;/Intersoft:UXGridViewTextColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding clxs, StringFormat=\{0:N3\}}" Header="材料系数" IsReadOnly="True" CellHorizontalAlignment="Right"&amp;gt;  &amp;lt;/Intersoft:UXGridViewTextColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding jxxs, StringFormat=\{0:N3\}}" Header="机械系数" IsReadOnly="True" CellHorizontalAlignment="Right"&amp;gt;  &amp;lt;/Intersoft:UXGridViewTextColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding bz}" Header="备注" &amp;gt;  &amp;lt;/Intersoft:UXGridViewTextColumn&amp;gt;
      &amp;lt;Intersoft:UXGridViewCheckBoxColumn Binding="{Binding iszb}" Header="招标" IsReadOnly="True"&amp;gt;  &amp;lt;/Intersoft:UXGridViewCheckBoxColumn&amp;gt;
    &amp;lt;/Intersoft:UXGridView.Columns&amp;gt;
  &amp;lt;/Intersoft:UXGridView&amp;gt;
  &amp;lt;Intersoft:UXResizablePane x:Name="SampleControl2" Header="辅助" Intersoft:DockPanel.Dock="Bottom" ResizeDock="Top"
                                        BorderThickness="1,1,0,0" Height="250"    MinHeight="32" MaxHeight="400"
                HeaderImage="/Images/Office/PublishPlanHS.png" CollapseAction="KeepContentVisible"&amp;gt;
    &amp;lt;Intersoft:UXResizablePane.HeaderBackground&amp;gt;
      &amp;lt;LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0"&amp;gt;
        &amp;lt;GradientStop Color="White"/&amp;gt;
        &amp;lt;GradientStop Color="#FFA0E1FD" Offset="1"/&amp;gt;
      &amp;lt;/LinearGradientBrush&amp;gt;
    &amp;lt;/Intersoft:UXResizablePane.HeaderBackground&amp;gt;
    &amp;lt;Intersoft:UXTabControl   Name="uXTabControl2" Margin="2" CornerRadius="2" SelectedIndex="{Binding SelectedTabIndex,Mode=TwoWay}"&amp;gt;
      &amp;lt;Intersoft:UXTabItem Header="备注"  Background="{StaticResource BlueBackGroud}" CornerRadius="2" HeaderDisplayMode="Content"  Margin="0,0,3,0" &amp;gt;

      &amp;lt;/Intersoft:UXTabItem&amp;gt;
      &amp;lt;Intersoft:UXTabItem Header="模板钢筋" Background="{StaticResource BlueBackGroud}" CornerRadius="2" HeaderDisplayMode="Content" Margin="0,0,3,0"&amp;gt;

      &amp;lt;/Intersoft:UXTabItem&amp;gt;
      &amp;lt;Intersoft:UXTabItem Header="换配比" Background="{StaticResource BlueBackGroud}" CornerRadius="2" HeaderDisplayMode="Content" Margin="0,0,3,0"&amp;gt;
      &amp;lt;/Intersoft:UXTabItem&amp;gt;
      &amp;lt;Intersoft:UXTabItem Header="单价组成" Background="{StaticResource BlueBackGroud}" CornerRadius="2" HeaderDisplayMode="Content" Margin="0,0,3,0"&amp;gt;
      &amp;lt;/Intersoft:UXTabItem&amp;gt;
      &amp;lt;Intersoft:UXTabItem Header="工程量计算式" Background="{StaticResource BlueBackGroud}" CornerRadius="2" HeaderDisplayMode="Content" Margin="0,0,3,0"&amp;gt;
      &amp;lt;/Intersoft:UXTabItem&amp;gt;
      &amp;lt;Intersoft:UXTabItem Header="清单特征" Visibility="{Binding IsQingDan}" Background="{StaticResource BlueBackGroud}" CornerRadius="2" HeaderDisplayMode="Content"  Margin="0,0,3,0" &amp;gt;
        &amp;lt;Grid&amp;gt;
          &amp;lt;Grid.RowDefinitions&amp;gt;
            &amp;lt;RowDefinition Height="30"/&amp;gt;
            &amp;lt;RowDefinition Height="0.5*"/&amp;gt;
            &amp;lt;RowDefinition Height="0.5*"/&amp;gt;
          &amp;lt;/Grid.RowDefinitions&amp;gt;
          &amp;lt;Grid.ColumnDefinitions&amp;gt;
            &amp;lt;ColumnDefinition Width="60"/&amp;gt;
            &amp;lt;ColumnDefinition Width="0.3*"/&amp;gt;
            &amp;lt;ColumnDefinition Width="60"/&amp;gt;
            &amp;lt;ColumnDefinition Width="0.7*"/&amp;gt;
          &amp;lt;/Grid.ColumnDefinitions&amp;gt;
          &amp;lt;Intersoft:FieldLabel Header="清单编号：" Margin="0" HorizontalHeaderAlignment="Stretch" /&amp;gt;
          &amp;lt;Intersoft:UXTextBox Text="{Binding SelectedItem.zhbh}" TextWrapping="Wrap" Grid.Column="1" HorizontalContentAlignment="Left" VerticalContentAlignment="Stretch" VerticalAlignment="Center" Margin="2"/&amp;gt;
          &amp;lt;Intersoft:FieldLabel Header="清单名称：" Margin="0" Grid.Column="2"/&amp;gt;
          &amp;lt;Intersoft:UXTextBox Text="{Binding SelectedItem.qdmc}" TextWrapping="Wrap" Grid.Column="3" HorizontalContentAlignment="Left" VerticalContentAlignment="Stretch" VerticalAlignment="Center" Margin="2"/&amp;gt;

          &amp;lt;Intersoft:FieldLabel Header="项目特征：" Margin="0" Grid.Row="1" d:LayoutOverrides="Height"/&amp;gt;
          &amp;lt;Intersoft:UXScrollViewer VerticalScrollBarVisibility="Auto" Margin="0" Grid.Row="1" Grid.Column="1"&amp;gt;
            &amp;lt;Intersoft:UXTextBox Text="{Binding SelectedItem.qdtz}" BorderThickness="2"
              VerticalScrollBarVisibility="Disabled" TextWrapping="Wrap" AcceptsReturn="True" HorizontalContentAlignment="Left" VerticalContentAlignment="Top" Margin="2"/&amp;gt;
          &amp;lt;/Intersoft:UXScrollViewer&amp;gt;
          &amp;lt;Intersoft:FieldLabel Header="计算规则：" Content="{Binding SelectedItem.qdjsgz}" Margin="0" Grid.Row="2"/&amp;gt;

          &amp;lt;Intersoft:UXScrollViewer VerticalScrollBarVisibility="Auto" Margin="0" Grid.Row="2" Grid.Column="1"&amp;gt;
            &amp;lt;Intersoft:UXTextBox Text="{Binding SelectedItem.qdjsgz}" BorderThickness="2"
              VerticalScrollBarVisibility="Disabled" TextWrapping="Wrap" AcceptsReturn="True" HorizontalContentAlignment="Left" VerticalContentAlignment="Top" Margin="2"/&amp;gt;
          &amp;lt;/Intersoft:UXScrollViewer&amp;gt;
          &amp;lt;Grid Grid.Column="2" Margin="2" Grid.Row="1" Grid.ColumnSpan="2" Grid.RowSpan="2"&amp;gt;
            &amp;lt;Grid.RowDefinitions&amp;gt;
              &amp;lt;RowDefinition Height="*"/&amp;gt;
              &amp;lt;RowDefinition Height="40"/&amp;gt;
            &amp;lt;/Grid.RowDefinitions&amp;gt;
            &amp;lt;Intersoft:UXGridView  x:Name="QingDanFeasureList"  AutoGenerateColumns="False"   Margin="0"
                                   FrozenColumnCount="2" StatusBarVisibility="Collapsed" QueryOperation="Server"
                                   CanUserPage="False"  AutoEditOperation="True" HorizontalAlignment="Stretch"
                                   VerticalAlignment="Stretch"&amp;gt;
              &amp;lt;!--StatusBarVisibility="Collapsed"  EnableRowVirtualization="True"--&amp;gt;
              &amp;lt;Intersoft:UXGridView.ResourceOverride&amp;gt;
                &amp;lt;Intersoft:UXGridViewResource BusyText="加载中" ContextMenu_CopyRow="复制行"/&amp;gt;
              &amp;lt;/Intersoft:UXGridView.ResourceOverride&amp;gt;
              &amp;lt;Intersoft:UXGridView.Columns&amp;gt;
                &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding SelectedItem.qdtz}"  Header="项目特征" /&amp;gt;
                &amp;lt;Intersoft:UXGridViewTextColumn Binding="{Binding SelectedItem.qdtz}" Header="特征描述" /&amp;gt;
                &amp;lt;Intersoft:UXGridViewCheckBoxColumn Binding="{Binding SelectedItem.iszb}" Header="显示" /&amp;gt;
                &amp;lt;Intersoft:UXGridViewCheckBoxColumn Binding="{Binding SelectedItem.iszb}" Header="换行" /&amp;gt;
              &amp;lt;/Intersoft:UXGridView.Columns&amp;gt;
            &amp;lt;/Intersoft:UXGridView&amp;gt;
            &amp;lt;StackPanel Margin="0,5,0,0" Grid.Row="1" Orientation="Horizontal"&amp;gt;
              &amp;lt;RadioButton Content="编辑清单特征" HorizontalAlignment="Center" VerticalAlignment="Center" IsChecked="True"  /&amp;gt;
              &amp;lt;RadioButton Content="编辑工作内容" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="10,0"  /&amp;gt;
              &amp;lt;Button Content="取子目名称" HorizontalAlignment="Left" Height="25" Margin="0" Width="62"/&amp;gt;
              &amp;lt;Button Content="清单特征管理" HorizontalAlignment="Right" Height="25" Margin="10,0,0,0" Width="80"/&amp;gt;
            &amp;lt;/StackPanel&amp;gt;
          &amp;lt;/Grid&amp;gt;
        &amp;lt;/Grid&amp;gt;
      &amp;lt;/Intersoft:UXTabItem&amp;gt;
      &amp;lt;Intersoft:UXTabItem Header="清单指引" Background="{StaticResource BlueBackGroud}" CornerRadius="2" HeaderDisplayMode="Content" Margin="0,0,3,0"&amp;gt;
      &amp;lt;/Intersoft:UXTabItem&amp;gt;
      &amp;lt;Intersoft:UXTabItem Header="超高费" Background="{StaticResource BlueBackGroud}" CornerRadius="2" HeaderDisplayMode="Content" Margin="0,0,3,0"&amp;gt;
      &amp;lt;/Intersoft:UXTabItem&amp;gt;
    &amp;lt;/Intersoft:UXTabControl&amp;gt;
  &amp;lt;/Intersoft:UXResizablePane&amp;gt;
&amp;lt;/Intersoft:DockPanel&amp;gt;
&amp;lt;/Grid&amp;gt;
&amp;lt;Intersoft:UXResizablePane Intersoft:DockPanel.Dock="Left" HeaderImage="/Images/Info.png"
                           ResizeDock="Right" Margin="2,2,0,2" CollapseAction="KeepContentVisible"
                           Visibility="{Binding OutlookMenuVisible}" EnableFadingAnimation="False"
                           MinWidth="38" Width="250" MaxWidth="400"  x:Name="LeftPane" Header="清单"&amp;gt;
  &amp;lt;Intersoft:UXResizablePane.HeaderBackground&amp;gt;
    &amp;lt;LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0"&amp;gt;
      &amp;lt;GradientStop Color="White"/&amp;gt;
      &amp;lt;GradientStop Color="#FFA0E1FD" Offset="1"/&amp;gt;
    &amp;lt;/LinearGradientBrush&amp;gt;
  &amp;lt;/Intersoft:UXResizablePane.HeaderBackground&amp;gt;
  &amp;lt;Intersoft:UXTabControl   Name="uXTabControl3" Margin="2" CornerRadius="2" SelectedIndex="{Binding SelectedLeftTabIndex,Mode=TwoWay}" TabStripPlacement="Bottom" &amp;gt;

    &amp;lt;Intersoft:UXTabItem Header="定额" Background="{StaticResource BlueBackGroud}" CornerRadius="2" HeaderDisplayMode="ContentAndImage"  Margin="0,0,3,0" HeaderImage="/Images/ClientUI_Silverlight.png" &amp;gt;

    &amp;lt;/Intersoft:UXTabItem&amp;gt;
    &amp;lt;Intersoft:UXTabItem Header="清单" Background="{StaticResource BlueBackGroud}" CornerRadius="2" HeaderDisplayMode="ContentAndImage" Margin="0,0,3,0" HeaderImage="/Images/ClientUI_Silverlight.png"&amp;gt;


      &amp;lt;Grid&amp;gt;
        &amp;lt;Grid.RowDefinitions&amp;gt;
          &amp;lt;RowDefinition Height="25"/&amp;gt;
          &amp;lt;RowDefinition Height="*"/&amp;gt;
        &amp;lt;/Grid.RowDefinitions&amp;gt;
        &amp;lt;Grid.ColumnDefinitions&amp;gt;
          &amp;lt;ColumnDefinition Width="*"/&amp;gt;
          &amp;lt;ColumnDefinition Width="80"/&amp;gt;
        &amp;lt;/Grid.ColumnDefinitions&amp;gt;
        &amp;lt;Button Content="查询" Name="SearchButton" Grid.Column="1" Height="19" Margin="0,2" VerticalAlignment="Top"/&amp;gt;
        &amp;lt;Intersoft:UXTextBox Name="SearchText"    Grid.Column="0" Margin="0,2"  /&amp;gt;
        &amp;lt;Intersoft:UXScrollViewer x:Name="TreeScrollView" Grid.Row="1" Grid.ColumnSpan="2" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" Margin="0,2"&amp;gt;
          &amp;lt;Intersoft:UXTreeView x:Name="SampleControl" ItemsSource="{Binding TreeViewItems}"
                                    CollectionMemberPath="Nodes" DisplayMemberPath="Name" SelectedValuePath="Name"
                                    SelectedItem="{Binding SelectedTViewItem, Mode=TwoWay}"
                                            
                                    Background="{x:Null}" AllowMoveItem="True" DragMode="Copy" DragDropTooltipText=""
                                    BorderThickness="0"&amp;gt;
            &amp;lt;Intersoft:UXTreeView.ItemContainerStyle&amp;gt;
              &amp;lt;Style TargetType="Intersoft:UXTreeViewItem"&amp;gt;
                &amp;lt;Setter Property="DisplayMemberPath" Value="Name" /&amp;gt;
                &amp;lt;Setter Property="CollectionMemberPath" Value="Nodes" /&amp;gt;
                &amp;lt;Setter Property="DisplayMode" Value="Content" /&amp;gt;
                &amp;lt;Setter Property="AllowMoveItem" Value="True"/&amp;gt;
                &amp;lt;Setter Property="DragMode" Value="Copy"/&amp;gt;
                &amp;lt;Setter Property="DragDropTooltipText" Value=""/&amp;gt;
              &amp;lt;/Style&amp;gt;
            &amp;lt;/Intersoft:UXTreeView.ItemContainerStyle&amp;gt;
          &amp;lt;/Intersoft:UXTreeView&amp;gt;
        &amp;lt;/Intersoft:UXScrollViewer&amp;gt;

      &amp;lt;/Grid&amp;gt;
    &amp;lt;/Intersoft:UXTabItem&amp;gt;
  &amp;lt;/Intersoft:UXTabControl&amp;gt;
&amp;lt;/Intersoft:UXResizablePane&amp;gt;
&amp;lt;/Intersoft:DockPanel&amp;gt;&lt;/pre&gt;

&lt;p&gt;&lt;span style="background-color: #fffce1; font-family: courier new"&gt;Question Two:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;We Set UXTreeView IsLoadOnDemand="True", LoadOnDemandMode="UseProcessedItem"  and AllowMoveItem="True";Set UXTreeViewItem AllowMoveItem="True";The Problem is that the item bulit on demand &lt;span space="" rightzone="0|9" leftzone="0|9"&gt;does not support&lt;/span&gt;&lt;span space="0| " rightzone="9|6" leftzone="9|6"&gt; drag.If UXTreeView's IsLoadOnDemand="False", the item &lt;span space="" rightzone="0|9" leftzone="0|9"&gt;support&lt;/span&gt;&lt;span space="0| " rightzone="9|6" leftzone="9|6"&gt; drag.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;Intersoft:UXTreeView x:Name="SampleControl" ItemsSource="{Binding TreeViewItems}"
                                            CollectionMemberPath="Nodes" DisplayMemberPath="Name" SelectedValuePath="Name"
                                            SelectedItem="{Binding SelectedTViewItem, Mode=TwoWay}"
                                            IsLoadOnDemand="True" BusyLatency="0.002" LoadOnDemandMode="UseProcessedItem"
                                            ExpandedItem="{Binding ExpandedTViewItem, Mode=TwoWay}"
                                            ProcessedItem="{Binding ProcessedTViewItem, Mode=TwoWay}"
                                            Background="{x:Null}" AllowMoveItem="True" DragMode="Copy" DragDropTooltipText=""
                                            BorderThickness="0"&amp;gt;
  &amp;lt;Intersoft:UXTreeView.ItemContainerStyle&amp;gt;
    &amp;lt;Style TargetType="Intersoft:UXTreeViewItem"&amp;gt;
      &amp;lt;Setter Property="DisplayMemberPath" Value="Name" /&amp;gt;
      &amp;lt;Setter Property="CollectionMemberPath" Value="Nodes" /&amp;gt;
      &amp;lt;Setter Property="DisplayMode" Value="Content" /&amp;gt;
      &amp;lt;Setter Property="AllowMoveItem" Value="True"/&amp;gt;
      &amp;lt;Setter Property="DragMode" Value="Copy"/&amp;gt;
      &amp;lt;Setter Property="DragDropTooltipText" Value=""/&amp;gt;
    &amp;lt;/Style&amp;gt;
  &amp;lt;/Intersoft:UXTreeView.ItemContainerStyle&amp;gt;
&amp;lt;/Intersoft:UXTreeView&amp;gt;&lt;/pre&gt;&lt;span style="background-color: #fffce1; font-family: courier new"&gt;Thanks for any enlightenment in advance.&lt;/span&gt; 
</description></item><item><title>Is UXGridView bindable to a heirachical data template?</title><link>http://www.intersoftsolutions.com/Community/Tags/uxgridview/</link><pubDate>Sat, 05 Nov 2011 01:17:09 GMT</pubDate><dc:creator>gavin</dc:creator><category>uxgridview</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;span style="font-family: 'times new roman', 'serif'; font-size: 12pt"&gt;We use Client UI 5.And we want to Bind Hierarchical Data to UXGridView like UXTreeView(see picture -expand before and after).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'times new roman', 'serif'; font-size: 12pt"&gt;Is UXGridView bindable to a heirachical data template?If so, can you provide an example soon.&amp;nbsp; Thanks.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'times new roman', 'serif'; font-size: 12pt"&gt;&lt;/span&gt; &lt;/p&gt;&lt;span style="font-family: 'times new roman', 'serif'; font-size: 12pt"&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;p&gt;Gavin&lt;/p&gt;&lt;/span&gt;</description></item><item><title>UXGridView Server Side Validation</title><link>http://www.intersoftsolutions.com/Community/Tags/uxgridview/</link><pubDate>Wed, 02 Nov 2011 05:19:23 GMT</pubDate><dc:creator>mg@hsig.ch</dc:creator><category>uxgridview</category><category>validation</category><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I use Client UI MVVM Data Application with RIA Services. I have added Atributes on Metadata Class, eg. DataAnnotations.RequiredAttribute&lt;/p&gt;&lt;pre&gt;[Required(ErrorMessage = "Eingabe erforderlich!")]
[StringLength(250, ErrorMessage = "Es sind max. 250 Zeichen erlaubt!")]
public string FQDN { get; set; }&lt;/pre&gt;

&lt;p&gt;When the Cell is empty, I get the Errormessage in UXGridView Footer and the row has a red background color. Please have a look at attached picture (1). This works fine.&lt;/p&gt;
&lt;p&gt;Now, I have to validate also on server side. In my case, the FQDN must be unique. So I have writ following method:&lt;/p&gt;&lt;pre&gt;public bool IsComputerFQDNRegistered(string fqdn)
{
    return _qmsEntities.Computer.Where(c =&amp;gt; c.FQDN == fqdn).Count() &amp;gt; 0;
}&lt;/pre&gt;

&lt;p&gt;In Insert and Update method, I call IsComputerFQDNRegistered, like this:&lt;/p&gt;&lt;pre&gt;public void InsertComputer(Computer computer)
{
    if (IsComputerFQDNRegistered(computer.FQDN))
    {
        ValidationResult error = new ValidationResult("FQDN ist bereits vorhanden!", new string[] { "FQDN" });
        throw new ValidationException(error, null, computer);
    }

    if ((computer.EntityState != EntityState.Detached))
    {
        _qmsEntities.ObjectStateManager.ChangeObjectState(computer, EntityState.Added);
    }
    else
    {
        _qmsEntities.Computer.AddObject(computer);
    }
}&lt;/pre&gt;

&lt;p&gt;Now I change one FQDN in UXGridView and leave the row to save the changes. I get a Errormessage (see UXGridViewErrorMessageValitationError.png). I would like display the ValidationResult ErrorMessage (FQDN ist bereits vorhanden). Where can I find this Info?&lt;/p&gt;
&lt;p&gt;After clicking OK on Errormessage, I can not see any errors in UXGridView. Only when I mark the row (with Errors) and change in edit mode, the Errormessage will displayed. But in the UXGridView Footer I can not see the message (please have a look at attached picture (2)). It is possible to change this behavoir? It would be great, when the background color would be red.&lt;/p&gt;
&lt;p&gt;Thanks for help&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;</description></item><item><title>UXGridView UpdateRow is not fired</title><link>http://www.intersoftsolutions.com/Community/Tags/uxgridview/</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>UXGridView: Visability UXMenuItem</title><link>http://www.intersoftsolutions.com/Community/Tags/uxgridview/</link><pubDate>Fri, 28 Oct 2011 04:47:14 GMT</pubDate><dc:creator>mg@hsig.ch</dc:creator><category>uxgridview</category><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I have added a new UXMenuItem to the UXGridViewContextMenuStyle in blend (see DuplicateRowCommand).&lt;/p&gt;&lt;pre&gt;&amp;lt;Style x:Key="UXGridViewContextMenuStyle" TargetType="Intersoft:UXGridViewContextMenu"&amp;gt;
    &amp;lt;Setter Property="Template"&amp;gt;
        &amp;lt;Setter.Value&amp;gt;
            &amp;lt;ControlTemplate TargetType="Intersoft:UXGridViewContextMenu"&amp;gt;
                &amp;lt;Grid x:Name="RootElement"&amp;gt;
                    &amp;lt;Intersoft:UXContextMenu x:Name="ContextMenuElement" IsOpen="{TemplateBinding IsOpen}"&amp;gt;
                        &amp;lt;Intersoft:UXMenuItem Command="local:UXGridViewContextMenuCommands.SortAscending" Header="{Binding ContextMenu_SortAscending, Source={StaticResource GridViewResource}}" Icon="/QMS;component/Assets/Images/16/sort_az_ascending2.png"/&amp;gt;
                        &amp;lt;Intersoft:UXMenuItem Command="local:UXGridViewContextMenuCommands.SortDescending" Header="{Binding ContextMenu_SortDescending, Source={StaticResource GridViewResource}}" Icon="/QMS;component/Assets/Images/16/sort_az_descending.png"/&amp;gt;
                        &amp;lt;Intersoft:UXSeparator x:Name="GroupSeparator"/&amp;gt;
                        &amp;lt;Intersoft:UXMenuItem Command="local:UXGridViewContextMenuCommands.GroupByBox" Header="{Binding ContextMenu_GroupByBox, Source={StaticResource GridViewResource}}" IsCheckable="True"/&amp;gt;
                        &amp;lt;Intersoft:UXMenuItem Command="local:UXGridViewContextMenuCommands.Group" Header="{Binding ContextMenu_Group, Source={StaticResource GridViewResource}}"/&amp;gt;
                        &amp;lt;Intersoft:UXMenuItem Command="local:UXGridViewContextMenuCommands.Ungroup" Header="{Binding ContextMenu_Ungroup, Source={StaticResource GridViewResource}}"/&amp;gt;
                        &amp;lt;Intersoft:UXSeparator x:Name="EditingSeparator"/&amp;gt;
                        &amp;lt;Intersoft:UXMenuItem x:Name="CopyRowItem" Command="local:UXGridViewContextMenuCommands.CopyRow" Header="{Binding ContextMenu_CopyRow, Source={StaticResource GridViewResource}}" Icon="/QMS;component/Assets/Images/16/clipboard_add.png"/&amp;gt;
                        &amp;lt;Intersoft:UXMenuItem Command="local:UXGridViewContextMenuCommands.Edit" Header="{Binding ContextMenu_Edit, Source={StaticResource GridViewResource}}" Icon="/QMS;component/Assets/Images/16/pencil.png"/&amp;gt;
                        &amp;lt;Intersoft:UXMenuItem Command="local:UXGridViewContextMenuCommands.Delete" Header="{Binding ContextMenu_Delete, Source={StaticResource GridViewResource}}" Icon="/QMS;component/Assets/Images/16/delete.png"/&amp;gt;
                        &amp;lt;Intersoft:UXMenuItem Command="local:UXGridViewContextMenuCommands.Update" Header="{Binding ContextMenu_Update, Source={StaticResource GridViewResource}}" Icon="/QMS;component/Assets/Images/16/check.png"/&amp;gt;
                        &amp;lt;Intersoft:UXMenuItem Command="local:UXGridViewContextMenuCommands.Cancel" Header="{Binding ContextMenu_Cancel, Source={StaticResource GridViewResource}}" Icon="/QMS;component/Assets/Images/16/delete.png"/&amp;gt;
                        &amp;lt;Intersoft:UXMenuItem Visibility="{Binding ElementName=CopyRowItem,Path=Visibility}" Command="{Binding DuplicateRowCommand}" CommandParameter="{Binding SelectedItem}" Header="Duplizieren" Icon="/QMS;component/Assets/Images/16/element_copy.png"/&amp;gt;
                        &amp;lt;Intersoft:UXSeparator x:Name="BatchUpdateSeparator"/&amp;gt;
                        &amp;lt;Intersoft:UXMenuItem Command="local:UXGridViewContextMenuCommands.SaveChanges" Header="{Binding ContextMenu_SaveChanges, Source={StaticResource GridViewResource}}" Icon="/Intersoft.Client.UI.Data;component/Resources/savechanges.png"/&amp;gt;
                        &amp;lt;Intersoft:UXMenuItem Command="local:UXGridViewContextMenuCommands.RejectChanges" Header="{Binding ContextMenu_RejectChanges, Source={StaticResource GridViewResource}}" Icon="/Intersoft.Client.UI.Data;component/Resources/rejectchanges.png"/&amp;gt;
                    &amp;lt;/Intersoft:UXContextMenu&amp;gt;
                &amp;lt;/Grid&amp;gt;
            &amp;lt;/ControlTemplate&amp;gt;
        &amp;lt;/Setter.Value&amp;gt;
    &amp;lt;/Setter&amp;gt;
&amp;lt;/Style&amp;gt;&lt;/pre&gt;

&lt;p&gt;&lt;br /&gt;It works great. I have only the problem that the menu item is always visible (see attached picture).&lt;/p&gt;
&lt;p&gt;A simple solution would be a visability-binding to CopyRow. But I am not so happy about this...&lt;/p&gt;&lt;pre&gt;&amp;lt;Intersoft:UXMenuItem x:Name="CopyRowItem" Command="local:UXGridViewContextMenuCommands.CopyRow" Header="{Binding ContextMenu_CopyRow, Source={StaticResource GridViewResource}}" Icon="/QMS;component/Assets/Images/16/clipboard_add.png"/&amp;gt;
&amp;lt;Intersoft:UXMenuItem Visibility="{Binding ElementName=CopyRowItem,Path=Visibility}" Command="{Binding DuplicateRowCommand}" CommandParameter="{Binding SelectedItem}" Header="Duplizieren" Icon="/QMS;component/Assets/Images/16/element_copy.png"/&amp;gt;&lt;/pre&gt;

&lt;p&gt;Can I find out which context menu (row or header) appears to control the visibility of items?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>UXGridView refresh button problem</title><link>http://www.intersoftsolutions.com/Community/Tags/uxgridview/</link><pubDate>Mon, 17 Oct 2011 02:09:41 GMT</pubDate><dc:creator>mg@hsig.ch</dc:creator><category>refresh</category><category>uxgridview</category><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;When I click the refresh button of UXGridView, the data is reloaded, but the view is not refreshed! Cache problem? How can I change this behavior?&lt;/p&gt;
&lt;p&gt;This is the response from domain service:&lt;/p&gt;
&lt;p&gt;000003B0  06 00 00 00 00 00 00 9F  02 1C 5B 01 5F 0E 50 72   ..........[._.Pr&lt;br /&gt;000003C0  6F 64 75 63 74 69 6F 6E  4C 69 6E 65 5F 04 48 69   oductionLine_.Hi&lt;br /&gt;000003D0  64 65 85 5F 02 49 44 99  24 32 35 64 61 30 33 33   de._.ID.$25da033&lt;br /&gt;000003E0  62 2D 37 31 38 61 2D 36  33 61 37 2D 62 37 31 33   b-718a-63a7-b713&lt;br /&gt;000003F0  2D 32 34 64 35 62 62 32  32 34 36 30 62 5F 04 4E   -24d5bb22460b_.N&lt;br /&gt;00000400  61 6D 65 99 09 53 4C 52  20 4C 69 6E 69 65 5F 07   ame..SLR Linie_.&lt;br /&gt;00000410  56 65 72 73 69 6F 6E 9E  06 00 00 00 00 00 00 9F   Version.........&lt;br /&gt;00000420  02 1C 5A 01 5F 0E 50 72  6F 64 75 63 74 69 6F 6E   ..Z._.Production&lt;br /&gt;00000430  4C 69 6E 65 5F 04 48 69  64 65 85 5F 02 49 44 99   Line_.Hide._.ID.&lt;br /&gt;00000440  24 64 39 62 36 66 37 35  65 2D 35 33 37 33 2D 34   $&lt;span style="color: #f79646"&gt;d9b6f75e-5373-4&lt;/span&gt;&lt;br /&gt;00000450  30 65 37 2D 39 33 34 64  2D 31 35 39 38 35 31 30   &lt;span style="color: #f79646"&gt;0e7-934d-1598510&lt;br /&gt;&lt;/span&gt;00000460  62 38 36 62 61 5F 04 4E  61 6D 65 99 07 58 58 58  &lt;span style="color: #f79646"&gt; b86ba&lt;/span&gt;_.Name..&lt;span style="background-color: #ffff00"&gt;XXX&lt;/span&gt;&lt;br /&gt;00000470  58 31 32 33 5F 07 56 65  72 73 69 6F 6E 9E 06 00   &lt;span style="background-color: #ffff00"&gt;X123&lt;/span&gt;_.Version...&lt;br /&gt;00000480  00 00 00 00 00 9F 02 27  1E 01 01 01 01            .......'.....&lt;/p&gt;
&lt;p&gt;The UXGridView shows still XXXX00. Have a look at attached picture. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;reproducible test steps:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;- Load data&lt;br /&gt;- Record changed directly into SQL DB (Simulation of multiuser application)&lt;br /&gt;- Refresh button clicked&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Environment:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;- SQL Server 2008 R2&lt;br /&gt;- Entity Framework 4&lt;br /&gt;- Domainservice (Ria Services)&lt;br /&gt;- ClientUI MVVM Business Application (Silverlight)&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Refresh Button works fine with "new item" and "delete item".  This behavior occurs only with "edit item".&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;</description></item></channel></rss>