Telerik Forums
UI for WPF Forum
3 answers
83 views
Is there a way to keep the item in the treeView when you drag it to the listBox?


Tsvyatko
Telerik team
 answered on 16 Feb 2011
4 answers
151 views
Can I override a column's behavior so that drag-and-dropping will allow not only to sort but to delete (or generate an event with delete request) them as well? 
Nikolay
Top achievements
Rank 1
 answered on 16 Feb 2011
6 answers
167 views
Hi,

Is there any can i generate Gridview column dynamically from code.

thanks
sarag.
sarag
Top achievements
Rank 1
 answered on 16 Feb 2011
1 answer
175 views
I'm trying to get the treeview lines to show up, but they don't.
I'm using a hyerarchical template, is that the reason?

thanks.
Petar Mladenov
Telerik team
 answered on 15 Feb 2011
1 answer
237 views
Hello Telerik Team,
                           In my latest wpf project we are using telerik controls.
In my customer entry form contains 5 fields including rad color picker.

here i want to display all details in radgrid view.Whenever user adding details they give colors also.
i want to display all details in radgrid view with diffrent color.The color is user given when adding details.

how to make this?

anybody help me?
Ivan Ivanov
Telerik team
 answered on 15 Feb 2011
1 answer
103 views
Hi there, 

I follow this example to customize Rad component using custom theme (Telerik support also gave me the sample code)
http://www.telerik.com/help/wpf/common-styling-apperance-themes-custom-theme-project-telerik-approach.html

However, when I tried to do the same thing with TreeListView, the TreeListView formatting is not what I expected.
I included these xaml file from InstallationRootPath\Telerik\RadControls for WPF Q3 2010\Themes\Windows7\Themes\Windows7
  1. RadTreeListView.xaml
  2. TreeListViewRow.xaml
And modify Telerik.Windows.Control.xaml into this:
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <ResourceDictionary.MergedDictionaries>
        <!--Controls-->
        <ResourceDictionary Source="/MyTheme;component/Themes/Slider.xaml" />
        <ResourceDictionary Source="/MyTheme;component/Themes/RadTreeListView.xaml" />
        <ResourceDictionary Source="/MyTheme;component/Themes/TreeListViewRow.xaml" />
    </ResourceDictionary.MergedDictionaries>
</ResourceDictionary>

But, the resulting RadTreeListView is not as I expect. Do I miss some steps to configure RadTreeListView?
Here is the link to sample code given by Telerik support from another thread.

Regards, 

Arinto
Vanya Pavlova
Telerik team
 answered on 15 Feb 2011
5 answers
207 views

Hello

How can I change the validation template of the row? (See attached picture).

How can I do validation in data Source Level and paint all the border of the grid in red if there errors?

Best regards

Ehud.

Vanya Pavlova
Telerik team
 answered on 15 Feb 2011
5 answers
593 views
Hi,

I know the windows explorer is not part of the WPF app. However, I need to create a WPF app that can actually drag the file from the windows explorer and drop it to a textbox control. As a result, the full path of the file appears on the textbox control. Does anyone know how to do this? do I need to create a wpf window to make a windows explorer so that I can have a full control over the drag and drop?

thanks
ronald
Top achievements
Rank 1
 answered on 15 Feb 2011
1 answer
100 views
Dear Telerik forum :)

I have a parent-child relation between two business objects (defined in Linq to SQL):
  - Parent: TransactionAccount
  - Child: Transaction

I want to show all transactions in a grid. Each transaction shall have a combobox displaying all available transactions. I also want to use the built in grouping and sorting functionality. After a bit of struggling with different options I came up with the following solution.

<telerik:RadGridView.Columns>
    <telerik:GridViewDataColumn DataMemberBinding="{Binding TransactionAccount.Name, Mode=OneWay}" Header="AccountName">
        <telerik:GridViewDataColumn.CellEditTemplate>
            <DataTemplate>
                <ComboBox
                    DataContext="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=telerik:RadGridView}, Path=DataContext}"
                    DisplayMemberPath="Name"
                    IsEditable="False"
                    IsReadOnly="True"
                    ItemsSource="{Binding TransactionAccounts}"
                    SelectedItem="{Binding CurrentTransaction.TransactionAccount, Mode=TwoWay}" />
            </DataTemplate>
        </telerik:GridViewDataColumn.CellEditTemplate>
        <telerik:GridViewDataColumn.AggregateFunctions>
            <Data:CountFunction Caption="Count: " />
        </telerik:GridViewDataColumn.AggregateFunctions>
    </telerik:GridViewDataColumn>

This seems to work fine but in some particular cases (that I just cannot put my finger on) the parent Name is changed. So if I have two accounts Account1 and Account2, suddenly both have the same name.

ISSUE 1: So my question is: is this really the right approach? If so why does the binding update a property on my BO? I have tried every possible way to prevent that (IsEditable, IsReadOnly etc). 

ISSUE 2: Another issue is that when I have the combo open on the last row and press Enter the focus goes "somewhere else" and the only way to resume navigation with the keyboard is to click on the application.

Thanks for any input!
Maya
Telerik team
 answered on 15 Feb 2011
3 answers
99 views
Hi, there.

Drag&Drop between two floating windows doesn't seem to be supported in WPF yet.
Reading old posts, it suggests that it will be improved/supported post-2010 Q1.
Is it supported in the latest release?
Is there a sample how to do this?

I read a post below talking about setting,
RadDragAndDropManager.EnableNativeDrag = true;
but it doesn't seem to do anything for me.
Is there something extra I need to do to enable native drag?

While I'm at it let me ask one more question.
The question above pertains to two different windows from the same application.
I also like to support drag and drop between two different telerik application.
How is this possible?

Thanks a lot!

-Chris
Tsvyatko
Telerik team
 answered on 15 Feb 2011
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?