Telerik Forums
UI for WPF Forum
4 answers
124 views
Hi Again,
I am using the grouping feature of the GridView and have just discovered some odd behavior when editing.  I am using version 2013.2.611.40.
Refer to the attached image for an illustration of the behavior.  My GridView has two columns, the first of which is read only.  When I tab to the second column and hit F2 it enters edit mode as expected.  When I tab out of the cell, the next row is repositioned as the top row in the group and the previous first row is now at the bottom of the group.  This behavior persists with each tab.  In addition if I escape (twice) out of the edit all keyboard navigation ceases to work; tab (shift tab) and all arrow keys.  If I use the mouse to move to another cell, the navigation begins to work again; however the repositioning of the rows continues.  I have been unable to reproduce this behavior in the Telerik Demos, so I am at a total loss as to what could be causing this.  Obviously, I must find a solution to this.  Below is the xaml for the GridView. 

<telerik:RadGridView x:Name="AccountGroupsGridView"
                     HorizontalAlignment="Stretch"
                     VerticalAlignment="Stretch"
                     Width="{Binding ElementName=LayoutRoot, Path=ActualWidth}"
                     Height="{Binding ElementName=LayoutRoot, Path=ActualHeight}"
                     ScrollViewer.VerticalScrollBarVisibility="Auto"
                     ScrollViewer.HorizontalScrollBarVisibility="Auto"
                     IsSynchronizedWithCurrentItem="True"
                     AutoGenerateColumns="False"
                     VerticalGridLinesBrush="Transparent"
                     AlternationCount="2"
                     AlternateRowBackground="AliceBlue"
                     CanUserDeleteRows="True"
                     CanUserInsertRows="True"
                     ColumnWidth="*"
                     ShowGroupPanel="False"
                     RowIndicatorVisibility="Collapsed"
                     Focusable="False"
                     ItemsSource="{Binding Path=AccountGroups}">
    <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn x:Name="AccountGroupCodeColumn"
                                    UniqueName="AccountGroupCodeColumn"
                                    Header="{x:Static localProperties:Resources.Account_Group_Code}"
                                    DataMemberBinding="{Binding Path=AccountGroupCode,
                                        Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                    Width="200"
                                    IsReadOnly="False"
                                    IsFilterable="False"
                                    IsGroupable="False"
                                    IsSortable="False"
                                    IsResizable="False"
                                    ShowFieldFilters="False"
                                    ShowFilterButton="False"
                                    ShowDistinctFilters="False">
        </telerik:GridViewDataColumn>
        <telerik:GridViewDataColumn x:Name="DescriptionColumn"
                                    UniqueName="DescriptionColumn"
                                    Header="{x:Static localProperties:Resources.Description}"
                                    Width="*"
                                    DataMemberBinding="{Binding Path=Description,
                                        Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                    IsFilterable="False"
                                    IsGroupable="False"
                                    IsSortable="False"
                                    ShowFieldFilters="False"
                                    ShowFilterButton="False"
                                    ShowDistinctFilters="False">
        </telerik:GridViewDataColumn>
    </telerik:RadGridView.Columns>
    <telerik:RadGridView.GroupDescriptors>
        <telerik:GroupDescriptor Member="AccountCategory.CategoryName" />
    </telerik:RadGridView.GroupDescriptors>
 
</telerik:RadGridView>



Note: In the image you'll notice that I have restyled to look of the GridView; however all I did was change brushes and did not introduce any new behavior. 

Thanks in advance,
Steve
Steve
Top achievements
Rank 1
 answered on 18 Jul 2013
1 answer
347 views
Hi,
We have a requirement of binding the RadGridView with dynamic data.  Whenever a new data comes in, I am assigning that data like this
public ICollectionView SampleView{get;set;}

// ViewModel where dynamic data gets updated.
this.SampleView =new CollectionViewSource { Source = dummyCollection}.View;

In XAML
<telerik:RadGridView Grid.Row="0"
 
 ItemsSource ="{Binding SampleView}" 
/>
This is the way I am binding the itemssource, but the UI is not getting bound. Kindly help.
Dimitrina
Telerik team
 answered on 18 Jul 2013
1 answer
89 views
Hi,

I'm using Prism and MEF to inject my views into RadPanes.  Everything works great, with one exception... if a pane is unpinned (i.e. it is just a tab) when the application starts up, when I mouse over the tab or click to pin, the pane has no content.  I can pin/unpin a pane that already has content without issue.

