Telerik Forums
UI for WPF Forum
2 answers
147 views
I'm getting the following error whenever I click on an appointment on the schedule view. I can drag/drop appointments onto the schedule view but actually clicking on an appointment will give me the following error. Also note that this isn't just when I'm debugging my own WPF app in Visual Studio, this happens when I try to click on an appointment in the WPF Controls Example application aswell. Looks like it's trying to find a file on the C:\ drive that I can confirm is not there.

Generic types cannot be marshaled to COM interface pointers.

Locating source for 'c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\AppointmentItem.cs'. Checksum: MD5 {87 50 ae 34 9e 6c a1 bb c7 7a 37 31 e6 5c 9e c8}
The file 'c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\AppointmentItem.cs' does not exist.
Looking in script documents for 'c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\AppointmentItem.cs'...
Looking in the projects for 'c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\AppointmentItem.cs'.
The file was not found in a project.
Looking in directory 'c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\crt\src\'...
Looking in directory 'c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\src\mfc\'...
Looking in directory 'c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\src\atl\'...
Looking in directory 'c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include\'...
The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file: c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\AppointmentItem.cs.
The debugger could not locate the source file 'c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\ScheduleView\ScheduleView\Controls\AppointmentItem.cs'.

Daniel
Top achievements
Rank 1
 answered on 30 Jan 2012
1 answer
162 views
Hi Folks,
When I use entryfield validation by exception, controls paint a red border around itself on error.
How can I set this border from outside ?
(I.e. an outer "check function" gets called from somewhere and wants to set the red "error state" on an entryfield)
Is there something like radTextBox1.SetErrorState ???

Best regards
Torsten
Maya
Telerik team
 answered on 30 Jan 2012
2 answers
323 views
Hi.

I'm having a problem with the following code:
<telerik:RadRibbonDropDownButton.DropDownContent>
    <StackPanel >
        <StackPanel Orientation="Horizontal" x:Name="LayoutRoot">
            <ListBox Name="ListBox" ItemsSource="{Binding Path=Columns, ElementName=TableGrid}">
                <ListBox.ItemTemplate>
                    <DataTemplate>
                        <CheckBox Content="{Binding Header}"
                            IsChecked="{Binding IsVisible, Mode=TwoWay}" />
                    </DataTemplate>
                </ListBox.ItemTemplate>
            </ListBox>
            <telerik:RadGridView Name="TableGrid" ItemsSource="{Binding Units}" ShowGroupPanel="False" />
        </StackPanel>
    </StackPanel>
</telerik:RadRibbonDropDownButton.DropDownContent>
This is the "Showing and hiding radgrid columns outside the radgrid" example from the Telerik website, in a dropdowncontent.  When I run this and set the datacontext, "TableGrid" shows data properly but "ListBox" does not show the column headers.  If I take the "LayoutRoot" stackpanel up a level, out of the radribbonbutton and into the radribbongroup driectly, it works fine ("ListBox" contains the "TableGrid" headers.)  Poking around I've read that that the dropdowncontext doesn't share the same visual tree as the parent, but I would think I could bind controls from within the dropdowncontext.  Can you point me in the right direction to resolve this please?

Thanks,
MR
Mike
Top achievements
Rank 1
 answered on 30 Jan 2012
0 answers
243 views

I have used MVVm pattern in my application having three views.I wanted display log messages(status,error etc) in 1st window( in listbox ).I have created singleton class(loghelper) with function AddLog(),which i am calling whever i wanna update log msg & to write to log file also.so whenver this method gets called ,it triggers event(in loghelper class) and the eventhandler in respective view model gets called and there it adds log messages to Source(ObservableCollection which is bound to list box).
Now the problem is eventhough log message is added to collection for each log msg ,message is not updating synchronously in list box.View looks like freezing for a minute and all messages updates at a time.
I am not using multithreading here.
plz Let me know what causes this problem?

Deepak
Top achievements
Rank 1
 asked on 28 Jan 2012
3 answers
103 views
Hi,

can anyone tell me if a property exist to have an Inclined side for TabItem?

Thank's
Petar Mladenov
Telerik team
 answered on 27 Jan 2012
2 answers
223 views
Hi telerik,

It it possible to style the RadPanes in such a way that each header has it's own closing X instead of 'just' the one placed on the right hand side?

Thanks,

Anders, Denmark
Anders
Top achievements
Rank 1
 answered on 27 Jan 2012
1 answer
142 views
I am using the RadMaskedTextInput to contain a last name, a first name, city and several other random strings.  I am trying to have the validation just test whether there is data in the field.  I found a help file for doing something similar on the MaskedTextBox, but nothing for the more generic TextInput.  Any help would be greatly appreciated.

The Validation help http://www.telerik.com/help/wpf/radmaskedinput-features-validation.html contains an exception called ValidationException which I cannot find a reference to in my Visual Studios.  This looked like the proper way to go, but without access to that Exception I am stuck.
Tina Stancheva
Telerik team
 answered on 27 Jan 2012
1 answer
187 views
Hi,
  Please help me to achieve Fluid width & Height for TileView control for all screen resolutions of the computer. 

Thanks
Selva
Tina Stancheva
Telerik team
 answered on 27 Jan 2012
2 answers
140 views
i have a radtreelistview in my application that i am binding an object model to. After binding, i continue to update my object list. I notice that after binding and displaying my data, the entire application will lock up, or sometimes just the tree will lock up, and these lockups dont always correspond to my updating the data model, but are rather sporadic In addition, i notice that my memory usage balloons to a very large size, and then eventually settles back down again, at which point the lockups tend to reduce or go away. Im not at the office right noa so i cant post a code sample, i wil tomorrow, but has anyone else experienced this? Can anyone point me in the right direction? I am replacing a devexpress tree control with the radtreelistview and this was not happening with that. It also doesnt seem to happen with the syncfusion tree Thanks
Greg
Top achievements
Rank 1
 answered on 26 Jan 2012
2 answers
519 views
If a column has a celltemplate defined, its Filter, Sort and Group capability are gone. I'm sure there's a template perhaps that I can define to bring them back but I'm hoping it's more straightforward than that. If you're wondering why I use CellTemplate, it's because I need a CheckBox that uses a Command.

How do I go about this predicament?
swarmttied
Top achievements
Rank 1
 answered on 26 Jan 2012
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?