Telerik Forums
UI for WPF Forum
1 answer
193 views
Hi There,

I am using your WPF GridView (Version 2013.1.403.40), I need horizontal scroll using mouse. I have a mouse with horizontal scroller wheel. How can we do this easily?


Regards,
Sourabh Bose
Nick
Telerik team
 answered on 15 May 2013
5 answers
470 views

Hi I use the element (similar datepicker). When I change the date using the specific button the event SelectedDateChanged is raised. (correct) When I change the date writing directly in textbox the event SelectedDateChanged is not raised. (incorrect)

Do you know this problem? and Do you know the solution?

Thanks

Georgi
Telerik team
 answered on 15 May 2013
3 answers
188 views
When I change from Windows7Theme to Windows8Theme, I loose my header text on GroupBox controls and on Labels.  Pictures attached.
Tina Stancheva
Telerik team
 answered on 15 May 2013
6 answers
157 views

Hello,

I installed the WPF examples but they are unusable. You have to spend hours to get them work.

You have to scroll thought a solution with 50+ projects, they are compiled with v4.0 but supportedRuntime is set to 2.0, there are Projects with incorrect StartupUri, …

Are you testing the Demos with your Test Studio solution?

I think if you want to sell something, you have to provide a minimum of quality especially for the product demo.
It’s all the same with third party components, you have to life with their quality and spend a lot of time for searching bugs and building workarounds.

Regards

Dimitrina
Telerik team
 answered on 15 May 2013
16 answers
479 views
Hi,

    I'd like to prevent appointment overlap when Drag/Dropping appointments. Is there any suggestion on how I might achieve this?

Thanks,

Robert.
Julien
Top achievements
Rank 1
 answered on 15 May 2013
0 answers
112 views
Hi I am trying to change the background color of an appointment based on its current state. I am holding the current state in a custom appointment and trying to use a datatrigger to update the background color. I know that the data is being changed but it is never reflected on the gui.

<Style x:Key="EventBase" TargetType="telerik:AppointmentItem">
        <Setter Property="VerticalAlignment" Value="top"/>
        <Setter Property="Height" Value="22"/>
        <Setter Property="Foreground" Value="White"></Setter>
    </Style>
 
 <Style x:Key="RuntimePhaseDefination" TargetType="telerik:AppointmentItem"  BasedOn="{StaticResource EventBase}">
        <Setter Property="Background" Value="Gray"></Setter>
        <Style.Triggers>
            <DataTrigger Binding="{Binding IsSuccessfullyCompleted,Mode=TwoWay}" Value="True">
                <Setter Property="Background" Value="Green"></Setter>
            </DataTrigger>
        </Style.Triggers>
    </Style>

Can this be done with an appointment? I have also tried binding the IsSuccessfullyCompleted to the background and using a converter but still get no results on the gui.
Josh
Top achievements
Rank 1
 asked on 14 May 2013
1 answer
140 views

Hi

After upgrade to version - WPF_Q3_2012_SP1 ,I got 2 regression that i can't fix , Any help appreciate:
1) The size of the slider becomes very big , when i use   MaxWidth , the slider cut some of the text i used  (i see only 2 value instead of 4 ),
When i define width on each text content the text still big because the slider spaces between each text stay on same size , only the text got the limit .
Any idea how to fix this issue ?
2) The combination of  telerik:RadSlider.TickTemplate + label with test + Value="{Binding Path=ScopeSlider, Mode=TwoWay}" 
Stop working when i try to initialize the slider with different value .
It's start always from begining 

works on win 7 + vs2010

Thanks
Oren
 
          <telerik:RadSlider x:Uid="Scope" x:Name="Scope" <br>                    Value="{Binding Path=ScopeSlider, Mode=TwoWay}" Grid.Column="1" Maximum="{Binding Path=MaxScopeZeroIndex}" TickFrequency="1"  IsMoveToPointEnabled="true" IsSnapToTickEnabled="True" TickPlacement="BottomRight" Margin="10,0,35,0"><br>            <telerik:RadSlider.TickTemplate><br>                <DataTemplate x:Uid="DataTemplate_1" ><br>                    <StackPanel x:Uid="StackPanel_1"><br>                        <Ellipse x:Uid="Ellipse_1" Width="1" Height="4" Fill="Black" /><br>                        <Label x:Uid="Label_2" Content="{Binding Converter={StaticResource ScopeNameConverter}}" HorizontalAlignment="Center"/><br>                    </StackPanel><br>                </DataTemplate><br>            </telerik:RadSlider.TickTemplate><br>        </telerik:RadSlider>
