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

I had installed the free trial of the demos for RadControls and started getting the "Enjoying your RadContolrs for WPF trial?" message when running the installed version of my app but not so when running the app from VS. I have now installed the purchased version of the WPF IU Controls, after uninstalling the free trial, and I’m still getting the message when running the installed version of my app.
Dimitrina
Telerik team
 answered on 03 May 2013
2 answers
87 views
**** SORRY - the title should have read 'DraggedSplitContainer is obsolete' - TYPO ****

Hi,

I'm getting the following warning in VS2010 when using wpf libraries 2013.1.220.40.

'Telerik.Windows.Controls.Docking.PreviewShowCompassEventArgs.DraggedSplitContainer' is obsolete: 'This should not be used anymore. Use the DraggedElement property instead.

It's relating to the following code I have for conditional pane docking:

private void RadDocking_PreviewShowCompass(object sender, Telerik.Windows.Controls.Docking.PreviewShowCompassEventArgs e)
{
    if (e.TargetGroup != null)
    {
        e.Compass.IsCenterIndicatorVisible = CanDockIn(e.DraggedSplitContainer, e.TargetGroup, DockPosition.Center);
        e.Compass.IsLeftIndicatorVisible = CanDockIn(e.DraggedSplitContainer, e.TargetGroup, DockPosition.Left);
        e.Compass.IsTopIndicatorVisible = CanDockIn(e.DraggedSplitContainer, e.TargetGroup, DockPosition.Top);
        e.Compass.IsRightIndicatorVisible = CanDockIn(e.DraggedSplitContainer, e.TargetGroup, DockPosition.Right);
        e.Compass.IsBottomIndicatorVisible = CanDockIn(e.DraggedSplitContainer, e.TargetGroup, DockPosition.Bottom);
    }
    else
    {
        e.Compass.IsLeftIndicatorVisible = CanDock(e.DraggedSplitContainer, DockPosition.Left);
        e.Compass.IsTopIndicatorVisible = CanDock(e.DraggedSplitContainer, DockPosition.Top);
        e.Compass.IsRightIndicatorVisible = CanDock(e.DraggedSplitContainer, DockPosition.Right);
        e.Compass.IsBottomIndicatorVisible = CanDock(e.DraggedSplitContainer, DockPosition.Bottom);
    }
    e.Canceled = !(CompassNeedsToShow(e.Compass));
}

CanDockIn Method:
private bool CanDockIn(ISplitItem dragged, ISplitItem target, DockPosition position)
{
    // If there is a pane that cannot be dropped in any of the targeted panes.
    return !dragged.EnumeratePanes().Any((RadPane p) => target.EnumeratePanes().Any((RadPane p1) => !CanDockIn(p, p1, position)));
}


Can you offer any suggestions about how I can fix this?

Thank you for your time,

Rob







 
George
Telerik team
 answered on 03 May 2013
2 answers
86 views
Hi there,

I would like to change the row background of the first 5 rows after the data on the grid has been sorted but I am having a couple of issues.

I hook into the Sorted event and get the rows from the grid and I loop through the first five and set the background. This almost works but it only changes the backgrounds of every second row. I think that the AlternateRowBackground set on the grid is overwriting the value I set.

Another issue I am facing is that there are two ways in which I sort the grid. The above approach only works when the user sorts by clicking on a column. However the Sorted event doesn't seem to fire when I add a SortDescriptor in the code-behind and I'm not sure why.

Is there something obvious that I am missing? Or is there a better approach to achieve what I am looking for?

Thanks,

Steven
Steven
Top achievements
Rank 1
 answered on 03 May 2013
1 answer
151 views
Hi,

I need to add a ToggleButton to the Hierarchy Expander column header that automatically appears when using a ChildTableDefinition.  Any suggestions would be greatly appreciated.

Thanks,
Keith
Dimitrina
Telerik team
 answered on 03 May 2013
3 answers
445 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
501 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
98 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
218 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
150 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
126 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
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?