Telerik Forums
UI for WPF Forum
3 answers
415 views
hi 

I was added RadDatePicker to Footer with below code i want to display the default  Current date as "System.Date.Now";  but the date is not binding to that footer .

the same RadDatePicker i have in my form and i need to bind the same thing "System.Date.Now" it is binding but in footer it is not binding please help me


<TelerikGrid:GridViewDataColumn  Header="Qty1" MinWidth="100" Width="110"  TextAlignment="Right" DataMemberBinding="{Binding Qty1, Mode=TwoWay}" DataFormatString="{}{0:N2}">
                                                          <TelerikGrid:GridViewDataColumn.Footer>
                                                                <StackPanel Orientation="Vertical" Height="50" HorizontalAlignment="Left">
                                                                    <telerikInput:RadDatePicker x:Name="dt" HorizontalAlignment="Center"  SelectedValue="{Binding dat}" Margin="11,0,0,0" />
                                                                    <CheckBox  Height="16" Name="checkBox1"   IsChecked="{Binding Path=CurrentItem.InActive,Mode=TwoWay}" HorizontalAlignment="Center" />
                                                                </StackPanel>
                                                            </TelerikGrid:GridViewDataColumn.Footer>
                                                           </TelerikGrid:GridViewDataColumn>

Kalin
Telerik team
 answered on 21 Aug 2013
1 answer
242 views
Hi,

i'm using your "Grouping and Filtering" example as base. Now I have to add a TreeListView where i load all departments with its employees.
Each employee is one Group. Creating the TreeListView with it's items is not the problem. But how do i add a command, wich makes me the grouping?

Thanks
Best Regards
ITA
Kalin
Telerik team
 answered on 21 Aug 2013
1 answer
136 views
Hi

Is there a event that can detect when I drag one shape over another shape within diagram ?

Thanks, Dave
Zarko
Telerik team
 answered on 21 Aug 2013
2 answers
162 views
Hi all,

I have successful customized my bar chart items, but now there is no selection marker visible. Here some code:
<Style x:Key="CustomBarStyle" TargetType="telerikCharting:Bar">
    <Setter Property="Template">
        <Setter.Value>
            <ControlTemplate TargetType="telerikCharting:Bar">
                <Canvas>
                    <Rectangle
                        x:Name="PART_DefiningGeometry"
                        Height="{TemplateBinding ItemActualHeight}"
                        Width="{TemplateBinding ItemActualWidth}"
                        Fill="Blue"  />
                    <Canvas.RenderTransform>
                        <ScaleTransform x:Name="PART_AnimationTransform" ScaleY="0" />
                    </Canvas.RenderTransform>
                </Canvas>
            </ControlTemplate>
        </Setter.Value>
    </Setter>
</Style>
This is the style for my items. Fill is normaly a property of my item class.

<telerik:RadChart
    x:Name="Chart" Grid.ColumnSpan="2" ItemsSource="{Binding BarChartList}">
 
    <telerik:RadChart.DefaultView>
        <telerikCharting:ChartDefaultView ChartLegendPosition="Bottom">
            <telerikCharting:ChartDefaultView.ChartLegend>
                <telerikCharting:ChartLegend Header="Legend" UseAutoGeneratedItems="false" ItemsPanelOrientation="Horizontal" >
                    <telerikCharting:ChartLegend.Items>
                        <telerikCharting:ChartLegendItem Label="label1" MarkerFill="Green" />
                        <telerikCharting:ChartLegendItem Label="label2" MarkerFill="Red" />
                        <telerikCharting:ChartLegendItem Label="label3" MarkerFill="Blue" />
                        <telerikCharting:ChartLegendItem Label="label4" MarkerFill="Orange" />
                    </telerikCharting:ChartLegend.Items>
                </telerikCharting:ChartLegend>
            </telerikCharting:ChartDefaultView.ChartLegend>
 
            <telerikCharting:ChartDefaultView.ChartArea>
                <telerikCharting:ChartArea ItemClick="ChartAreaItemClick" Annotations="{Binding BarChartAnnotations}">
                    <telerikCharting:ChartArea.AxisY>
                        <telerikCharting:AxisY AutoRange="False" MinValue="0" MaxValue="{Binding BarChartMax}" Step="10" />
                    </telerikCharting:ChartArea.AxisY>
                    <telerikCharting:ChartArea.AxisX>
                        <telerikCharting:AxisX AutoRange="False" MinValue="1" MaxValue="{Binding BarChartList.Count}" Step="1" />
                    </telerikCharting:ChartArea.AxisX>
                </telerikCharting:ChartArea>
            </telerikCharting:ChartDefaultView.ChartArea>
             
        </telerikCharting:ChartDefaultView>
    </telerik:RadChart.DefaultView>
 
    <telerik:RadChart.AnimationSettings>
        <telerikCharting:AnimationSettings ItemDelay="0:0:0" ItemAnimationDuration="0:0:0.2" />
    </telerik:RadChart.AnimationSettings>
 
    <telerik:RadChart.DefaultSeriesDefinition>
        <telerikCharting:BarSeriesDefinition x:Name="BarSeries" ItemStyle="{StaticResource CustomBarStyle}">
            <telerikCharting:BarSeriesDefinition.InteractivitySettings>
                <telerikCharting:InteractivitySettings SelectionMode="Single" SelectionScope="Item" />
            </telerikCharting:BarSeriesDefinition.InteractivitySettings>
        </telerikCharting:BarSeriesDefinition>
    </telerik:RadChart.DefaultSeriesDefinition>
 
    <telerik:RadChart.SeriesMappings>
        <telerikCharting:SeriesMapping SeriesDefinition="{Binding ElementName=BarSeries}">
            <telerikCharting:SeriesMapping.ItemMappings>
                <telerikCharting:ItemMapping FieldName="Value" DataPointMember="YValue" />
            </telerikCharting:SeriesMapping.ItemMappings>
        </telerikCharting:SeriesMapping>
    </telerik:RadChart.SeriesMappings>
 
