Telerik Forums
UI for WPF Forum
1 answer
113 views
Hi,

I'm create a empty wpf project and for example add RadComboBox in form not problem if add Empty ClassLibrary .NET 2.0 my add control (RadComboBox) Exception error in design mode or right click control getting Edit Additional Templates Exception error in design mode.
I'm try in RadControl WPF 2012 Q3 SP1, VS 2012, Win 8 X64.

Sorry for bad English.

Thanks so much.
Alex
Top achievements
Rank 1
 answered on 13 Dec 2012
2 answers
123 views
Is it possible to just sort on one column at a time? I have alot of columns and don't want the user
clicking on a million columns to sort. It just gets to complicated. So I just need the column sorting on one
column at a time. Is this possible?

Thanks!
Daniel
Daniel
Top achievements
Rank 1
 answered on 12 Dec 2012
6 answers
839 views
I want to display the textual value of a foreign key, while binding to the id value in the orginal table in the grid and in edit have a combo box to edit.

e.g  in a normal combo i would do something like:
<ComboBox Name="TypecomboBox" ItemsSource="{Binding Source={StaticResource personTypesData }}" DisplayMemberPath="Name" SelectedValuePath="PersonTypeID" SelectedValue="{Binding Path=PersonTypeID}" />

What's the equivalent to this in the grid control?

I can set the grid to edit as a combo using the comboeditor.  How do i display the textual value rather than the ID?
Carina
Top achievements
Rank 1
 answered on 12 Dec 2012
1 answer
96 views
In my tile view, I have managed to maximize horizontally as shown below. The problem is that when I maximize an item, the minimized items are arranged horizontally below it.

I want this layout when an item is maximized:
_______
|             |
|______ |
|___|___|
|___|___|
|___|___|

And when all items are minimized:
_______
|___|___|
|___|___|
|___|___|

    <telerik:RadTileView Margin="0"
                      ColumnsCount="1"
                      ColumnWidth="400"
                      MinimizedItemsPosition="Bottom"
                      ContentTemplate="{StaticResource contentTemplate}"
                      IsAutoScrollingEnabled="True"
                      IsDockingEnabled="True"
                      IsVirtualizing="True"
                      ItemsSource="{Binding Images}"
                      ItemTemplate="{StaticResource headerTemplate}"
                      MinimizedColumnWidth="200"
                      MinimizedRowHeight="200"
                      PreservePositionWhenMaximized="True"
                      RowHeight="200"
                      TileStateChangeTrigger="SingleClick" />
Zarko
Telerik team
 answered on 12 Dec 2012
1 answer
147 views
When I press the App key or Shift+F10 on a selected node of my tree, the selection changes to the parent of the node and then it displays a wrong menu in the upper left-hand corner of the window.
I'm using a RadContextMenu with the RadTreeView.
Is there a fix or work-around for this behavior? Or am I doing something wrong?
Kiril Vandov
Telerik team
 answered on 12 Dec 2012
4 answers
993 views
Hi, 


For one of the columns in my gridview, I need to use an ItemsControl. That column is bound to a variable list of 'events', which are strings. For each of these events, a link/button needs to be generated in the column. 

My column is defined as follows:

<telerik:GridViewDataColumn Header="Actions">
    <telerik:GridViewColumn.CellTemplate>
        <DataTemplate>
<ItemsControl ItemsSource="{Binding Path=Events}">
     <ItemsControl.ItemTemplate>
         <DataTemplate>
            <Button cal:Message.Attach="ExecutePipEvent($dataContext)" Content="{Binding}"/>
         </DataTemplate>
         </ItemsControl.ItemTemplate>
     <ItemsControl.ItemsPanel>
    <ItemsPanelTemplate>
       <StackPanel Orientation="Horizontal"/>
    </ItemsPanelTemplate>
                </ItemsControl.ItemsPanel>
            </ItemsControl>
        </DataTemplate>
    </telerik:GridViewColumn.CellTemplate>
</telerik:GridViewDataColumn>


The problem is that this column makes the rendering of each row very slow. Without this row however, the grid is rendered fast. 

Anyone experienced the same problem or knows what the problem is? That would be great!




Pieter Jan Verfaillie
Top achievements
Rank 1
 answered on 12 Dec 2012
0 answers
77 views
Hi I'm Bea,

