Telerik Forums
UI for WPF Forum
2 answers
178 views
I am working on a component that guides the user through a series of steps in a workflow. If you refer to AllMinimized.PNG you can see how it currently looks when no TileViewItem is in the maximized state. Expanding the first item entitled "Strategy Selection" will result in the layout shown in TileSelected.PNG. All minimized tiles have shifted over one space to the left to take up the space left behind by expanding "Strategy Selection".

Instead of having the tiles slide over, I would prefer to insert a new tile at the same location of the one that is currently open that says "You are Here" to indicate to the user where they are relative to the established workflow as they should be completed one at a time. I have two classes that represent RadTileViewItems that should be used as these placeholder tiles and ones that represent the actual content, however I'm having trouble setting up an appropriate Style Selector or Data Template Selector that can appropriately render the right appearance. I want the Placeholder items to remove the ability for the user to expand or select them in any way as they are visually there only to remind the user where they are in the workflow. I looked at this forum post which is accomplishing something similar:  http://www.telerik.com/forums/604424-radtileviewitem-style but styles are hard coded as opposed to utilizing some kind of style/template selector so that I can switch based on the underlying data context.
Jesse
Top achievements
Rank 1
 answered on 23 Jul 2014
3 answers
188 views
Hi,

I'd like to know what is the criteria for items' vertical placement when the timeline item source is organized by groups. In my current scenario I would not like to have any group with a height greater than the rest. I thought, from observations, that this situation only occurred when the items' period overlapped, but apparently that is not all there is to it.

Also, in case I do have items with overlapping periods in the same group, is there a way to order them vertically? I'm attaching a picture to better describe my question: in this case, the second group occupies a larger area because one of its items got placed in a different height! Thanks in advance.

Regards,
Takeshi
Fernando
Top achievements
Rank 1
 answered on 23 Jul 2014
6 answers
157 views
Hello, i have found a interesting sample (Baseline_WPF)  in the xaml-sdk-master file.
My problem is i need this solution for my Project but this is coded in VB.NET and i
can't translate the c# code correctly because there a lot of special features inside like
yield operations. Please can you help me to translate this sample to VB.NET.

Greetings, Robert ....
Polya
Telerik team
 answered on 23 Jul 2014
1 answer
173 views
Hi,
how can I style the first and last days in the selected range?
Something like in this picture.
Thanks.
Kalin
Telerik team
 answered on 23 Jul 2014
5 answers
216 views
Hi,

I have a RadGridView that I want to implement databinding based on the cells selected in a column.  Currently, the row data is bound to the ItemsSource for databinding on the rows.  I want to be able to allow the user to select multiple cells within a column and once the user changes the value in one cell, the change will be applied to all the other cells selected in the column.   How can I implement that?  I have enabled SelectionMode=Extended and SelectionUnit=Cell to allow selection(s).

Thank you,
Robert Quan
Yoan
Telerik team
 answered on 23 Jul 2014
2 answers
127 views
Hello, I would like to perform Drag & Drop function from one ListBox to another ListBox as documented in this link:
http://www.telerik.com/help/wpf/radlistbox-features-dragdrop.html

However, it is not working for me. I'm able to drag items, but nothing happens while dropping. Maybe the documentation is clear enough of the necessary configurations needed for the ListBox which you want to drag items from, and the ListBox which you want to drop items to.

Here are my codes:
(ListBox I want to drag from)
<telerik:RadListBox Margin="5,5,5,5" Grid.Column="0" Grid.Row="3"
                                    x:Name="listBoxItems" HorizontalAlignment="Left" VerticalAlignment="Top" Width="250"
                                    ItemsSource="{Binding}" ItemContainerStyle="{StaticResource DraggableListBoxItem}"
                                    ItemTemplate="{StaticResource ListBoxCustomTemplate}" SelectionMode="Multiple"
                                    TextPath="Serial">
                    <telerik:RadListBox.DragVisualProvider>
                        <telerik:ScreenshotDragVisualProvider />
                    </telerik:RadListBox.DragVisualProvider>
                    <telerik:RadListBox.DragDropBehavior>
                        <telerik:ListBoxDragDropBehavior />
                    </telerik:RadListBox.DragDropBehavior>
                     
                </telerik:RadListBox>

