Telerik Forums
UI for WPF Forum
4 answers
281 views
Good evening,

I'm keep getting the following error whilst trying to use the WPF RadRichTextBox in the "Word Processing" configuration in VS2010 VB.net 4. It's the latest WPF tools (version 0419).
I dragged and dropped the RichTextBox into my designer window grid and then followed the step by step process. All works and looks fine until I run the app in debug mode.

FileNotFoundException was unhandled
Could not load file or assembly 'System.ComponentModel.Composition, Version=2009.7.8.0, Culture=neutral, PublicKeyToken=13e5ffd4e05db186' or one of its dependencies. The system cannot find the file specified.


System.Windows.Data Error: 40 : BindingExpression path error: 'CaptionButtonsReservedWidth' property not found on 'object' ''MainWindow' (Name='')'. BindingExpression:Path=CaptionButtonsReservedWidth; DataItem='MainWindow' (Name=''); target element is 'ContentControl' (Name='windowButtonPlaceHolder'); target property is 'Width' (type 'Double')

A first chance exception of type 'System.IO.FileNotFoundException' occurred in Telerik.Windows.Documents.dll

 

When the app runs a dialog window opens trying to find a RadDictionary.cs file.

I have uninstalled and re-installed the Telerik WPF tools and it hasn't solved the problem.

It did originally work but now for some reason it doesn't anymore.

Thank you for your time,

Rob

Iva Toteva
Telerik team
 answered on 20 Jul 2011
1 answer
301 views
Short question. How can I intercept the save command, i.e. not show the save dialog, but write the image into a database? I tried the ImageToolViewModel, but in there are only tools defined... no save button.

Edit: Found the ImageEditorRoutedCommands.Save
is there a (telerik) best practice to override the command?

Another Edit: Ok there's myImageEditorUI.ImageEditor.CommandBindings ... where I can add a command binding to the save command and set handled = true ... however, ImageEditor seems to be (always) null, even after an image has been loaded.

Thanks for your advice!
Ivailo Karamanolev
Telerik team
 answered on 20 Jul 2011
2 answers
221 views
Hello telerik team

I have a question:
I am using your RadGridView with a RadDataPager. I am wondering if vertical scolling is still possible if the data is paged? The problem occurs when i am resizing the window ... The size of the RadGridView is kind of fixed now.

Can you help me solving this issue?

Here my code:

<telerik:RadGridView x:Name="DataGrid"
                         ItemsSource="{Binding PagedSource, ElementName=radDataPager}"
                         SelectedItem="{Binding MandantOverviewSelected}"
                         AutoGenerateColumns="False"
                         GridLinesVisibility="None"
                         CanUserDeleteRows="False"
                         CanUserInsertRows="False"
                         IsReadOnly="True"
                         CanUserSortColumns="True"
                         ShowGroupPanel="True"
                         AlternationCount="2"
                         ShowColumnHeaders="True"
                         RowIndicatorVisibility="Collapsed"
                         CanUserFreezeColumns="False"
                         FontSize="11"
                         VerticalAlignment="Stretch">
        <telerik:RadGridView.Columns>
            <telerik:GridViewDataColumn DataMemberBinding="{Binding MandantNummer}" Header="{x:Static LocalResources:ResSystemKonfigurationMandanten.Mandanten_ColumnTitle_MandantNummer}" DataType="{x:Type System:String}" Width="25*"/>
            <telerik:GridViewDataColumn DataMemberBinding="{Binding Bezeichnung}" Header="{x:Static LocalResources:ResSystemKonfigurationMandanten.Mandanten_ColumnTitle_Bezeichnung}" DataType="{x:Type System:String}" Width="25*" />
            <telerik:GridViewDataColumn DataMemberBinding="{Binding Typ}" Header="{x:Static LocalResources:ResSystemKonfigurationMandanten.Mandanten_ColumnTitle_Typ}" DataType="{x:Type System:String}" Width="25*" />
            <telerik:GridViewDataColumn DataMemberBinding="{Binding DefaultspracheText}" Header="{x:Static LocalResources:ResSystemKonfigurationMandanten.Mandanten_ColumnTitle_Defaultsprache}" DataType="{x:Type System:String}" Width="25*" />
        </telerik:RadGridView.Columns>
    </telerik:RadGridView>
<telerikGrid:RadDataPager x:Name="radDataPager"
                         PageSize="10"
                         IsTotalItemCountFixed="True"
                          DisplayMode="FirstLastPreviousNextNumeric"
                         Source="{Binding MandantOverviewList}"/>
    </StackPanel>

Florian
Top achievements
Rank 1
 answered on 20 Jul 2011
