Telerik Forums
UI for WPF Forum
6 answers
559 views
I'm looking for a simple way to increase the DropDown button width in the RadComboBox. I've seen a number of styling solutions that consist of like two or three hundred lines of XAML. Is there an easier way to achieve this?
Ivan Ivanov
Telerik team
 answered on 02 Jan 2017
0 answers
65 views
Hello,

I am using a RadGridView that has a column with a RadStacked100DataBar.

Such a RadStacked100DataBar consists of, say, 5 elements that are to represent proportions (shares). Some of these proportion tend to be tiny compared to the other ones, e.g. one of the proportion values is 1000 while another one is 1.

What happens is that when passing these values to the RadStacked100DataBar, the graphical sections corresponding to the tiny proportions don't get painted at all, which is perfectly understandable if the column width is less than 1000 pixels. However, for the sake of completeness I want even the smallest fraction to show up in my bar, even if the underlying value is too small to be rendered in the current solution (column width), e.g. using a width of 1 pixel.

Class RadStacked100DataBar has no mechanism that allows to specify a minimum display width for proportions that are too small to be drawn because of the current solution. I now need to work around that but have no clue how.
A dumb way would be to bind to the RadStacked100DataBar's "ActualWidth" property and then recompute the values passed to the RadStacked100DataBar, but this is impossible since "ActualWidth" is a read-only property.

Any idea?

Thanks & regards,
Christian

Christian
Top achievements
Rank 1
 asked on 02 Jan 2017
1 answer
79 views

Hi All,

    In the drop down area of an RadAutoCompleteBox, how could different datatemplates be automatically selected based on the current bound type, like what can be done for ListView? Thanks!

Nathan

Customer ID is: WP480921

Ivan Ivanov
Telerik team
 answered on 02 Jan 2017
0 answers
83 views

Hi Folks,

i am working with Pivot to build a prototype whether the Control is good for our requirements.

Is it possible to show a value (datatyp doesnt matter), as Information in a column without to be calculated?

When i add a field as column, the Pivot adds all values of that field as an own column. I want to add one column, that Shows the value of that field.

I made an example to Support my question.

 

Thanks for reading and help

David

David
Top achievements
Rank 1
 asked on 02 Jan 2017
15 answers
1.5K+ views
Hi All,

This is another issue we've started encountering only after the move to Q3 SP2 2009 (we were at Q3 2009 yesterday).

If, for example, we've defined a RadComboBox like so:
<telerik:RadComboBox SelectedValue="{Binding Setting}" 
                                  ItemsSource="{Binding PossibleValues,Mode=OneWay}" 
                                  SelectedValuePath="UniqueName" 
                                  DisplayMemberPath="FriendlyName" /> 

And we place a breakpoint in the Setting property's set function (noticed its bound to SelectedValue). Then every time the RadComboBox we get a call to set with a value of null. Similar things happen when binding to SelectedItem.

Oddly enough, we did not have this issue in Q3 2009 (re-tested today).

Any ideas?

Thanks,
yonadav
Ivan Ivanov
Telerik team
 answered on 02 Jan 2017
2 answers
116 views

Is any way to change the descriptionpanel as a tooltip ?

i wish  when hover at the property header the tooltip show the discription of the property

rui
Top achievements
Rank 1
 answered on 02 Jan 2017
1 answer
104 views

Hi,

I've got a DataForm with a QueryableEntityCollectionView as ItemSource.
The QueryableEntityCollectionView is filtered, the DataForm as a custom CommandProvider.

An exception occurs when DataForm.AddNewItem() is beeing hit. "An unhandled exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Data.dll" this is not happening when there is no filter active. Any idea why this is happening and how to have a filter active and add a new item?

Cheers! Eric

Ivan Ivanov
Telerik team
 answered on 30 Dec 2016
2 answers
78 views
It happened that we use Telerik.Windows.Documents.Model namespace for report generation. And I need "say" section (or paragraph) that it shouldn't contain page breaks. But as I understand Telerik.Windows.Documents.Model classes don't support keepTogeher property. Does workaround exist? Or am I wrong?
Vlad
Top achievements
Rank 1
 answered on 30 Dec 2016
3 answers
787 views

I have this style defined in the page resource

                <Style x:Key="MsgStatusStyle" TargetType="telerik:GridViewCell">
                    <Setter Property="Foreground" Value="Red" />
                    <Setter Property="HorizontalContentAlignment" Value="Left" />
                </Style>

I assign the style for a GridViewDataColumn as follows

                    <telerik:GridViewDataColumn DataMemberBinding="{Binding MsgStatus}" Header="Msg Status" UniqueName="MsgStatus" 
                                                IsReadOnly="True" IsVisible="{Binding  Data.GridColumns.MsgStatusIsVisible, Source={StaticResource proxy} , Mode=TwoWay}"
                                                DisplayIndex="{Binding  Data.GridColumns.MsgStatusOrder, Source={StaticResource proxy} , Mode=TwoWay}"
                                                SortMemberPath="MsgStatus" CellStyle="{StaticResource MsgStatusStyle}" >
                    </telerik:GridViewDataColumn>

But the foreground doesnt change to Red. If I change the property in the style definition to background that changes to red upon rendering.

Any idea why froeground color doesnt change ?

 

Ivan Ivanov
Telerik team
 answered on 30 Dec 2016
1 answer
88 views

I have a RadListBox with an ItemTemplate that contains a read-only RadNumericUpDown. When I click on the RadNumericUpDown, the list item is not selected. How can I make that happen?

 

Ivan Ivanov
Telerik team
 answered on 30 Dec 2016
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?