Telerik Forums
UI for WPF Forum
3 answers
399 views
Hello,

i saw online the telerik video over Telerik RadControls and using Prism. I found it great and checked any articles in the web. But now i am not sure what is actually the right choice for me?

I would like to develop a bigger business app with wpf and silverlight ui for win7/8 for a logistic company. Perhaps later an ui for tablets and smartphones.

Is the framework Prism still state of the art or does a framework like Caliburn.Micro or MVVM light better fit the needs of an actual windows app?

What is the experience of telerik and yours here in the forum?
The telerik sample demo app in my trial use prism as base right?
So is it still telerik's favorit?

Could you say that it is not wrong to start in 2012 still with prism to develop a business app for the ms plattform?

Thank you in advance.

Many Greetings Sascha
Sascha
Top achievements
Rank 2
 answered on 03 May 2013
3 answers
445 views
Hi,

how do i style the RadMenuItem? Foreground, Font-Family, FontSize,...?
<telerik:RadMenuItem Header="Einkauf" Background="Transparent" Command="{Binding AddItemCommand}" VerticalAlignment="Center"  HorizontalAlignment="Left" HorizontalContentAlignment="Center" FontFamily="DicotMedium" FontSize="18">
        <telerik:RadMenuItem.Icon>
                 <Image Width="16" Height="16" Margin="0" Source="Style/Images/cockpit.png"  />
        </telerik:RadMenuItem.Icon>
        <telerik:RadMenuItem Command="{Binding AddItemCommand}" CommandParameter="Tab1" Header="Tab 1" />
        <telerik:RadMenuItem Command="{Binding AddItemCommand}" CommandParameter="Tab2" Header="Tab 2" />
</telerik:RadMenuItem>

Thanks
Best Regards Rene
Hristo
Telerik team
 answered on 02 May 2013
1 answer
89 views
Hello,
I want to create a custom theme for ScheduleVIew matching my application. I have tried this tutorial "http://www.telerik.com/help/silverlight/common-styling-apperance-themes-custom-theme-project.html", but it seems like outdated. Telerik.Windows.Controls.Theme class doesn't have a Source property. Do you have any latest links for creating custom theme ?
Konstantina
Telerik team
 answered on 02 May 2013
1 answer
199 views
Hi there

I've a radpane that contains a usercontrol with a gridview and some buttons. 
The radpanegroup is set that it can't be dragged and the dragdropmode is deferred.
<t:RadPaneGroup AllowDrop="False" t:ProportionalStackPanel.RelativeSize="200,300">
<t:RadPane x:Name="Ticket" Header="Ticket" CanFloat="False" CanUserClose="False" CanDockInDocumentHost="False"
CanUserPin="False" t:RadDocking.SerializationTag="Ticket"  ContextMenuTemplate="{StaticResource PaneContextMenuTemplate}">
  <uc:TicketUserControl DataContext="{Binding TicketViewModel}" />
</t:RadPane>
</t:RadPaneGroup>


The problem is when I click in the usercontrol and start dragging, the radpane 'starts dragging'. On the attached picture, you can see that the name of the radpane appears at the bottom, but the radpane itself does not show that it is being dragged. That on itself is not a big problem. the big problem is when I do this on an item (a row) in the gridview. When I do this, sometimes the whole radpane disappears. And only restarting the program will reset the radpane. 
So I guess that it is possible to drag the usercontrol (and with the usercontrol, also the radpane), even when the radpane is not.

Is this a bug or is there a property that I have to set on the usercontrol or radpane to eliminate this behavior?

Thanks in advance
Lowie
Konstantina
Telerik team
 answered on 02 May 2013
1 answer
140 views
Hi,

I would like to show the RibbonView menu entries for customizing the Ribbon in a WPF application in German but found the documentation a little confusing.

>I copied Telerik.Windows.Controls.resources.dll into a de subdirectory of my referenced assemblies.

Do I still have to set the Current Culture? (I did but with no sucess).

The Silverlight documentation says something about a config file.

