Telerik Forums
UI for WPF Forum
1 answer
165 views

WPF is all about the user experience. I'm developing a line of business application and need some working examples of a beautiful data entry form.

I'm planning on using a DataGrid and a modal window to add, view and edit records.

Here's an example of a great looking solution for Silverlight, but it's using a Popup control and not a modal window.

(Silverlight example is near bottom of this web page)

Click here for example of great looking data entry form for Silverlight

Yavor Georgiev
Telerik team
 answered on 05 Mar 2011
3 answers
259 views
Hi there, 

Is it possible to use HierarchicalDataTemplate in RadTreeListView? 
Here is the reason for my question above:

I have object structure as shown below:
1. Class A, it has collection of object of type Class B as one of its properties (in the hierarchy, object of type Class B will be Class A object's children)
2. Class B's has collection of object of type Class A as one of its properties and so on.(in the hierarchy, object of type Class A will be Class B object's children)

I notice that in order to use RadTreeListView, parent and children must be in the same type.
This scenario can be achieved using TreeView with two HierarchicalDataTemplate, but the requirement from customer needs column for each node in the tree view (like what RadTreeListView offers). So I'm thinking if we can use HierarchicalDataTemplate in RadTreeListView than we can solve the problem here.

Regards,

arinto

Vlad
Telerik team
 answered on 04 Mar 2011
7 answers
67 views

If RadDocking is docked, how can we force it to be on top of other windows in the application?

When i
set RadDocking as dockable, that time the Raddocking go behind the window. But i want to be on top of  any usecontrols.

Konstantina
Telerik team
 answered on 04 Mar 2011
4 answers
133 views
Hello,

Would anybody have a file sample of a RadDocking with a custom theme ?

cheers,

Neil
Konstantina
Telerik team
 answered on 04 Mar 2011
1 answer
592 views
Hi,

I've to set the background of a cell to a special color. I used the GridViewColumn.CellTemplate.
<telerik:GridViewColumn.CellTemplate>
             <DataTemplate>
                 <Grid Margin="0" Background="{Binding Converter={StaticResource MyFirstConverter}, UpdateSourceTrigger=PropertyChanged}">
                     <CheckBox IsChecked="{Binding ShouldDisplayCalendar, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" IsEnabled="False" />
                 </Grid>
             </DataTemplate>
         </telerik:GridViewColumn.CellTemplate>

My color works, but it doesn't use the whole size of the column. It's because the Grid doesn't take the full size of the column. I found that this is even present with ListView. A workaround is to set the to set HorizontalContentAlignment to stretch through the ItemContainerStyle.

I found example of that for ListView:

<ListView.ItemContainerStyle>
        <Style TargetType="ListViewItem">
                <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
        </Style>
</ListView.ItemContainerStyle>

My only problem is to find the "TargetType" I should put for the RadGridView:

<telerik:RadGridView.ItemContainerStyle>
    <Style TargetType="??????">
        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
    </Style>
</telerik:RadGridView.ItemContainerStyle>


Could you tell me what I need to put here?

Thank you
Vanya Pavlova
Telerik team
 answered on 04 Mar 2011
1 answer
102 views
When zooming or scrolling in a chart, the chart updates only after the mouse dragging the scrollbar/scrollbar handle is released. Is "live" chart updating during scrolling/zooming supported?
Ves
Telerik team
 answered on 04 Mar 2011
1 answer
143 views
Hello,

I am a designer and have recently been attempting to style the RadGridView column headers, but I am experiencing some issues.  I have attached a PNG screenshot of the issue I am having.

When I modify the Gradients on the "GridViewHeaderCell" style, all the fields that contain data change to the new style.  However, the leftover area that extends to the right retains the default style.

I modified all of the other color option that exist in the GridViewHeaderCell style with no success.  I have also changed all colors that exist on the "GridViewHeaderRow" style, but this still has no effect on the Grid.  I think I have changed the styles of every component that the RadGridView holds, but nothing has an effect on the portion of the datagrid that extends to the right.

Any suggestions or ideas on what may be causing this?

Thanks very much.
Vanya Pavlova
Telerik team
 answered on 04 Mar 2011