1 answer
112 views
How are All Day appointments going to be displayed in the Q2 2011 release.  I've read that All Day appointments were implemented, but I don't see anything about it in the ScheduleView documentation.
Miroslav Nedyalkov
Telerik team
 answered on 20 Jul 2011
1 answer
86 views
Hello,
I want to select record in grid using my object ID.
Eg. I have collection of Customers. Each customer has ID, and I have one Customer with I want to select in gird. The problem is that my customer has different reference than customer in RadGrid but the same ID (so SelectedItem  doesn't work).
I know that I can first get the customer reference searching my collection (eg. using linq), but there isn't any comparer mechanism to set in RadGridView?
In most cases we override Equals() method on our objects, but sometims data comes from Web Service and we use Add Service Reference option, so we can't have influence on class definition.
Maya
Telerik team
 answered on 20 Jul 2011
3 answers
163 views
Hi,

the mask modifier does not seem to work for me. I use the following mask (for ICD codes) in a RadMaskedTextInput: "&gt;Lnn.nn". But the '>' character is shown instead of forcing upper case style.

Regards, Felix
Alex Fidanov
Telerik team
 answered on 20 Jul 2011
2 answers
124 views
Hi,

the masked text input control has some nice features I would like to use for "normal" text boxes, too. Is there a way to use no mask?

Or to have a mask to allow a variable lengh of text, sth. like "a*" ?

Regards, Felix
Alex Fidanov
Telerik team
 answered on 20 Jul 2011
0 answers
78 views
hi 
I need work with Alert content in right to left mode ?
Davood
Top achievements
Rank 1
 asked on 20 Jul 2011
3 answers
259 views
Hi,

I'd like to clarify whether this is an expected behavior.

I'm creating a windows explorer-like control where the RadTreeView is used on the left side pane (l-pane) for navigation and a RadGridView is used for right side detail pane (r-pane).

When the node in the tree is selected, its children are displayed in the r-pane. When a row in r-pane is double-clicked, l-pane will navigate to the node corresponding to that row (if there's any child under it, otherwise there will be other behaviors), and the children of that node populate the r-pane.

I'm using MVVM. Each node in the tree and row in the grid view is bound to a view model. The same view model is used for both the node (if it appears in the tree) and the row element (if it appears in the grid view). And I'm controlling the IsExpand and IsSelected status of the tree node through the view model's corresponding properties with the same name (two way binding). All very standard.

I also have a view model for the whole explorer. In here I hooked a few ICommand's to the various events of both the tree view and the grid view. For example, I created an ICommand for the Selected event of the tree, so that when the user select a certain node, I'll update the r-pane's bound collection. Another ICommand responses to the grid view's MouseDoubleClick event so when the user double click the row in grid view, the entry view model's IsSelected and it's parent's IsExpanded are set to true. And here's where the problem occurs.

Let's look at those nodes previously not shown in the tree yet (i.e. their parents are not expanded yet).

After the above step the tree successfully expands and shows the node in question as selected. After that what I expected is that the 'Selected' event of the tree view is fired, my ICommand for 'Selected' is executed, and my r-pane is populated with the node's children. But the 'Selected' event is never fired!

The reason i guess is that, since the node's parent was not expanded yet, the node was not visible/loaded in the tree when my ICommand for r-pane's MouseDoubleClick was executed. And what's more, even after I set its IsSelected property to true programmatically, somehow the event routing just stopped there.

One interesting thing I found is that, if I manually expand the parent in the tree, and make the node visible, then go back to r-pane and double click on the row, the 'Selected' event is fired now! I can see the r-pane is repopulated with the node's children.

 It seems that after I expand the parent once, even if I immediately un-expand it afterwords, I somehow trigger the node to be loaded in the tree. And now it's legitimate to wake up the 'Selected' event of the tree view control!

Here's the Link to the demo project on skydrive. (RadTreeViewProblem.rar)

My question here: is this expected? Of course I can set all the nodes in the tree to be Expanded when it is loaded to make this work. But that's certainly not what I want.

Any input on this is appreciated!
Yu
Top achievements
Rank 1
 answered on 20 Jul 2011
12 answers
207 views
Hi Telerik Team,

Great work with your controls, they really are a pleasure to work with!

Currently I'm using the ScheduleView and looking for a way to customize the MonthView to display next to the number of each day an indication of the number of items in the system.  E.g. "12  (2 entries)" meaning there are already 2 entries scheduled for the 12th of the month (and those 2 are not necessarily contained in the bound AppointmentSource).

What would be the best approach to accomplish this?

Thanks in advance.
Etienne.
palak
Top achievements
Rank 1
 answered on 20 Jul 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
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?