As I understand the entries should automatically in German (right now they are displayed in English).

Kind regards,
Peter
Tina Stancheva
Telerik team
 answered on 02 May 2013
3 answers
96 views
Hi,

In my wpf application i am using tab control. In first tab i am using list box to show the data and in second tab i am using rad Grid View to show data.

After loading both tabs when i switch the tab from grid view tab to list box then there is no delay in loading that view but when i switch back to the previous tab (Grid View) it takes some delay to load the data .

It seems like when number of rows increses in Rad grid view it creates some performance issues.

In tab switching it should not be a problem if we have loaded it already as it works perfect in listbox.

Is there any property to prevent this repopulation of rad grid view.

Looking forward for your reply .. It is really urgent.

Thanks
Rossen Hristov
Telerik team
 answered on 02 May 2013
6 answers
477 views
Hi
I am creating a gridview columns programmatically (see code below).

Everything is working fine except for a GridViewImageColumn which is not displaying although the data seems to be bound correctly.  I am using the following for testing:

Database: Northwind
Table: Categories:
Column: Picture
SqlServerType image
System.DataType: Byte[]

Thanks
Rich

if (col.DataTypeName == "image")

{

GridViewImageColumn imageCol = new GridViewImageColumn();

imageCol.DataMemberBinding = new Binding(col.ColumnName);

imageCol.Header = col.ColumnName;

if (col.IsHidden == true)

imageCol.IsVisible = false;

imageCol.UniqueName = col.ColumnName;

imageCol.DataType = Type.GetType(col.SystemDataType);

imageCol.FilterMemberType = Type.GetType(col.SystemDataType);

gridQueryResult.Columns.Add(imageCol);

}

else

{

GridViewDataColumn dataCol = new GridViewDataColumn();

dataCol.DataMemberBinding = new Binding(col.ColumnName);

dataCol.Header = col.ColumnName;

if (col.IsHidden == true)

dataCol.IsVisible = false;

dataCol.UniqueName = col.ColumnName;

dataCol.DataType = Type.GetType(col.SystemDataType);

dataCol.FilterMemberType = Type.GetType(col.SystemDataType);

gridQueryResult.Columns.Add(dataCol);

}

Dimitrina
Telerik team
 answered on 02 May 2013
11 answers
239 views
I tried applying Michael Crump's Blog Post, here, to my own code.  Particularly the Group Template stuff.  I now have two Groups shown but my Tiles all disappeared. 

Below is my XAML, what am I doing wrong, everything seems to match up with what he is showing and my Tile's all displayed before I applied the Group stuff.

