Telerik Forums
UI for WPF Forum
1 answer
114 views
I am evaluating Grid view with inline edit
In cell template i have added rad auto complete box.
when grid is loaded with data, if mouse click on the cell having auto complete box in grid, auto complete box went in edit mode.
But with windows 8 touch theme and on all in one touch PC when through touch if  click on same cell it does not goes into edit mode

Please help
Vera
Telerik team
 answered on 17 Jan 2014
5 answers
141 views
I want to make it so when I select a row in the GridView, i can get the string inside the first column (or 20th). 

I am currently able to get ALL the information in the whole row with dataGrid1.SelectedItem.ToString(); and I could just chop that information up by a series of "Substring" operations, but there has to be a better way!

Getting this cell data by index (an integer 0-19) would be okay.

Getting the cell data by column header name would be okay as well.

Is this possible?
Hristo
Telerik team
 answered on 17 Jan 2014
33 answers
720 views
1) I am interested how to use validation based on RadPropertyGrid integrated Attributes ?
2) How to mix telerik Attributes with Microsoft Attributes with Property Grid?

I would like to be MVVM conform !

Example of Validation with Property Grid would be nice.

Thank you,
Branko
Peter
Top achievements
Rank 1
 answered on 17 Jan 2014
4 answers
296 views
Hello,
I am using RadMaskedNumericInput in a silverlight application,
I have set my mask to "#####.#####" and the numbers are ok.
the problem here is that when i click on the textinput to enter number i have the "_____._____" which i want to remove but i couldn't .
I relly need your help,
And by the way, if its possible , can you send me the correct regEx that muches with the mask"#####.#####" means : a double that can have at much 5 digits then a UNIQUE dot"." then at much 5 digits, with only positive numbers???? that would be very nice from you 
waiting forward for your answer.

Cordially
KAROUI Haythem
IT Manager at Crea Digital
Haythem
Top achievements
Rank 1
 answered on 17 Jan 2014
1 answer
70 views
Hi,

I have a similar issue : http://www.telerik.com/community/forums/wpf/gridview/hide-and-filtering-options.aspx#2946119
Filtering is working with this script .
But on using this script, we have a bug. On first click on the filter, the textbox is invisible.
Can you pls suggest a solution

Rigin
Rigin
Top achievements
Rank 1
 answered on 17 Jan 2014
2 answers
123 views

- Please see attached screenshot -


The toolbar on the right side of the screen (blue line above "toolbar" buttons) should always have the same height as the HeaderSelectedItem element of the OutlookBar on the left. So when a user switches his theme at runtime, the toolbars height should adjust with the new selected theme. For example "Office 2013" and "Windows 8" themes use different heights. I tried that with the following code where "MyOutlookBar" is the key of my RadOutlookBar:



<!-- ToolBar Area -->
<StackPanel Orientation="Horizontal" Height="{Binding ElementName=MyOutlookBar, Path=HeaderSelectedItem.Height}">
    <Image Source="{Binding ToolBarIcon}" Stretch="None" />
    <TextBlock Text="{Binding ToolBarTitle}" />
</StackPanel>




Sadly there is no "HeaderSelectedItem" property which I can refer to. How is that element accessible?







Johannes
Top achievements
Rank 1
 answered on 17 Jan 2014
13 answers
355 views
Hello,

When AutoGeneratePropertyDefinitions="true", how to use custom made templates for error handling on properties that where auto generated?
Custom editors for values and tooltips ?

Thank you,
Regards,
Branko
Ivan Ivanov
Telerik team
 answered on 17 Jan 2014
0 answers
152 views
Dear Telerik Team!

Can you please help me getting custom drag cue please? I searched everywhere but without success. This is my xaml:

<telerikControls:RadGridView Grid.ColumnSpan="2"  ...
                
                                    
           <telerikControls:RadGridView.Resources>
                <DataTemplate x:Key="DraggedItemTemplate">
                    <StackPanel Orientation="Horizontal" Margin="2">
                        <TextBlock Text="test" FontWeight="Bold" />
                    </StackPanel>
                </DataTemplate>
            </telerikControls:RadGridView.Resources>
 
            <planerView:RadGridViewDragDrop.DragVisualProvider>
                <!--<planerView:RadGridViewItemDragVisualProvider>                 
                </planerView:RadGridViewItemDragVisualProvider>-->
                <telerikDragDropBehaviors:ScreenshotDragVisualProvider></telerikDragDropBehaviors:ScreenshotDragVisualProvider>
            </planerView:RadGridViewDragDrop.DragVisualProvider>
 
        </telerikControls:RadGridView>

and that is my RadGridViewItemDragVisualProvider code:

public class RadGridViewItemDragVisualProvider : DependencyObject, IDragVisualProvider
    {
        public DataTemplate DraggedItemTemplate
        {
            get
            {
                return (DataTemplate)GetValue(DraggedItemTemplateProperty);
            }
            set
            {
                SetValue(DraggedItemTemplateProperty, value);
            }
        }
 
        public static readonly DependencyProperty DraggedItemTemplateProperty =
        DependencyProperty.Register("DraggedItemTemplate", typeof(DataTemplate), typeof(RadGridViewItemDragVisualProvider), new PropertyMetadata(null));
 
        public FrameworkElement CreateDragVisual(DragVisualProviderState state)
        {
            var visual = new DragVisual();
 
            visual.Content = state.DraggedItems.OfType<object>().FirstOrDefault();
            visual.ContentTemplate = this.DraggedItemTemplate;
 
            return visual;
        }
 
        public Point GetDragVisualOffset(DragVisualProviderState state)
        {
            return state.RelativeStartPoint;
        }
 
        public bool UseDefaultCursors { get; set; }
    }

But it doesn't work. DraggedItemTemplate is always null. I would be very grateful for any help in that matter.

Very best regards
Krzysztof Kaźmierczak

Krzysztof
Top achievements
Rank 1
 asked on 17 Jan 2014
4 answers
307 views
Hi,

I try to change the telerik theme at runtime following the thread about implicit theme. It's work well but for the treeView control I lost the background color of selected item when switching from one theme to another. This behavior occurs only if i set a ItemContainerStyle.

My style is declared like this :

<Style x:Key="FolderItemStyle" TargetType="{x:Type telerik:RadTreeViewItem}" BasedOn="{StaticResource RadTreeViewItemStyle}">

<Setter Property="Foreground" Value="Blue"/>

<Setter Property="FontStyle" Value="Normal"/>

</Style>


and my treeview is declare to use this style

<telerik:RadTreeView Grid.Row="1" Grid.Column="0" ItemContainerStyle="{StaticResource FolderItemStyle}">


The first time, when the MergedDictionaries is built, all work fine but when i clear and load new theme at runtime the background color of selected item disappear, if i re-switch to original theme it's working again.

A sample project can be foundhere : https://drive.google.com/file/d/0B6ihaOKSuZdBeVdNVnlqVFVXWkk/edit?usp=sharing.

Thanks
luc
Top achievements
Rank 1
 answered on 17 Jan 2014
1 answer
71 views

I've got a simple chart with 2 Bar3DSeriesDefinitions and 2 y axes.  I set the axis names appropriately & both series draw, but the additional y axis is not visible.  Any clue why?  The XAML in the designer shows the second y axis at design time, but that is before the series are added at run time & so the axes are shown as 2D.


Thanks - Mitch

Petar Marchev
Telerik team
 answered on 17 Jan 2014
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
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?