Telerik Forums
UI for WPF Forum
11 answers
274 views
Hi,
I have followed the Open Access dsw tutorial (http://www.telerik.com/help/openaccess-orm/getting-started-root-quickstart-wpf-overview.html) so that I have generated only a single .generated.cs from one view on my SQL server.

How do I link this to the RadGridView? I have tried following your tutorials, however, a severe lack of skills on my part, has proven this to be a difficult task to carry out. If would also be great if I could display the filters for each heading as well.

Cheers. Any help is appreciated.

Regards, Al.
PetarP
Telerik team
 answered on 04 Jul 2011
1 answer
179 views

Hello

Is there option to span the header of the grid on two columns?

Best regards

Ehud

Pavel Pavlov
Telerik team
 answered on 04 Jul 2011
4 answers
127 views
Hi,
I've got an error when i try to group my data by using the drag an drop of one of the columnheader. The only thing noticeable is there is two grids binded over one ListCollectionView because the same data are displayed in several place in my application.
I've made a little sample to reproduce the problem, just drag the Name colum header to the group panel or click on it to sort the datas.

I don't understand what's happen :(

- Ced -
public class MainViewModel : ViewModelBase
{
    public MainViewModel()
    {
        this.Items = new ObservableCollection<Toto>();
        this.Items.Add(new Toto { Name = "AAAA", Num = 0 });
        this.Items.Add(new Toto { Name = "BBBB", Num = 1 });
        this.Items.Add(new Toto { Name = "CCCC", Num = 1 });
        this.Items.Add(new Toto { Name = "DDDD", Num = 0 });
        this.Items.Add(new Toto { Name = "EEEE", Num = 1 });
        this.Items.Add(new Toto { Name = "FFFF", Num = 0 });
 
        this.ItemsList = new ListCollectionView(this.Items);           
    }
 
    private ObservableCollection<Toto> Items { get; set; }
    public ListCollectionView ItemsList { get; private set; }
}
 
public class Toto : ViewModelBase
{
    private string name;
    public string Name
    {
        get { return name; }
        set { name = value; this.RaisePropertyChanged("Name"); }
    }
 
    private bool isSelected;
    public bool IsSelected
    {
        get { return isSelected; }
        set { isSelected = value; this.RaisePropertyChanged("IsSelected"); }
    }
 
    private int num;
 
    public int Num
    {
        get { return num; }
        set { num = value; }
    }
         
}
 
<Window x:Class="MvvmLight1.MainWindow"
        Title="MainWindow"
        Height="300"
        Width="400">
    <Window.Resources>
        <ResourceDictionary>
            <Style TargetType="{x:Type telerik:GridViewRow}"
                   x:Uid="Style_6">
                <Setter x:Uid="Setter_19"
                        Property="IsSelected"
                        Value="{Binding IsSelected, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
                <Style.Triggers>
                    <Trigger x:Uid="Trigger_3"
                             Property="IsSelected"
                             Value="True">
                        <Setter x:Uid="Setter_20"
                                Property="Background"
                                Value="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" />
                    </Trigger>
                </Style.Triggers>
            </Style>
        </ResourceDictionary>
    </Window.Resources>
 
    <StackPanel>
        <Grid x:Name="LayoutRoot"
              HorizontalAlignment="Stretch"
              VerticalAlignment="Stretch">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>
            <telerik:RadGridView AutoGenerateColumns="true"
                                 HorizontalContentAlignment="Stretch"
                                 VerticalContentAlignment="Stretch"
                                 Name="Grid1"
                                 SelectionMode="Extended"
                                 ScrollViewer.IsDeferredScrollingEnabled="True"
                                 EnableRowVirtualization="True"
                                 RowDetailsVisibilityMode="Collapsed"
                                 ItemsSource="{Binding ItemsList}"/>
 
            <telerik:RadGridView Grid.Column="1"
                                 AutoGenerateColumns="true"
                                 HorizontalContentAlignment="Stretch"
                                 VerticalContentAlignment="Stretch"
                                 Name="Grid2"
                                 SelectionMode="Extended"
                                 ScrollViewer.IsDeferredScrollingEnabled="True"
                                 EnableRowVirtualization="True"
                                 RowDetailsVisibilityMode="Collapsed"
                                 ItemsSource="{Binding ItemsList}"/>
        </Grid>
    </StackPanel>
</Window>
Cedric
Top achievements
Rank 1
 answered on 04 Jul 2011
0 answers
128 views
RadGridView is showing the unwanted horizontal scroll bar when it is empty and then maximize or restore my application in original size, a horizontal scroll bar appears or when i am try to scroll it then it disappears.....
Zaheer
Top achievements
Rank 1
 asked on 04 Jul 2011
0 answers
130 views
RadGridView is showing the unwanted horizontal scroll bar when it is empty and then maximize or restore my application in original size, a horizontal scroll bar appears or when i am try to scroll it then it disappears.....
Zaheer
Top achievements
Rank 1
 asked on 04 Jul 2011
2 answers
353 views
Hi !

I'm new to RadScheduleView WPF, so i'm sorry for the simple question.

I'm using ScheduleView in a WPF Browser Application.

I get the Appointments and Resrouces from a Webservice - works good.

But the Appointments should all have different Backgroundcolor, which I also get from the Webservice (as ARGB Integer Value)

My Problem now: I don't understand how to apply the Backgroundcolor to an Appointment.
I need to change the color programatically.
I only can change the color of a TimeMarker of an Appointment but that's not enough (it's only a small color icon at the left side of an appointment).

I found a Description about the StyleSelector, but the Problem is, there are so many different kind of colors which I cannot predefine
in the xaml file, and the colors are not depending on any resources or categories.

Can you help me with this problem ?

with best regards
Markus
Markus
Top achievements
Rank 1
 answered on 04 Jul 2011
5 answers
301 views
Hi

I am trying to override template for Rad Date Picker but in themes folder I can only find template for Rad Date Time Picker. I don't know if I should apply that template on RadDataPicker. Even if I extract template using Blend (ver. 3) I still get template for  Rad Date Time Picker.

Also Windows 7 themes distributed with setup RadControls_for_WPF_35_2011_1_0419_Dev are out of date for some controls and image resources are missing.

Regards,
Igor
Dani
Telerik team
 answered on 04 Jul 2011
1 answer
207 views
hi,

I have this chart...

How can I
hide or remove the gray lines in the image indicated by the red arrow?


Thanks for yours supports

Marco
Marco
Top achievements
Rank 1
 answered on 04 Jul 2011
1 answer
94 views
Hi,
is it possible to show a datatable in the RadChart-control? It seems to be possible when using ASP.NET, like here:

http://www.telerik.com/help/aspnet-ajax/radchart-plot-area-data-table.html

But with the WPF-version I do not find any way to accomplish that.

Regards,
Wolfgang
Evgenia
Telerik team
 answered on 04 Jul 2011
2 answers
77 views
Hello,

I am trying to acomplish the following with the RadGridView for WPF 4.0
  • Change the height and font of the header and footer rows.
  • Change the colour of the scroll bars to help them to stand out
  • Add an "expand all" and "collapse all" button to allow the user to manipulate groups in the grid all at once.

Thanks for any help!
John

John
Top achievements
Rank 1
 answered on 03 Jul 2011
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?