Telerik Forums
UI for WPF Forum
9 answers
251 views

Hey,



We have a business object that implements IDataErrorInfo. The Grid validate just the visible cells. If a column that it is not visible (the user needs to scroll) has error, the entire row shows as a valid row. Just when to user scroll (horizontally) the row display as a invalid row.



see the attached screen shots.



Any idea how to fix this?



Thanks,

Mano



















Yoan
Telerik team
 answered on 22 May 2014
1 answer
118 views
Hi.

My chart is good work in function

But I have one problem.

The problem is processing velocity. (at Database Load & save Series list)

So, I want to make loading process.

I attached a file.

Martin Ivanov
Telerik team
 answered on 22 May 2014
5 answers
363 views
Hi,

I am using a Telerik tree. I want to drag a node from one parent on the tree to another. When I start dragging, I create a custom cursor with text to show what node I am dragging. When I do this, I see the cursor I want when I start dragging, but as I move my mouse, the cursor disappears and the default cursor (arrow with small square) appears. How can I disallow this cursor from overriding mine?

I know my cursor is there because if I deliberately fail to reset the cursor, I can see my custom cursor when I complete the drop.

How do I prevent the default arrow/square cursor from taking precedence over my cursor?

Thanks
Petar Mladenov
Telerik team
 answered on 22 May 2014
3 answers
184 views
PivotGrid is absolutely amazing. One issue we are running into, however, is the PivotFieldList displays all the properties of the objects in the collection. Is there a way, similar to RadGridView, to hide or prevent certain fields from appearing in the list? There is very little documentation on it. Is the only solution to create a DTO object that exposes only the properties you want?
Rosen Vladimirov
Telerik team
 answered on 22 May 2014
3 answers
528 views
I have searched and searched, but cannot figure out how to have each bar in each series be a different color from the bound palette per category.  Is this doable?  It appears so if you manually create each series, but my series are dynamic.  Attached is the markup for my chart control in its current state.

I also cannot get the smart labels to do anything.  I'm not sure if I have declare the strategy correctly or not.

<telerik:RadCartesianChart Palette="{Binding Palette}"
                                      telerik:ChartSeriesProvider.IsDynamicSeries="True"
                                      TooltipTemplate="{StaticResource BarChartTemplate}"
                                      HoverMode="FadeOtherSeries">             
               <telerik:RadCartesianChart.SmartLabelsStrategy>
                   <telerik:ChartSmartLabelsStrategy/>
               </telerik:RadCartesianChart.SmartLabelsStrategy>
               <telerik:RadCartesianChart.VerticalAxis>
                   <telerik:LinearAxis LabelFormat="N2"/>
               </telerik:RadCartesianChart.VerticalAxis>
               <telerik:RadCartesianChart.HorizontalAxis>
                   <telerik:CategoricalAxis />
               </telerik:RadCartesianChart.HorizontalAxis>
               <telerik:RadCartesianChart.SeriesProvider>
                   <telerik:ChartSeriesProvider Source="{Binding BarData}">
                       <telerik:ChartSeriesProvider.SeriesDescriptors>
                           <telerik:CategoricalSeriesDescriptor ItemsSourcePath="ChartData"
                                                                ValuePath="Value"
                                                                CategoryPath="Category">
                               <telerik:CategoricalSeriesDescriptor.Style>
                                   <Style TargetType="telerik:BarSeries">
                                       <Setter Property="CombineMode"
                                               Value='Cluster' />                                     
                                   </Style>
                               </telerik:CategoricalSeriesDescriptor.Style>
                           </telerik:CategoricalSeriesDescriptor>
                       </telerik:ChartSeriesProvider.SeriesDescriptors>
                   </telerik:ChartSeriesProvider>
               </telerik:RadCartesianChart.SeriesProvider>
           </telerik:RadCartesianChart>
Cameron
Top achievements
Rank 1
 answered on 21 May 2014
1 answer
89 views
I'm sorry to say this but, your documentation is lacking for the Diagram.  I start an example but it doesn't give me enough to actually get any success.

From your documentation, I created the following class.  Can you please tell me how I would link all of the nodes created in the loop to the baseN node?  Linking is not covered in this scenario and I can't find documentation or examples on the ObservableGraphSourceBase to understand it:
public class ItemNodes :
    ObservableGraphSourceBase<NodeViewModelBase,
        LinkViewModelBase<NodeViewModelBase>>
{
    public ItemNodes()
    {
        ItemNode baseN = new ItemNode("Base");
        this.AddNode(baseN);
 
        for (int i = 0; i < 10; i++)
        {
            ItemNode n1 = new ItemNode(String.Format("Item {0}", i));
            this.AddNode(n1);
            this.CreateLink(baseN, n1);
        }
    }
 
    public override void AddNode(
        NodeViewModelBase node)
    {
        if (!(node is ItemNode))
        {
            node = new ItemNode("New Item!");
        }
 
        base.AddNode(node);
    }

Joel Palmer
Top achievements
Rank 2
 answered on 21 May 2014
1 answer
85 views
When a user selects an item in the GridView, my application needs to select all others of the same type.  This part is working, the problem I'm having is when the user selects an item of a different type (which I detect in the SelectionChanging event) - I'm unable to clear the existing selection while in the SelectionChanging() event. 

I call GridView.SelectedItems.Clear(), but (I assume because I am in the SelectionChanging event) nothing happens.  Is this a bug, and is there a workaround to clear the GridView selection while in a SelectionChanging event?  Thanks.
Yoan
Telerik team
 answered on 21 May 2014
4 answers
211 views
Working with version 2014.1.224.45. mvvm pattern.

I have a grid inside a tileview.  The grid has its own vert/horiz scrollbars.  with respect to the horizontal scrollbar, there are more columns than what the screen can show so the horiz scroll kicks in.

Now as the user enters data and tabs through the cells, eventually they land in a cell that is off the visible part of the grid (e.g. the right hand side of the columns).  is there anyway to force the grid's scroll bar to scroll to the right so that the cell being edited (tabbed into) will be visible?

we tried a couple of things (my developer did) and no luck.  Perhaps we missed the mark on this one?

Any ideas?
Robert
Top achievements
Rank 1
 answered on 21 May 2014
1 answer
541 views
Hi,

i try to add some png to a custom shape gallery, but without andy success.

MyGallery secondGallery = new MyGallery { Header = "Shapes" };
secondGallery.Shapes.Add(new Switch
{
    SN = "000",
    Content = "Start",
    Height = 50,
    Width = 50,
    Backcolor = "#319b47",
    Forecolor = "#ffffff",
    Geometry = ShapeFactory.GetShapeGeometry(CommonShapeType.EllipseShape),
    Manufacturer = "Manufacturer 2.2"               
});

But i want to set an image instat of Gemoetry. Can you tell me how?

Thanks
Best Regrads
Rene
Martin Ivanov
Telerik team
 answered on 21 May 2014
3 answers
301 views
Hi Guys

I was wondering, is it possible to bind a Collection to a Spreadsheet? For eg if I had a collection ObservableCollection<string> MyCollection , I would be able to bind this a GridView like this -> radGridView1.ItemSource = MyCollection;

Is this type of binding possible with the Spreadsheet control?

Thanking you in advance!

Darryl Chetty
Petya
Telerik team
 answered on 21 May 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?