(ListBox I want to drag to)
<telerik:RadListBox Grid.Row="0" Grid.Column="2" Margin="0, 5, 5, 5"
                x:Name="listBoxIssue" HorizontalAlignment="Left" VerticalAlignment="Top"
                Height="690" Width="793" ItemsSource="{Binding}" ItemContainerStyle="{StaticResource DraggableListBoxItem}"
                                    ItemTemplate="{StaticResource ListBoxCustomTemplate}">
                <telerik:RadListBox.DragVisualProvider>
                    <telerik:ScreenshotDragVisualProvider />
                </telerik:RadListBox.DragVisualProvider>
                <telerik:RadListBox.DragDropBehavior>
                    <telerik:ListBoxDragDropBehavior />
                </telerik:RadListBox.DragDropBehavior>
            </telerik:RadListBox>
Kalin
Telerik team
 answered on 23 Jul 2014
1 answer
269 views
What is the correct way use a "DataColumn" object to tell the RadGridView which column to bind to? I can get it to bind using the "ColumnName" property on the column, but I would rather bind on the DataColumn object itself.

Here is a test program to demonstrate the problem

<Window x:Class="RadGridViewTest.MainWindow"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                xmlns:radGridViewTest="clr-namespace:RadGridViewTest"
                Title="MainWindow" Height="350" Width="525">
    <Window.Resources>
        <radGridViewTest:ContextData x:Key="ContextData"/>
    </Window.Resources>
     
    <Grid DataContext="{StaticResource ContextData}">
        <telerik:RadGridView ItemsSource="{Binding Path=ExampleTable}"
                             AutoGenerateColumns="True"
                             ShowGroupPanel="False">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding ExampleColumn}" Header="Via property"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Example}" Header="Via Column Name"/>
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
    </Grid>
</Window>

​
using System.Data;
using System.Windows;
 
namespace RadGridViewTest
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }
    }
 
    public class ContextData
    {
        public ContextData()
        {
            ExampleTable = new StrongNamedDataTable();
 
            var row = ExampleTable.NewRow();
            row[ExampleTable.ExampleColumn] = "Test Data";
            ExampleTable.Rows.Add(row);
        }
 
        public StrongNamedDataTable ExampleTable { get; set; }
    }
 
    public class StrongNamedDataTable : DataTable
    {
        public StrongNamedDataTable()
        {
            ExampleColumn = this.Columns.Add("Example");
        }
 
        public DataColumn ExampleColumn { get; private set; }
    }
}


The column that I set via the property did not work, but the one referencing the column name and the auto generated column both worked. What is the correct way to reference a column using the property?
Yoan
Telerik team
 answered on 23 Jul 2014
7 answers
306 views
In SelectionMode of Single, what I want is to search on one property but show another when it is selected.

Using the First look example code, the TextSearchPath is Title. DisplayMemberPath is not set. 

I added a property to Song:

        public string SearchText
        {
            get
            {
                return string.Format("{0}, {1}", this.title, this.author);
            }
        }

I want to search on both title and author. So I changed TextSearchPath to SearchText.
What I want to show when selected is Title, so I added DisplayMemeberPath to Title. This does not work. It still shows the SearchText property when selected. 

Is this a bug, limitation, or something I can work around?

Rob
Vladi
Telerik team
 answered on 23 Jul 2014
1 answer
151 views
Hello Telerik,

I’m using the RadGridView bound to a QueryableEntityCollectionView which is just a simple SQL-Table. How can I reload the collection 
(update the UI) when only a field in an existing row has changed in the background in the SQL-Database.
Calling Refresh() works if a row is added or deleted.

Regards
Uwe
Dimitrina
Telerik team
 answered on 23 Jul 2014
1 answer
96 views
I've got a simple solution showing the leak, but cannot attach .zip file anywhere?
Maya
Telerik team
 answered on 23 Jul 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
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
ProgressBar
Sparkline
LayoutControl
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
Rating
Accessibility
Callout
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?