Telerik Forums
UI for WPF Forum
5 answers
214 views
Hi,

We are using the RadGridView in our project and we have also made use of the lightweight templates to try and improve the slow load times of the grid. However, after implementing the lightweight templates we appear to have lost the gridlines. Is there anyway to get the gridlines back when using the templates?

Thanks
Vanya Pavlova
Telerik team
 answered on 11 Nov 2013
1 answer
127 views
I have attached two pictures to demonstrate the issue.

The grid lines represent 1 minute intervals.

The first image shows the appointment being sized or dragged and it displays the start time and end time (2 to 3 minutes)

The second image shows the result when the appointment appears on the timeline.
Notice it is not aligned with the grid lines (should be between tick marks 2 and 3), I am not sure how to solve this offset problem..

Any help would be appreciated.
Rosi
Telerik team
 answered on 11 Nov 2013
5 answers
139 views
Hello,

I have a RadComboBox (from the Q3/2013 release) with say 10 items and I am using the Windows8TouchTheme. On my win8.1 tablet the scrolling of the dropdown list is very (very, very) slow, when I swipe over the items. First nothing happens, then it scrolls a few items down or up. When I swipe over the scrollbar the performance is normal as expected.

Any ideas?

Erik
Alek
Telerik team
 answered on 11 Nov 2013
4 answers
175 views
I need to position all child of  RadTileList to the center, I already try with HorizontalContentAlignment and set it to Center the content (i mean the child) still positioned on the left, why is that happen
Vanya Pavlova
Telerik team
 answered on 11 Nov 2013
3 answers
168 views
Hello, i have a problem with background color of RadTabControl.
My project is using WPF. I have used RadTabControl and have some Tabs. For example i have a tab with a Grid. In the Grid i have some RadTextBox, RadComboBox  and RadExpander. When i change the theme to Expression_Black in runtime, the themes of RadTextBox and RadComboBox will be changed automatically. But the Background colors of RadExpander and TabItems will not be changed.
Do i need to do something special for TabItems and RadExpander?
Thanks!
Ivan
Top achievements
Rank 1
 answered on 11 Nov 2013
1 answer
122 views
i want to have an vertical line which should move inside the graph.

according to the image , the vertical line(intersection) should move freely , inside the graph
Petar Marchev
Telerik team
 answered on 11 Nov 2013
2 answers
163 views
I touched on this topic in my last thread, but I'd like to ask this question in a more clear manner.

Is there a way to turn off the auto-sizing feature of the diagram containers?

Essentially I'd like to be able to specify the dimensions of a container regardless of its children. This would dramatically ease the rotation issues I've been seeing as they are all tied to the container resizing itself during moving/rotation operations.

Thanks!
Tim
Top achievements
Rank 1
 answered on 08 Nov 2013
2 answers
145 views
In my scenario, I have an unknown number of ranges at run time. So, I have to create them in code, set their properties, and add them to a scale. I need to move the range well inside of the scale, so I use the ScaleObject.Location and ScaleObject.Offset properties to achieve that look. Below is a sample window's xaml showing a single gauge (windows 8 implicit style)
<Window
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="NoXamlTest.MainWindow"
        Title="MainWindow" Height="274" Width="426">
 
     
    <Grid>     
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
         
        <Button Width="75" Height="23" Click="Button_Click" Content="Default"/>
         
        <!-- NE quadrant -->
 
        <telerik:RadQuadrantNEGauge Grid.Row="1">
            <telerik:QuadrantNEScale Min="1" Max="5" MajorTicks="4" MiddleTicks="1">               
                <telerik:QuadrantNEScale.Indicators>
                    <telerik:Needle Value="3.28" OffPosition="0"/>                                         
                    <telerik:Pinpoint/>
                </telerik:QuadrantNEScale.Indicators>
                 
                <telerik:GaugeRange x:Name="MyGaugeRange" Min="1" Max="5"
                    StartWidth=".05"
                    EndWidth=".05"
                    Stroke="Black"
                    StrokeThickness="1"
                    telerik:ScaleObject.Location="Inside"
                    telerik:ScaleObject.Offset="0.15*"                                 
                    >                                      
                    <telerik:GaugeRange.Background>
                        <LinearGradientBrush StartPoint="0,0" EndPoint="1,0">
                            <GradientStop Offset="0" Color="Green"/>
                            <GradientStop Offset="1" Color="Red"/>
                        </LinearGradientBrush>
                    </telerik:GaugeRange.Background>                   
                </telerik:GaugeRange>
                                 
            </telerik:QuadrantNEScale>
        </telerik:RadQuadrantNEGauge>
         
    </Grid>
</Window>


In case these things are important, there are some oddities in Expression Blend (2012) when changing the ScaleObject properties: Blend does not recognize the change until the project is built, using the ScaleObject properties causes Blend to not display the indicator. Here is the designer in Blend (after the project is built) where you can see that the range is in the expected location:





Here is the windows actually running (where the indicator is visible).





My real issue is that I have to set those ScaleObject properties in code. So, I remove the xaml above that sets the ScaleObject properties & instead set them in code when the button at the top of the window is clicked.  That code is:



private void Button_Click(object sender, RoutedEventArgs e)
{
    GaugeRange range = FindName("MyGaugeRange") as GaugeRange;
    range.SetValue(ScaleObject.LocationProperty, ScaleObjectLocation.Inside);
    range.SetValue(ScaleObject.OffsetProperty, new GaugeMeasure( 0.15, GridUnitType.Star));
}


The result is that nothing happens.  Am I doing something wrong, or is there a different way to move the range the way I want via code?



Thanks - Mitch



Mitchell
Top achievements
Rank 1
 answered on 08 Nov 2013
8 answers
212 views
Hello :)

I have a question: How can I make bigger the toggle button generated by the GridViewToggleRowDetailsColumn. 
Is it possible?
I hope you can help me.

Best regards,
Jorge Alberto
Technique
Top achievements
Rank 1
 answered on 08 Nov 2013
3 answers
96 views

After the last update I did for my telerik products I started getting error reports from my user base. I didn't change anything to do with the carousel on my last release. I am attaching the error in a png file, let me know if anyone has any ideas. I have also had a long standing issue with the carousel where I change the selected item from code behind and if I have more than 5 items in the carousel, the third item will be brought to the top instead of the selected item. I do have code that I use to make sure that the items stay in view. But I can't see why the carousel is changing position, I had to set my selected item to null and then to the value I wanted it to be. So the carousel changes to the third item in the list then after setting it to null and back to my item it will select it properly.


Thank you

Vera
Telerik team
 answered on 08 Nov 2013
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?