Telerik Forums
UI for WPF Forum
4 answers
98 views
Hi there,

Has anyone attempted to use the Telerik Radcontrols with the techniques and patterns presented in the Microsoft Composite Application Library? I'm interested in using the docking manager, ribbon control and chart controls from Radcontrols in a dual-deployed WPF/Silverlight app, but am very interested in employing the techniques presented in CAL to give a nicely decoupled, super maintainable distributed system. 

Any thoughts on this?
Thanks,
Andrew
Valentin.Stoychev
Telerik team
 answered on 04 Feb 2010
1 answer
75 views
We would like to use the GridView control in our application to display and edit the information for Tasks associated with Projects for a Customer. Each task may have subtasks that are associated with it (for example, "Task A" has subtasks "Task A1" and "Task A2". There are fields to be loaded into the GridView that would need to be maintained at the Main Task level ("Task A") and there are fields that need to be maintained at the Sub Task Level ("Task A1" or "Task A2"). However, when we group the data in the GridView by Main Task, the Sub Tab rows are expandable but the Main Task level doesn't display any of the data associated with the Data record. It shows as a seperate line in the Sub Task area. Is it possible to have the Main Task level retain the columns and the ability to edit it while also having the Sub Task rows be expandable beneath it?

Any information would be greatly appreciated.

Thanks.

TWBS
Pavel Pavlov
Telerik team
 answered on 04 Feb 2010
8 answers
324 views
I have the following problem:

I open big window with a radgrid. and when i resize the window (reduce the width) the grid's margins is outside the window.
It happens with all grids. I tried to "play" with width, max width etc but it doesn't help

See attached file.

This is the code for opening the window

        private int resolutionWidth = 1920;
        private int resolutionHeight = 1200;

            var mainWindow = new TaskbarRadWindow
            {
                Content = contect,
                Header = title,
                WindowState = WindowState.Normal,
                Width = resolutionWidth,
                Height = resolutionHeight,
                MaxWidth = resolutionWidth,
                MaxHeight = resolutionHeight,
            };

Thanks,
Ofer
ofer alper
Top achievements
Rank 1
 answered on 04 Feb 2010
1 answer
212 views
My intention is to use the 'DisplayValueHolder.DisplayValue' for the filter list user interface and 'DisplayHolder.ID' for creating a query which will return the filtered data.

        public class DisplayValueHolder
        {
             public string ID{get;set;}
             public string Value{get;set;}
        }

Is it possible to use the GridView's 'DistinctValuesLoading' event to return a collection of objects like DisplayValueHolder  which contains different values for display and the data?

Nikhil

Rossen Hristov
Telerik team
 answered on 04 Feb 2010
1 answer
138 views

Using a radial gauge that has a scale of 0 to 12, and a radialrange of 10 to 12. I get the following problems. The needle is not pointing to the right tick...is always off...like 4 will point to almost 4.5. Also the radialrange is off as well, it start around 10.3 instead of 10.

Anybody has seen this kind of issue? This is with 2009 Q3 SP1


<

 

telerik:RadGauge Width="150" Height="150" Margin="628.459,0,575.115,71.681" Name="radGauge1" VerticalAlignment="Bottom" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">

 

 

 

<telerik:RadialGauge>

 

     

<telerik:RadialScale Name="radialScale" Min="0" Max="12">

 

         

<telerik:IndicatorList>

 

            

<telerik:Needle x:Name="needle" Value="4"/>

 

         

</telerik:IndicatorList>

 

 

         <telerik:RangeList>

 

             

<telerik:RadialRange Min="10"

 

                             

Max="12.0"

 

                             

Location="OverCenter"

 

                             

StartWidth="0.1"

 

                             

EndWidth="0.1"

 

                             

Background="Red"

 

                             

BorderBrush="Red"

 

                             

StrokeThickness="1"

 

                             

TickBackground="White"/>

 

 

         </telerik:RangeList>

 

     

</telerik:RadialScale>

 

 

</telerik:RadialGauge>
</telerik:RadGauge>

 

 

 

 

 

Ves
Telerik team
 answered on 04 Feb 2010
1 answer
138 views
This should be an easy thing to solve, yet I can't find any info about it. How do I set the distance or padding between items in the RadCarousel (not RadCarouselPanel)?
Vlad
Telerik team
 answered on 04 Feb 2010
1 answer
595 views
Hello,

In my view model, LogEntries is declared as this:

    public class LogServiceViewModel : INotifyPropertyChanged, IDisposable        
    {        
        public ObservableCollection<CmsLogEntry> LogEntries = new ObservableCollection<CmsLogEntry>();     
    } 

I set the DataContext to my view model in the window constructor. All other data binding (aside from the grid) works at this point.

When I create a binding to LogEntries in xaml it doesn't work:

<telerik:RadGridView Name="gridView" ItemsSource="{Binding LogEntries}" AutoGenerateColumns="True"

But when I create a method wrapper to return the collection and bind in the window constructor code behind, it does:

Collection wrapper method
    public class LogServiceViewModel : INotifyPropertyChanged, IDisposable        
    {        
        public ObservableCollection<CmsLogEntry> LogEntries = new ObservableCollection<CmsLogEntry>();     
    
        public ObservableCollection<CmsLogEntry> GetLogEntries()     
        {     
                return LogEntries;     
        }     
    } 

Binding (XAML):

<telerik:RadGridView Name="gridView" AutoGenerateColumns="True"

Binding (Window constructor):

        public MainWindow()  
        {  
            _logServiceModel = new LogServiceModel();  
            _logServiceViewModel = new LogServiceViewModel(_logServiceModel);  
            DataContext = _logServiceViewModel;  
 
            gridView.ItemsSource = _logServiceViewModel.GetLogEntries();  
        }  
 

I really was hoping to avoid polluting the code behind as much as possible to create bindings to my view model. I've looked at the docs and don't see an example of this, but am surprised to find that this isn't supported. I must be doing something wrong. Anyone have any ideas? Thanks!

Tony
Tony
Top achievements
Rank 1
 answered on 04 Feb 2010
7 answers
304 views
Hello,

As I am attempting to replace my stock WPF TabControl's with RadTabControl's it seems that the RadTabControl does not have a  IsSynchronizedWithCurrentItem property - which is especially useful when binding to observable collections.  Am I missing something simple, or do I need to actually implement this functionality as one would in Silverlight?

Thanks,
Mark.
Ariel Gonzalez
Top achievements
Rank 1
 answered on 03 Feb 2010
2 answers
104 views
Basically we have these related objects and I would like to compose a row in the grid at runtime pulling data from multiple objects at once. Sort of like a composite row where say 50% of columns are pulling data from obj 1 and the other 50% from object 2.

I know I can compose a facade obj and bind to those properties and even at runtime I can create a dynamicobject and bind a collection of these in the grid but I am trying to avoid that.

Also it 'works' nice if I use a single row view pulling data from two objects - but once I need to bind to two collections which are synched up that's where I'm stuck.
Any thoughts/ideas on how to accomplish that?
wojciech sobocinski
Top achievements
Rank 1
 answered on 03 Feb 2010
4 answers
779 views
Is there a way to disable the MouseWheel scrolling in the treeview?
David
Top achievements
Rank 1
 answered on 03 Feb 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?