Telerik Forums
UI for WPF Forum
4 answers
123 views
There is sample code in the docs for hiding the match case button here: 
http://www.telerik.com/help/silverlight/gridview-how-to-hide-match-case.html

It appears to be out of date as this code does not build.  I get the following error: 
Cannot apply indexing with [] to an expression of type 'System.Collections.Generic.IEnumerable<System.Windows.Controls.Primitives.ToggleButton>'

For this line of code in the docs:
 ((StringFilterEditor) sender).ChildrenOfType<ToggleButton>()[0].Visibility = Visibility.Collapsed;

Any ideas how to accomplish this with the latest build of the gridview control?
Mohammad
Top achievements
Rank 1
 answered on 29 Nov 2012
1 answer
186 views
Hi,

I am trying to setup a form that will validate whether a combo box (as well as other inputs) is filled or not.  It seems that the Binding of RadComboBox only happens after PropertyChanged or LostFocus.  What if the input hasn't been touched by the user at all - hence the binding couldn't be triggered?

I can't seems to get it to work.  Please help.

Cheers~
Vladi
Telerik team
 answered on 29 Nov 2012
0 answers
85 views
Hello! Is there way to get default font family from theme for controls like Label, TextBlock etc?

Maybe you have predefined styles for Header/Outline/Simple text controls(Font family, size, color)?
Vladimir
Top achievements
Rank 1
 asked on 29 Nov 2012
1 answer
263 views
Hello, someone could help me with my graphics viewing, I have attached two images to demonstrate what happens, as I have a value over 9000 other minors are not displayed.

Sorry Google Translator :D
Petar Marchev
Telerik team
 answered on 29 Nov 2012
9 answers
483 views
Hi,

I visited your Q3 2011 features site and I'm happy to see that barcode will be included in your tool set soon. Nonetheless, I am disappointed to see that 2-d codes especially QR-code is not included. I really hope that the support for QR-code will be included in the release.

Can you share the roadmap for barcode tool? Thanks.

Zaly
Markus Hopfenspirger
Top achievements
Rank 2
 answered on 29 Nov 2012
1 answer
454 views
Hello,
is it possible to put the language file (Telerik.Windows.Controls.resources.dll) in a other directory

default is;
<apppdirectory>\de
<apppdirectory>\it ...

and i like to put it in 
<apppdirectory>\res\de
<apppdirectory>\res\it

is that possible?

thanks

Remco





Maya
Telerik team
 answered on 28 Nov 2012
1 answer
230 views
Hi,

Is there a way to change font color with RGB and can apply custom color not just the pre programmed one?

Thanks,

Pat
Petya
Telerik team
 answered on 28 Nov 2012
3 answers
82 views
Hi,

Is there a bug with the latest version of RadRichTextBox UI (2012.3.1017.4) where blank spaces at the end of a page continue to follow the same line rather than drop to the line beneath?

This behaviour is not experienced when typing text, only blank spaces using the space bar.

Please see my attached screenshots for a better example of what I'm referring to.

Thanks,

Rob
Robert
Top achievements
Rank 1
 answered on 28 Nov 2012
10 answers
217 views
Hello!   Using Q1 2012.

I'm trying to set default values for the period bindings and am having some difficulty with VisiblePeriodStart.  This guy just doesn't want to get set even though they are in the right order and two-way bound.  Suggestions?

View:
<telerik:RadTimeBar Height="150" Margin="40,20,40,40" telerik:StyleManager.Theme="Windows7"
                            PeriodStart="{Binding PeriodStart, Mode=TwoWay}"
                            PeriodEnd="{Binding PeriodEnd, Mode=TwoWay}"
                            VisiblePeriodStart="{Binding VisibleStart, Mode=TwoWay}"
                            VisiblePeriodEnd="{Binding VisibleEnd, Mode=TwoWay}"
                            SelectionStart="{Binding SelectionStart, Mode=TwoWay}"
                            SelectionEnd="{Binding SelectionEnd, Mode=TwoWay}"
                            >
 
            <telerik:RadTimeBar.Intervals>
                <telerik:YearInterval />
                <telerik:MonthInterval />
                <telerik:DayInterval />
            </telerik:RadTimeBar.Intervals>
 
            <telerik:RadAreaSparkline ItemsSource="{Binding TimeBarData}" XValuePath="Date" YValuePath="Total" telerik:StyleManager.Theme="Windows7" AutoRange="False" />
        </telerik:RadTimeBar>

ViewModel:
public class ViewModel
    {
        public ObservableCollection<DetailTimeBarModel> TimeBarData { get; private set; }
 
        public DateTime PeriodStart { get; set; }
        public DateTime PeriodEnd { get; set; }
        public DateTime VisibleStart { get; set; }
        public DateTime VisibleEnd { get; set; }
        public DateTime SelectionStart { get; set; }
        public DateTime SelectionEnd { get; set; }
 
        public ViewModel()
        {
            TimeBarData = new ObservableCollection<DetailTimeBarModel>
                              {
                                  new DetailTimeBarModel {Date = DateTime.Now.AddDays(-20), Total = 5},
                                  new DetailTimeBarModel {Date = DateTime.Now.AddDays(-18), Total = 1},
                                  new DetailTimeBarModel {Date = DateTime.Now.AddDays(-16), Total = 3},
                                  new DetailTimeBarModel {Date = DateTime.Now.AddDays(-14), Total = 7},
                                  new DetailTimeBarModel {Date = DateTime.Now.AddDays(-12), Total = 6},
                                  new DetailTimeBarModel {Date = DateTime.Now.AddDays(-10), Total = 3},
                                  new DetailTimeBarModel {Date = DateTime.Now.AddDays(-8), Total = 12},
                                  new DetailTimeBarModel {Date = DateTime.Now.AddDays(-6), Total = 6},
                                  new DetailTimeBarModel {Date = DateTime.Now.AddDays(-4), Total = 3},
                                  new DetailTimeBarModel {Date = DateTime.Now.AddDays(-2), Total = 3},
                                  new DetailTimeBarModel {Date = DateTime.Now.AddDays(0), Total = 2}
                              };
 
            PeriodStart = TimeBarData.Min(x => x.Date);
            PeriodEnd = TimeBarData.Max(x => x.Date);
            VisibleStart = PeriodEnd.AddDays(-10);
            VisibleEnd = PeriodEnd;
            SelectionStart = PeriodEnd.AddDays(-2);
            SelectionEnd = PeriodEnd;
        }
    }
 
    public class DetailTimeBarModel
    {
        public DateTime Date { get; set; }
        public int Total { get; set; }
    }

fgjd
Top achievements
Rank 1
 answered on 28 Nov 2012
1 answer
279 views
Hello,

I'm using an instance of RadListBox with Windows7 theme.

By default, a thin blue border appears around the selected listbox item - which I do not want. Rather, I would prefer to change the background color of the listbox item when it is selected.

How can I achieve this?
George
Telerik team
 answered on 28 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?