Telerik Forums
UI for WPF Forum
1 answer
183 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
81 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
162 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
528 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
84 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
66 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
1 answer
48 views
Right now the docking control does not support the Windows 7 touch events.
Because the docking control is a container that uses a large part of the screen it would be a great candiate to have support for Windows 7 touch events, What I would like to see is move, resize, mass so you can throw a window to the other side of the screen or off the screen, and possibly also rotation for touch tablets where you have people on both sides of the tablet.
George
Telerik team
 answered on 15 Feb 2011
9 answers
581 views
I would think this would be as simple as a very short line of code,however there seems to be a substantial layer of complexity involved, or so it would seem. All I need to do is set a specific data cell into edit mode (programmatically), I have the row, and I know the column but none that is of any use. More in depth documentation would be nice. All we are given in the documentation is "this.radGridView.BeginEdit();" and all that does is set the first item in the selected row into edit mode, I don't want that cell. I want the second and third. Any ideas would be great other than those referencing deprecated code. I am using the current version of Telerik WPF.
Jacob Distel
Top achievements
Rank 1
 answered on 14 Feb 2011
3 answers
126 views
Hello,
I have added a delete button to the to each item in my Carousel. When the user clicks this button, I am trying to delete a directory on the file system that contains the preview image that is being displayed in the carousel. Without surprise, I am getting an IOException saying "The process cannot access the file 'preview.png' because it is being used by another process.". Do you have any ideas or suggestions to make the RadCarousel release the lock on this .png in the directory? 
Scott
Top achievements
Rank 1
 answered on 14 Feb 2011
4 answers
125 views
Hello,

I'm using a RadDataFilter with a RadTreeListView and I'm seeing long stalls/loading times when creating or modifying filters.

The data is hierarchical and whenever a filter is added to the control, all the items are expanded. Modifying the criterion for the filter also takes forever once focus is gone out of the text block.

If it helps, I'm binding the Source property of my DataFilter to the Items property of the RadTreeListView, and the list view has its ItemsSource set to an observable collection of items.
The list doesn't have that many items in it, even a small list takes some time. (100+ items).

Are you guys aware of this performance issue?

Thanks
--
Matt
Stefan Dobrev
Telerik team
 answered on 14 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
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?