<Window x:Name="ShellWindow"
        x:Class="Green.ShellView"
        xmlns:cal="http://www.caliburnproject.org">
    <Window.Resources>
        <DataTemplate x:Key="GroupTemplate">
            <TextBlock Text="{Binding}"
                       Foreground="Gray"
                       Margin="20"
                       FontWeight="Bold"
                       FontSize="20"
                       FontFamily="Segoe UI"/>
        </DataTemplate>
        <Style TargetType="telerik:Tile">
            <Setter Property="Margin"
                    Value="20,15,5,0"/>
        </Style>
        <Style TargetType="TextBlock"
               x:Key="TileLabelStyle">
            <Setter Property="FontSize"
                    Value="14"/>
            <Setter Property="FontFamily"
                    Value="Segoe UI"/>
            <Setter Property="Margin"
                    Value="10"/>
            <Setter Property="Foreground"
                    Value="White"/>
            <Setter Property="VerticalAlignment"
                    Value="Bottom"/>
        </Style>
        <Style TargetType="TextBlock"
               x:Key="LiveTileLabelStyle">
            <Setter Property="FontSize"
                    Value="24"/>
            <Setter Property="FontFamily"
                    Value="Segoe UI"/>
            <Setter Property="Margin"
                    Value="5"/>
            <Setter Property="Foreground"
                    Value="White"/>
            <Setter Property="VerticalAlignment"
                    Value="Center"/>
            <Setter Property="HorizontalAlignment"
                    Value="Center"/>
        </Style>
    </Window.Resources>
    <telerik:RadDockPanel x:Name="LayoutRoot"
                          LastChildFill="True">
        <telerik:RadExpander x:Name="UserInfoContainer"
                             ExpandDirection="Up"
                             IsExpanded="True"
                             telerik:RadDockPanel.Dock="Top">
            <telerik:RadExpander.Header>
                <Grid HorizontalAlignment="Stretch">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                    <telerik:Label Content="User Information"/>
                    <Rectangle Grid.Column="1"
                               Height="2"
                               Margin="5,0,0,0"
                               VerticalAlignment="Center"
                               Fill="Gray"/>
                </Grid>
            </telerik:RadExpander.Header>
            <telerik:RadExpander.Content>
                <StackPanel Orientation="Horizontal">
                    <TextBlock Text="Good Day Sir!!!"/>
                    <Ellipse Width="33"
                             Height="33"
                             Margin="5"
                             Fill="Yellow"/>
                    <Ellipse Width="33"
                             Height="33"
                             Margin="5"
                             Fill="Blue"/>
                    <Ellipse Width="33"
                             Height="33"
                             Margin="5"
                             Fill="Red"/>
                </StackPanel>
            </telerik:RadExpander.Content>
        </telerik:RadExpander>
        <telerik:RadTileList x:Name="AppLaunchPad"
                             GroupTemplate="{StaticResource GroupTemplate}"
                             ScrollViewer.HorizontalScrollBarVisibility="Visible"
                             cal:Message.Attach="[Event SelectionChanged] = [Action OpenDoorway($eventArgs)]">
            <telerik:Tile x:Name="PendingAuthTile"
                          Background="BlueViolet"
                          TileType="Single"
                          Group="First">
                <Grid>
                    <TextBlock Text="Pending"
                               Style="{StaticResource TileLabelStyle}"/>
                    <TextBlock x:Name="PendingAuthCount"
                               Text="0"
                               Style="{StaticResource LiveTileLabelStyle}"/>
                </Grid>
            </telerik:Tile>
            <telerik:Tile x:Name="CreateAuthTile"
                          Group="First"
                          Background="Green"
                          TileType="Single"
                          cal:Message.Attach="[Event MouseDoubleClick] = [Action CreateAuth] ">
                <TextBlock Text="Create"
                           Style="{StaticResource TileLabelStyle}"/>
            </telerik:Tile>
            <telerik:Tile x:Name="ModifyAuthTile"
                          Group="Second"
                          Background="CadetBlue"
                          TileType="Single">
                <TextBlock Text="Modify"
                           Style="{StaticResource TileLabelStyle}"/>
            </telerik:Tile>
            <telerik:Tile x:Name="DeleteAuthTile"
                          Group="Second"
                          Background="Sienna"
                          TileType="Single">
                <TextBlock Text="Delete"
                           Style="{StaticResource TileLabelStyle}"/>
            </telerik:Tile>
        </telerik:RadTileList>
    </telerik:RadDockPanel>
</Window>



Thanks,
Vanya Pavlova
Telerik team
 answered on 02 May 2013
2 answers
102 views
Hi,

I have this Error after upgrade in 2013.1.403.40 of RadRichTextBoxRibbonUI:

Method not found: 'Telerik.Windows.Documents.Model.Styles.StylePropertyBase Telerik.Windows.Documents.Model.DocumentElement.GetPropertyDefinition(System.String)




Boryana
Telerik team
 answered on 02 May 2013
4 answers
236 views
As the title mentions the GridView for some reason (not sure when it started), will only accept System.Windows.Controls.ContextMenu as its contextmenu in the design time environment.  Even though the documentation states RadContextMenu was viable.

Also it doesn't not take on the Theme set...

Title Amendment... Designer doesn't fail per se, but merely indicates that the RadContextMenu is correct type for use with the RadGridView very much contradicting the documentation.  Therefore a bug imo.
Vanya Pavlova
Telerik team
 answered on 02 May 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?