Telerik Forums
UI for WPF Forum
1 answer
153 views
HI,

I'm trying to style my RadGridView row based upon a style as detailed in the example at the following address:-

http://blogs.telerik.com/blogs/posts/09-02-03/how_to_use_custom_row_layouts_in_radgridview_for_wpf.aspx

However, my application refuses to compile as it does not recognize the ColumnName property used in the GridViewCell tag.

I've looked at the GridViewCell object in the object browser and cannot see the property there either. Has this been replaced with some other method of referencing the column from within a style?

Many thanks,
Peter.
Vlad
Telerik team
 answered on 04 Feb 2010
4 answers
142 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
95 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
392 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
256 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
174 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
166 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
668 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
421 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
147 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
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?