Telerik Forums
UI for WPF Forum
3 answers
145 views
I would like to style and edit the control template of the RadDatePicker inside Expression Blend.
When I add a copy of either the control template or the style of it, i get the following exception (german error message):

"
An Exception was thrown.
StackTrace: Empty

Inner Exception: Der öffentliche Typ mit dem Namen "RadDatePicker" kann von dem Typverweis nicht gefunden werden
XamlParseException: Der öffentliche Typ mit dem Namen "RadDatePicker kann von dem Typverweis nicht gefunden werden
StackTrace
bei System.Windows.Markup.XamlReaderHelper.Read(XamlNode& xamlNode)
...
InnerException:None
"

Translation of the message: "The public type with the name "RadDatePicker" can't be found by the reference type"
When I open the project with Visual studio, the exception does not occur.

Thanks in advance for helping.
Boyan
Telerik team
 answered on 05 Jun 2009
3 answers
248 views
Hi,

Please bear with me as I am a newbie to WPF and we are evaluating RadGridView as part of a new development project. I have a issue with filtering and grouping on columns.

I have another Grid with Contact information with and a related table that stores other contact information, such as address details. If I have the Grid bound to a datarecord type of Contact and want to have related columns such as Address.Line1, Address.Line2 displayed on the parent GridRow. What is the best way to acheive this? I can get the information display but my issue is that I can not use the Filter or Groups on the Address columns. I have attached some simple code behind that I am using, Name works as expected, however Address.Line1 displays data but can not use filtering or the grouping functionality

private void SetupGridView()  
{  
    myGridView.Columns.Add(new GridViewDataColumn()   
    {  
        HeaderText = "Name",  
        UniqueName = "Name",  
        DataMemberBinding = new Binding("Name")   
    });  
 
    myGridView.Columns.Add(new GridViewDataColumn()  
    {  
        HeaderText = "Address Line 1",  
        UniqueName = "Address.Line1",  
        DataMemberBinding = new Binding("Address.Line1"),  
        IsFilterable = true 
    });  

Any help is greatly appreciated.

Glen

Rossen Hristov
Telerik team
 answered on 05 Jun 2009
1 answer
408 views
Dear Sir,

I need Telerik.Windows.Themes.Vista.dll etc.... But I did not find any where.
Can you please tell me from where I can download the same?

Regards
Vinay
Boyan
Telerik team
 answered on 05 Jun 2009
3 answers
133 views
Hi,

I am trying to prevent dropping of items on level other than their own , i.e., items on a specific level cannot be moved to level above or below). For this, I am working with PreviewDragEnded and if the item is not being dropped to the same level, i prevent it by setting e.Handled to true. It works fine when DropPosition is DropPosition.Inside. However, when the DropPosition is After or Before, the TargetDropItem is null ,for some reason, and I cannot check the level to which the item is dropped. The TargetDropItem gets a value on DragEnded event but it's already too late. Is there a way to do it?
Thank you,
Tal
Bobi
Telerik team
 answered on 05 Jun 2009
6 answers
498 views
Hello all,
I'm using RadGrid to displays items from a table. One of the column in a row stores the path to a file, how do I get the value of that particular column on double click (on the row) so that I can displays the file's path and display the file (I'll be using DocumentViewer to display the file.)

Thanks,
Kenny.
Kenny
Top achievements
Rank 1
 answered on 04 Jun 2009
1 answer
171 views
Hello. I have a small problem with the treeview. I change manually the icon of a treeviewItem from the code depending on some db changes any couple of seconds but the icon does not change in the treelist unless I click that item. What is the problem?
Thanks
Bobi
Telerik team
 answered on 04 Jun 2009
1 answer
103 views
Hi. I would like to know if there is a way I can disable the DataContext property of a TreeViewItem so it will not fire for changes. I am not using DataBinding and I would like to use that DataContext just for keeping the object I am displaying to the user. Or maybe there is another way I can keep an object in the treeViewItem. Thanks
Miroslav
Telerik team
 answered on 04 Jun 2009
3 answers
187 views
I had a gridView which is bind to a DataTable's DefaultView. Now, i want to set Row Style according to row state, i.e., if rowstate is Modified i want that row in Red color, if it is added then in green color. How do i achieve this?

Thanks
Reeta
Vlad
Telerik team
 answered on 04 Jun 2009
13 answers
2.1K+ views
Hi

I am getting the above error trying to implement one of your WPF examples.

Please can you tell me where I am going wrong.

I am trying to implement a simple Carousel.

Muy code is ...
<Window x:Class="frmMain" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Title="dareSOFT OST2PST Conversion Utility" Height="300" Width="402" MinWidth="402" MinHeight="300" xmlns:my="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation">  
    <Grid> 
        <my:RadCarousel Name="rcMenu" AutoGenerateDataPresenters="True" HorizontalAlignment="Stretch" Cursor="Arrow">  
            <my:RadCarousel.BitmapEffectInput> 
                <BitmapEffectInput /> 
            </my:RadCarousel.BitmapEffectInput> 
            <my:RadCarousel.BitmapEffect> 
                <BlurBitmapEffect /> 
            </my:RadCarousel.BitmapEffect> 
            <Style TargetType="{my:Type telerik:CarouselDataRecordPresenter}">  
                <Setter Property="Template">  
                    <Setter.Value> 
                        <ControlTemplate TargetType="{my:Type telerik:CarouselDataRecordPresenter}">  
                            <Grid IsHitTestVisible="False" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">  
                                <Grid.RowDefinitions> 
                                    <RowDefinition Height="30" /> 
                                    <RowDefinition Height="100" /> 
                                    <RowDefinition Height="Auto" /> 
                                </Grid.RowDefinitions> 
                                <StackPanel Grid.Row="0" Orientation="Horizontal" VerticalAlignment="Center" > 
                                    <Label Content="{Binding Path=Fields[Text].Value}" FontSize="12" Foreground="#ff8FB3FF"/>  
                                </StackPanel> 
                                <Rectangle Grid.Row="1" RadiusX="3" RadiusY="3" Width="110" Height="80">  
                                    <Rectangle.Fill> 
                                        <ImageBrush x:Name="brush" ImageSource="{Binding Path=Fields[Picture].Value}"/>  
                                    </Rectangle.Fill> 
                                </Rectangle> 
                                <StackPanel Grid.Row="2"  Orientation="Horizontal" VerticalAlignment="Center">  
                                    <Label Content="{Binding Path=Fields[Text].Value}" FontSize="12" Foreground="#ff8FB3FF"/>  
                                </StackPanel> 
                            </Grid> 
                        </ControlTemplate> 
                    </Setter.Value> 
                </Setter> 
            </Style> 
        </my:RadCarousel> 
    </Grid> 
</Window> 
 

Kind Regards

David
Milan
Telerik team
 answered on 03 Jun 2009
1 answer
132 views
Evaluating the Telerik controls and so far so good.  Just wondering if the RadPanelBar implements fully the IsTextSearchEnabled?  I have a PanelBar setup and bound to a List<CustomObject>.  Furthermore, I have setup a HierarchialDataTemplate.  In this example, CustomObject exposes a property named ItemDescription.  I have overridden the ToString method of the class to return ItemDescription and I have set (on the PanelBar) TextSearch.TextPath="ItemDescription"

However, none of this appears to work.

Thanks,
David
Miroslav
Telerik team
 answered on 03 Jun 2009
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
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?