Telerik Forums
UI for WPF Forum
2 answers
133 views
Is there a way to autogenerate Groups in a similar manner as autogenerating tiles?
Maya
Telerik team
 answered on 27 Oct 2014
2 answers
151 views
In the first attached screenshot, I have 6 BarSeries (all with the same values for the data).  5 series are stacked in 2 groups (using the stack key). The sixth series has a combine mode of Clustered.   You can see where the Clustered series is much wider than the stacked series.  In the second screenshot, I have 3 BarSeries. 2 are Clustered and 1 is Stacked. In this case, the Stacked BarSeries is the one that is wider than the other series.  I am using a point template for BarSeries, but it is not doing anything with the width (It's a Border).  Is the width difference purposeful, or is this a bug?
Mitchell
Top achievements
Rank 1
 answered on 27 Oct 2014
1 answer
101 views
Is it possible to scroll to a particular day in week and month view definition.

vikas
Nasko
Telerik team
 answered on 27 Oct 2014
5 answers
401 views
Hi,
is it somehow possible to declare the telerik theme so that the controls would have their theme set in designer also?

I'm already setting theme code behind in Application_Startup like

StyleManager.ApplicationTheme = new Expression_DarkTheme();

But I would like to set the theme application wide so that I could see the rad controls wiht the dark theme also in design mode.

Best regards,
Niklas
Vanya Pavlova
Telerik team
 answered on 27 Oct 2014
1 answer
106 views
I am trying to use IResource to create custom resources but can not make it work no appointments are displayed, all the resources are displayed in the group headers but no appointments, I have created a class that inherits from IResource and i am setting all the properties (resource name, resource type and display name), I am loading appointments from xaml just like the demo examples and there are i am using my custom class as resource.
I even added group and appointment filter to see what is wrong but they are never even called.

If i use simple Resource class then every thing works

Thanks
vikas
Yana
Telerik team
 answered on 27 Oct 2014
2 answers
202 views
I have this message while printing a particular PDF: https://drive.google.com/file/d/0BzXenGGVXpm3Nm9jUDNlTXRGNG8/view?usp=sharing

The error stack is:

System.ArgumentNullException was unhandled
Message: An unhandled exception of type 'System.ArgumentNullException' occurred in Telerik.Windows.Zip.dll
Additional information: Value cannot be null.

Other PDF prints fine. How do I resolve it ? Any suggestion on what to look at ?

Other information:
----------------
Teleriks RadControls version 2014.2.729.40
Telerik.Windows.Zip.dll: version 2014.2.729.40
ASP.NET 4.0
Visual Studio 2013
Windows 7 x64
Kammen
Telerik team
 answered on 27 Oct 2014
1 answer
386 views
I am having problem in binding to the Datacontext at viewdefinition level, It works if i create my viewmodel in xaml and set the DataContext of the grid using staticresource, but if i set the datacontext to the window in code behind it does not work

            <schedule:RadScheduleView.ViewDefinitions>
                <schedule:DayViewDefinition GroupFilter="{Binding GroupFilter2}"/>
                <schedule:WeekViewDefinition GroupFilter="{Binding GroupFilter2}"/>
                <schedule:MonthViewDefinition GroupFilter="{Binding GroupFilter2}"/>
            </schedule:RadScheduleView.ViewDefinitions>

----------- this does not work, does no bind to Group Filter -----------------
public MainWindow()
        {
            InitializeComponent();
            this.DataContext = new ViewModel();
        }


----------- this works -------------------

<Window.Resources>
        <local:ViewModel x:Key="ViewModel" AppointmentsSource="/Schedule;component/Appointments.xaml" />
<Grid x:Name="mainGrid" DataContext="{StaticResource ViewModel"> 
Kalin
Telerik team
 answered on 27 Oct 2014
3 answers
158 views
I think it would be cool to have the filtered choices in my combobox to have the matching text highlighted.

For example:
[at         ]
Documentation
Ultimate
Administrator
Cat in the Hat

Any suggestions on how to go about this?
Kalin
Telerik team
 answered on 27 Oct 2014
6 answers
430 views
Hi,

Is it possible to put the selectcolumn or check box into the Group Header?

When the check box in the group header is selected, I will like all the select columns(checkboxes) ticked of the items within the groups.

and when any item in the group is unchecked, I would like the check box in group header is unchecked as well.

When the group has subgroups, I also want the subgroup checkbox to be checked when I loop through them using group.subgroups.

In the case, how could I grad a reference to the checkbox in the subgroup row?

Am I using the right approch with the code below?

<telerik:RadGridView.GroupHeaderTemplate>
               <DataTemplate>
                   <StackPanel Orientation="Horizontal">
                       <CheckBox Click="RadGridViewGroupRowClicked" Margin="0 0 3 0"/>
                       <TextBlock Text="{Binding Group.Key}" />
                   </StackPanel>
               </DataTemplate>
           </telerik:RadGridView.GroupHeaderTemplate>



           private void RadGridViewGroupRowClicked(object sender, System.Windows.RoutedEventArgs e)
        {
            var groupViewModel = (sender as CheckBox).DataContext as GroupViewModel;
            var isChecked = (bool) (sender as CheckBox).IsChecked;
  
            CheckUncheckRows(isChecked, groupViewModel);
        }
  
        public void CheckUncheckRows(bool isChecked, GroupViewModel groupViewModel)
        {
            CheckUncheckItems(isChecked, groupViewModel.Group); 
        }
  
        public void CheckUncheckItems(bool isChecked, IGroup group)
        {
            if (group.HasSubgroups)
            {
                foreach (var subgroup in group.Subgroups)
                {
                    CheckUncheckItems(isChecked, subgroup);
                }
            }
            else
            {
                foreach (var item in group.Items)
                {
                    if (isChecked)
                    {
                        baseToTargetGridView.SelectedItems.Add(item);
                    }
                    else
                    {
                        baseToTargetGridView.SelectedItems.Remove(item);
                    }
                }
            }
        }


Thanks,

Yu
Inger Marie
Top achievements
Rank 1
 answered on 27 Oct 2014
4 answers
426 views
Hi,

i use the TabControl and i want to change the Style of the Header like the attached pic.
How can ein solve this?
As you can see there is a space before the first TabItem and in the BAckground you
can see some Information and some buttons.

THanks a lot
Best Regards
Rene
ITA
Top achievements
Rank 1
 answered on 26 Oct 2014
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?