</telerik:RadChart>
And this is the chart control. I can select each item, ChartAreaItemClicked is fired, but there is noch border around the items. How can I place a csutom style for that?

Kind regards,
dpl
dpl
Top achievements
Rank 1
 answered on 21 Aug 2013
5 answers
260 views
Hi telerik,

Using the old implementation of drag-and-drop, we were able to copy-drag by catching the press of Ctrl key during the drag.

How do you recommend enabling this functionality using the new dragdropmanager?

Yours,

Anders, Denmark
Hristo
Telerik team
 answered on 21 Aug 2013
5 answers
540 views
Hi telerik,

After move to the new way of handling drag-and-drop, we've encountered a problem. Basically, we record in our viewmodel object behind the individual treeitem who the parent is. But currently, after the move to new drag-and-drop implementation, it would appear that the dragged item is repositioned 'out-of-the-box' and keeps it's viewmodel -- but in out world, this is now a wrong object.

Is there a way to prevent the drag-and-drop-manager from doing the actual move? I'd like to do it manually, updating the viewmodel and then notifying the treeview that sending/receiving items have changed...

Thanks,

Anders, Denmark
Hristo
Telerik team
 answered on 21 Aug 2013
1 answer
240 views
Hi,

I add a SelectAllCommand.Execute on my RadListBox:
RadListBox.SelectAllCommand.Execute(null, sender as RadListBox)

I Need this for a RadTreeListView?

Thanks
Best Regards
Rene
Maya
Telerik team
 answered on 21 Aug 2013
2 answers
90 views
One hour ago I updated WPF RadControls to version "2013.2.724.45" and also my current project where I use Windows 8 theme for my RadMap. It seems that now there is a bug in that theme because I cannot drag, zoom or do anything else with my map. Other themes work fine.
Andrey
Telerik team
 answered on 21 Aug 2013
1 answer
148 views
Hi,

we are using the RadScheduleView. We started with your "Appointmens Filtering" example (TV + Programm as Category).
Now we want to add the Grouping example from the "Grouping and Filtering" example where you can choose one Person.

SOLVED

Thanks
Best Regards
Rene
Rosen Vladimirov
Telerik team
 answered on 21 Aug 2013
1 answer
264 views
On my RadMap I have some InformationLayers and one of them is showing some objects as MapShape type "MapLine". Point1 and Point2 are set so the lines are displayed correctly. Now I have to extend those lines.

Our customer wants to see little bubbles at start and end point of each line. It seems a combination of MapShapes is not possible inside ItemTemplate so using one "MapLine" and two "MapEllipse" objects is not possible, right? As far as I understand the documentation one possibility is to use a single MapShape (that's what I currently have) and the other is using a FrameworkElement. But I cannot use FrameworkElement because those objects do not have Properties for RadMap like Point1/Point2 or Location.

ItemTemplate now:
<DataTemplate>
  <tel:MapLine
    Visibility="{Binding Visibility}"
    StrokeThickness="{Binding LineThickness}"
    Point1="{Binding Point1}"
    Point2="{Binding Point2}" />
</DataTemplate>


What I expected as solution but didn't found:

<DataTemplate>
  <
tel:MapShapeCollectionOrSomethingLikeThat>
    <tel:MapEllipse tel:MapLayer.Location="{Binding Point1}" />
    <tel:MapLine
      Visibility="{Binding Visibility}"
      StrokeThickness="{Binding LineThickness}"
      Point1="{Binding Point1}"
      Point2="{Binding Point2}" />
    <tel:MapEllipse tel:MapLayer.Location="{Binding Point2}" />
  </tel:MapShapeCollectionOrSomethingLikeThat>
</DataTemplate>
Andrey
Telerik team
 answered on 21 Aug 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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?