It's a reasonable guess that because the pane is not active on startup, no content is injected, and then it doesn't know to inject the content on mouse-over or when pinning that pane.

What event at the pane level can I track to know when a pane is now being displayed from a hidden state (both on mouse over, and on click)?  In this way I think I could detect that a pane has no content and request a navigation to that region.

Alternatively, is there a way to have even hidden or unpinned panes be 'Active' so they load content?

George
Telerik team
 answered on 18 Jul 2013
7 answers
149 views
Hi,
Is there any way to integrate the DataFormValidationSummary control with the RadGridView?
Thanks in advance,
Steve
Maya
Telerik team
 answered on 18 Jul 2013
3 answers
111 views
Hi All,

Do we have some sample DragDrop from Datagrid to ScheduleView? Just from Datagrid to ScheduleView,no need DragDrop back to Datagrid.

Thanks.
Kalin
Telerik team
 answered on 18 Jul 2013
2 answers
194 views
Hi!

We need to make a complex custom shape (please see attached png). It is composed of many different geometries and brushes. Plus, we have to draw it dynamically from code because it should be drawn according to some properties (nb of floors, number of Windows, etc...), so we c'ant use a xaml to describe the shape.

In our current home made diagram control, shapes derive from visualdrawing and we use the drawingcontext in conjunction with GeometryDrawing object.

Now, we are evaluating Telerik diagram control. Would this be possible? How would you achieve this ?

Any infos appreciated, thanks !

David
David
Top achievements
Rank 1
 answered on 18 Jul 2013
3 answers
158 views
Hello,

I have GridView that has a RowDetailsTemplate specified.

I am trying to figure out how to force the row in a GridView into Edit Mode when the user is editing a property that is displayed in the Row Details template of that row.  The GridView properly goes into Edit Mode when I edit a cell in the row, but not when I am in the Row Details.

Any help is appreciated.

Thanks.

James
Dimitrina
Telerik team
 answered on 18 Jul 2013
5 answers
594 views
Is there a way to set the position of the timeline on the gantt to a specific date?

For example, if the VisibleRange is set to:
this.VisibleRange = new DateRange(this.today.AddYears(-1), this.today.AddYears(1));

On a button click, I want to be able to position the timeline to DateTime.Today.

Anyone have any suggestions?
Ventzi
Telerik team
 answered on 18 Jul 2013
1 answer
83 views
Hi,
     
    I am using rad cartesian chart. In these, i am able to create charts and everything. However, I want to apply two colors for the same series i.e. some part of series is red and some part is blue like that. I am able to accomplish this with Bar series by creating different DataTemplates.
   I need same functionality for the line series, Area Series etc. Could you please help me regarding this issue.
Than You in Advance. 
Evgenia
Telerik team
 answered on 18 Jul 2013
1 answer
118 views
Hi,
    We are using RadBarCode in RadTabStrip. The bar code gets displayed in the Tab 1 but not in the Tab 2 in IE8. I herewith attached the code block.
<div>
       <telerik:RadTabStrip runat="server" ID="rtsPlantDescription" Orientation="HorizontalTop"
           Skin="Transparent" SelectedIndex="0" MultiPageID="rmpPlantDescription">
           <Tabs>
               <telerik:RadTab Text="Tab 1">
               </telerik:RadTab>
               <telerik:RadTab Text="Tab 2">
               </telerik:RadTab>
           </Tabs>
       </telerik:RadTabStrip>
   </div>
   <telerik:RadMultiPage runat="server" ID="rmpPlantDescription" SelectedIndex="0" Width="100%">
       <telerik:RadPageView runat="server" ID="rpvGeneralView">
           <telerik:RadBarcode runat="server" ID="RadBarcode1" Type="Code128" ShortLinesLengthPercentage="90"
               Text="TAG-123458" ShowText="true" Font-Size="16" OutputType="SVG_VML" ShowChecksum="true"
               RenderChecksum="true" >
           </telerik:RadBarcode>
       </telerik:RadPageView>
       <telerik:RadPageView runat="server" ID="rpvIdentificationView">
           <div>
               <telerik:RadBarcode runat="server" ID="rbcBarCode" Type="Code128" ShortLinesLengthPercentage="90"
                   Text="TAG-123458" ShowText="true" Font-Size="16" OutputType="SVG_VML" ShowChecksum="true"
                   RenderChecksum="true" >
               </telerik:RadBarcode>
           </div>
       </telerik:RadPageView>
   </telerik:RadMultiPage>

note: Works fine with Chrome
Yavor
Telerik team
 answered on 18 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?