Kiril Vandov
Telerik team
 answered on 14 May 2013
7 answers
373 views

I found the next xaml code for windows gridView (template selector):

<DataGridTemplateColumn>
                 <DataGridTemplateColumn.HeaderTemplate>
                        <DataTemplate>
                            <ItemsControl ItemsSource="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:TypeWindow}},
                                 Path=DataContext.Headers}">
                                <ItemsControl.ItemsPanel>
                                    <ItemsPanelTemplate>
                                        <StackPanel Orientation="Horizontal"/>
                                    </ItemsPanelTemplate>
                                </ItemsControl.ItemsPanel>
                                <ItemsControl.ItemTemplate>
                                    <DataTemplate>
                                        <TextBlock Margin="2" Width="{Binding Width}" Foreground="{Binding Color}" Text="{Binding Data}"/>
                                    </DataTemplate>
                                </ItemsControl.ItemTemplate>
                            </ItemsControl>
                        </DataTemplate>
                    </DataGridTemplateColumn.HeaderTemplate>
                    <DataGridTemplateColumn.CellTemplate>
                        <DataTemplate>
                            <ItemsControl ItemsSource="{Binding ColumnsData}"
                                          ItemTemplateSelector="{StaticResource typeSelector}">
                                <ItemsControl.ItemsPanel>
                                    <ItemsPanelTemplate>
                                        <StackPanel Orientation="Horizontal"/>
                                    </ItemsPanelTemplate>
                                </ItemsControl.ItemsPanel>
                            </ItemsControl>
                        </DataTemplate>
                    </DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>

for <telerik:RadGridView.Columns> I get this error: "Error 1 A value of type 'DataGridTemplateColumn' cannot be added to a collection or dictionary of type 'GridViewColumnCollection'. C:\Users\arivlin\documents\visual studio 2010\Projects\bindTests\bindTests\UCGrid.xaml 33 17 bindTests"

What object can I use for  DataGridTemplateColumn ?

Dimitrina
Telerik team
 answered on 14 May 2013
3 answers
223 views
I'm guessing that this is an easy one, but I'm coming up blank.  How to you put the NumericUpDown in a hex mode?

Thanks,
Tony
Konstantina
Telerik team
 answered on 14 May 2013
6 answers
322 views
I have been trying to implement DnD between ListBox controls in WPF and also reordering items in the list box. 
The situation that I have is 3 listboxes, one is the "Toolbox" which contains all of the objects that will ever be dragged, one which they get dragged onto, called the "Workfow", and another one called the "Output" which objects from the "Workflow" get dragged from. When dragging, all objects should be copied rather than moved across.  The "Toolbox" and "Workflow" listboxes are bound to lists of "Element" objects, and the "Output" listbox is bound to a list of KeyValuePair<string, string> objects which gets populated when the element is dropped from the "Workflow" listbox.  A bit complicated I know.

Dragging from "Toolbox" to "Workflow" works fine, and reordering items in "Workflow" works too, but when I try and drag from "Workflow" to "Output" the DragDropState.DraggedItems property is always empty.  

Below is my override of the ListBoxDragDropBehavior

public class WfBehavior : ListBoxDragDropBehavior
    {
        public override void Drop(DragDropState state)
        {
            foreach (object o in state.DraggedItems)
            {
                if (Dropped != null)
                {
                    Dropped(o as Element, state.InsertIndex);
                }
            }
            base.Drop(state);
        }
 
        protected override bool IsMovingItems(DragDropState state)
        {
            return state.IsSameControl;
        }
 
        public static event DroppedEventHandler Dropped;
    }
 
    public delegate void DroppedEventHandler(Element element, int index);

Nick
Telerik team
 answered on 14 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?