3 answers
454 views
Hello to all.
There are many days that I struggle with this problem, but without any results.
I'm trying to make a small GAUGE, but I always get the same error when I use it in another application outside of Visual Studio.
This thing only happens when I use usercontrol and not when I use it in an application.
The error that is plaguing me is:
The tag "RadialGuage" does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation'
Visual Studio does not by any error during compilation.
someone tell me what is it? or where I am wrong?
Thanks in advance.
<UserControl 
    mc:Ignorable="d"
    x:Name="UserControl" Width='Auto' Height='Auto'>
    <telerik:RadialGaug Name='radialGauge' Width='300' BorderBrush="Black" Foreground="Black" OuterBorderBrush="Black" FontSize="13.333">
        <telerik:RadialGauge.OuterBackground>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="White"/>
                <GradientStop Color="#FFD4D4D4" Offset="1"/>
                <GradientStop Color="Gainsboro" Offset="0.57"/>
                <GradientStop Color="#FFADADAD" Offset="0.57"/>
            </LinearGradientBrush>
        </telerik:RadialGauge.OuterBackground>
        <telerik:RadialGauge.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="#FF202020"/>
                <GradientStop Color="#FF767676" Offset="0.778"/>
                <GradientStop Color="Black" Offset="1"/>
                <GradientStop Color="Black" Offset="0.261"/>
            </LinearGradientBrush>
        </telerik:RadialGauge.Background>
        <telerik:RadialScale Center='0.5,0.5' EndWidth='0.1' FontFamily='Tahoma' FontSize='12' MaxWidth='Infinity' Name='radialScale' Radius='0.8' StartAngle='120' StartWidth='0.1' StrokeThickness='0' SweepAngle='300' Max='600' BorderThickness='0' LogarithmicBase='10' MajorTicks='30' MiddleTicks='3' MinorTicks='2' Multiplier='1' Foreground="White" BorderBrush="{x:Null}" Margin="0" FontWeight='Bold'>
            <telerik:RadialScale.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FF3E3C81" Offset="0"/>
                    <GradientStop Color="White" Offset="1"/>
                    <GradientStop Color="#FF5550F1" Offset="0.183"/>
                    <GradientStop Color="#FF5CFF3B" Offset="0.43"/>
                    <GradientStop Color="#FF0044EB" Offset="0.426"/>
                    <GradientStop Color="Black" Offset="0.983"/>
                    <GradientStop Color="#FF925021" Offset="0.665"/>
                </LinearGradientBrush>
            </telerik:RadialScale.Background>
            <telerik:RadialScale.MajorTick>
                <telerik:TickProperties FontStyle='Italic' />
            </telerik:RadialScale.MajorTick>
            <telerik:RadialScale.MiddleTick>
                <telerik:MiddleTickProperties Length='0.05' TickWidth='0.2' />
            </telerik:RadialScale.MiddleTick>
            <telerik:RadialScale.MinorTick>
                <telerik:MinorTickProperties Length='0.03' TickWidth='0.3' />
            </telerik:RadialScale.MinorTick>
            <telerik:IndicatorList Foreground="White" FontSize='8' FontWeight="Bold">
                <telerik:Needle IsAnimated='True' Name='needle' Value='0' ArrowBorderBrush="Black" />
            </telerik:IndicatorList>
        </telerik:RadialScale>
    </telerik:RadialGauge>
</UserControl>
 
Andrey
Telerik team
 answered on 04 Mar 2011
1 answer
67 views
Hello I was wondering if there is funcionality in  the chart or if I have to it myself

My collection looks like this
Month |  Value
1        |    10
2         |    10
3         |    5
4         |   15

I want the chart to display the following
1         | 10
2         | 20
3          | 25
4          | 40


Now I can do these calculations somewhere in my code before binding. But then I would have to add properties. because the tooltips should show the collection values.
Yavor
Telerik team
 answered on 04 Mar 2011
1 answer
45 views
I am getting a strange behaviour when resizing the linear gauge, when I scale it vertically, the scale increases it's width, even though other elements only increase it's height.

Let me know if you need a source code for that.
Andrey
Telerik team
 answered on 04 Mar 2011
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?