Telerik Forums
UI for WPF Forum
1 answer
108 views
Hi,

I ask if is possible to obtain this scenario:

1) A ChartPanAndZoomBehavior with zoom bar enabled and zoom mouse drag rectangle disabled
2) Allow mouse drag rectangle for points selection

Thank's
marc.
Rosko
Telerik team
 answered on 11 Jul 2013
1 answer
223 views
Hi. Trying to figure out the best way to have a RadListBox which supports internal reordering, and dragging in from an external source (files from Explorer). I'm a bit confused by the available parts: ListBoxDragDropBehavior, DragDropManager, DataConverter and the various events directly on RadListBox.

What SHOULD I do?
George
Telerik team
 answered on 10 Jul 2013
3 answers
61 views
Hi,

I have a RadDaraFilter that has been bounded to a RadDataGrid.
The columns of table are (Name, LName, Tel) in SQL, So, the radDatafilter has been shown ("Name, LName, Tel").

How I could change the field of radDataFilter from "Name" to "Person's Name" or from "LName" to "Last Name", Please?
Thanks

Dimitrina
Telerik team
 answered on 10 Jul 2013
3 answers
119 views
Hi There,

I have the following two requirements:

1. Wanted to add help as a menu item to RadContextMenu item this will be a default menu item, i wanted to do it using a style/controltemplate.

2. wanted to enable Radcontextmenu by default so help will display on all controls when ever user right clicks on any control.

can you please tell me how i can do this?

Thanks in advance.

Regards,
Srinivas.
Rosen Vladimirov
Telerik team
 answered on 10 Jul 2013
2 answers
93 views
Hi.
I have 7 items in my carouselPanel. It begins to 'carouse' in the middle, so the first item is items[4].
How can i change that, it will always scroll from right to left, with first item, and do something like:
[] -> [] -> [] -> [] -> [] - last item, rewind and again

Regards
Paweł
Top achievements
Rank 1
 answered on 10 Jul 2013
1 answer
894 views
hi, I've new to telerik for WPF. Now i am going to develop a multi-touch campus map for guiding.
My code for the image as follows, but error is"Could not find a part of the path 'D:\campus_floorplan;component\images\directory_level1.png'."
Code:
private void get(int i)
        {
            
           
                ImageBrush b = new ImageBrush();

                switch (i)
                {
                   

                    case 1:
                        {
                            b.ImageSource = new BitmapImage(new Uri("/campus_floorplan;component/images/directory_level1.png", UriKind.Relative));
                            b.Stretch = Stretch.Uniform;
                            this.Background = b;
                        };
                        break;
                    case 2:
                        {
                            b.ImageSource = new BitmapImage(new Uri("/campus_floorplan;component/images/directory_level2.png", UriKind.Relative));
                            b.Stretch = Stretch.Fill;
                            this.Background = b;
                        };
                        break;
                    case 3:
                        {
                            b.ImageSource = new BitmapImage(new Uri("/campus_floorplan;component/images/directory_level3.png", UriKind.Relative));
                            b.Stretch = Stretch.Fill;
                            this.Background = b;
                        };
                        break;
                    case 4:
                        {
                            b.ImageSource = new BitmapImage(new Uri("/campus_floorplan;component/images/directory_level4.png", UriKind.Relative));
                            b.Stretch = Stretch.Fill;
                            this.Background = b;

                        };
                        break;
}
            }
 private void level1_touchdown(object sender, TouchEventArgs e)
        {
            radMap.Visibility = Visibility.Collapsed;
            this.get(1);

        }
  So how to get the correct path for image??
Hope you can help me.
Thank you very much.
 
        
Anna
Telerik team
 answered on 10 Jul 2013
1 answer
162 views
In GofFocus and LostFocus of NumericUpDown, I've changed the Value of NumericUpDown.
The value changes but no changes is displayed in UI.
If I do some actions that refreshes the UI, (like minimize and restore my window, or show a MessageBox in mentioned events or...) the UI updated.
What should I do?
Kalin
Telerik team
 answered on 10 Jul 2013
3 answers
218 views
Hello Telerik team

I have managed to style my rad grid view in WPF accordingly , however when grouping by a column the expanded row has an empty space on the far left which doesn't seem to be a part of any style (see attached file for mentioned left space and the resulting ugly contrast of colors). Can you  please let me know where is this space defined (template ?) and how can I style it ?

Thanks in advance

Kind Regards


Windows 7
WPF dev in .NET 4
Telerik Version 2012.1.402
Dimitrina
Telerik team
 answered on 10 Jul 2013
4 answers
210 views
Hi telerik,

I am confused how to use RadGridView with VirtualQueryableCollectionView in order for data virtualization, but some issues encountered when I insert a new item, let me clarify.

I use the below code to set datacontext of a window, 
var query = _context.Taxes.OrderBy(o => o.TaxID); //Order_Details.OrderBy(o => o.OrderID);
           var view = new VirtualQueryableCollectionView(query) {LoadSize = 10 };
           DataContext = view;

but there are some specified points, the Tax table only have 7 records, those records can show in grid correctly,but if I use blow code for inserting a new item,
           
private void Button_Click(object sender, RoutedEventArgs e)
    {
        (DataContext as VirtualQueryableCollectionView).AddNew(new Tax() { TaxCode = "45",TaxPercentage2 = 0.34f });
    }

this new item will not display in grid expect adding this statement
         
(DataContext as   VirtualQueryableCollectionView).VirtualItemCount++;

But executing this statement will refresh the collection and grid,  I don't want to do this. so my questions are
1. How can I show all records if called insert statement?
2. How to save a new records to database? 
I did this using below statements currently:
         
(DataContext as  VirtualQueryableCollectionView).Insert(0, newItem);
           context.CreateObjectSet<TValue>().AddObject(newItem);
           context.SaveChanges();

if I can add use VirtualQueryableCollectionView's AddNew/AddNewItem/Insert add a item to VirtualQueryableCollectionView and then call someone method to save it to database directly without needing executing context.CreateObjectSet<TValue>().AddObject(newItem);
? if yes, could you provide a sample project for me? thanks very much.
Dimitrina
Telerik team
 answered on 10 Jul 2013
1 answer
72 views
Hi,

I have a scatterchart with lots of datapoints.
Values from -100 % to 3 000 000 %.

When I apply zoom to one or more points, the zoom are gets totally wrong.
For example the zoom area could be set to -200 % -400 %; even though I zoom on a point that had a positive number.

This issue applies to both axes, every time I zoom.

Any ideas?
Petar Marchev
Telerik team
 answered on 10 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?