I have an application with RadControls for WPF and this error appears (image file attached).

The error is in a Windows XP ServicePack 2 and the telerik version is: 2011.3.1220.35 (RadControls for WPF Q3 2011 SP1)

Regards
Beatriz
Top achievements
Rank 1
 asked on 12 Dec 2012
2 answers
240 views
Hi,

I am new to this telerik controls. I want to have multiple children, which are of having different number of columns and values. I will be binding the complete collection as observable collection through model, since i am using MVVM model with WPF. Collection can have 'n' number of parents, each parent will have two children, These two children can have 'n' number of rows. i tried to use heirarchical child template, but i am not able to add two different children which are binded to different itemsource. Kindly help me with this.

Thanks,
Somasekharan
Somasekharan
Top achievements
Rank 1
 answered on 12 Dec 2012
9 answers
251 views
Hi,

we use VS2008 and telerik 2012.2.912.35 and we have a RadWindow and we're trying to use the êrsistenceFramework mechanism without any success :(

In our RadWindow, we have a RadRibbonView with RadDocking control and in the RadDocking control we have 3 panes. One pane contain a RadGridView, one pane contain a RadRichText and the last pane contain multiple TextBox.

In the application menu of the RadRibbonView, we implement an to to persist the layout of the RadWindow. Actually, when we click on the persist button, when in Loaded event we restore the layout, the application menu of the RadRibbonView appear open, the RadRichText contain the text of the moment when we persisted and it's the samething for all the TextBox.

After many hours of experimentation, we gave up :( Can you provide us a small demo on how to exclude the RadRibbonView and all the date of each controls from the persisting process.

Thank's
Tina Stancheva
Telerik team
 answered on 12 Dec 2012
1 answer
239 views
Hello,

is it possible to define an ItemsSource for a RadContextMenu only for a particular Part of the ContextMenu?
My Target is to have Header and Footer Items, which are always shown up (fixed Items) and to have Contextual Items which are filled from Item behind.
I tried it with an ItemsControl. This works so far, but if I hover one Contextual Item, the full ItemsControl is highlighted. Also the Icon is indented. Please see the attached Screenshot.

How can I remove the wrong highlighting and the Icon Indentation?

Thank you for your help!

My existing Source Code is the following (see ItemsControl):
RadContextMenu.Resources>
        <DataTemplate x:Key="SubItemTemplate">
            <telerik:RadMenuItem Header="{Binding DisplayName}" IsEnabled="{Binding Enabled}">
                <telerik:RadMenuItem.Icon>
                    <Image Stretch="Fill" MinHeight="0" MinWidth="0" MaxWidth="16" MaxHeight="16" Width="Auto" Height="Auto" Source="{Binding Image}" />
                </telerik:RadMenuItem.Icon>
            </telerik:RadMenuItem>
        </DataTemplate>
    </telerik:RadContextMenu.Resources>
 
    <!-- Region Add -->
    <telerik:RadMenuItem Header="Add" ItemsSource="{Binding Path=PossibleSubItems}" FontWeight="Bold" ItemTemplate="{StaticResource SubItemTemplate}">
        <telerik:RadMenuItem.Icon>
            <Image Width="16" Height="16" Stretch="Fill" Source="/Images/add2_16.png" />
        </telerik:RadMenuItem.Icon>
    </telerik:RadMenuItem>
 
    <telerik:RadMenuItem IsSeparator="True" />
    <!-- End Region -->
 
    <!-- FOLLOWING PART SHOWS THE CONTEXTUAL SUB-ITEMS -->
    <ItemsControl ItemsSource="{Binding ContextMenuSubItems}" ItemTemplate="{StaticResource SubItemTemplate}" />
 
    <telerik:RadMenuItem IsSeparator="True" />
 
    <!-- Region Delete -->
    <telerik:RadMenuItem Header="Delete...">
        <telerik:RadMenuItem.Icon>
            <Image Source="/Images/delete2_16.png" />
        </telerik:RadMenuItem.Icon>
    </telerik:RadMenuItem>
    <!-- End Region -->
 
    <!-- Region Rename -->
    <telerik:RadMenuItem Header="Rename" />
    <!-- End Region -->
 
</telerik:RadContextMenu>
Rosen Vladimirov
Telerik team
 answered on 12 Dec 2012
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?