Telerik Forums
UI for WPF Forum
9 answers
326 views
I'm using entity framework and binding a GridView to a entity collection.

I've got an entity Complaint. It has a collection of Resolutions. Each resolution has a collection of Actions. So my grid binds to Complaint.Resolutions. And I've got a HierarchyChildTemplate defined which binds to the Actions collection.

My ActionGrid has CanUserDeleteRows = True and CanUserInsertRows = True. I've also set ShowInsertRow = True.

deleting rows keeps triggering an error from EF about the required relationship being null. How do I capture this? I think it has something to do with how the row gets added. Right now I'm binding to the Deleted event and then looping through each item and telling the context to delete it. But the problem is that by then it's already been removed from the collection, so when I try to save, I still get the foreign key is null error.

Trying to capture the deleting event isn't working. When is this event raised? I've tried binding to it, but my command isn't being hit when I press the Delete key for a row. The row is just removed from the collection.
Rayne
Top achievements
Rank 1
 answered on 17 May 2011
1 answer
171 views
Hi,
I am using telerik 3D pie chart. My Pie chart has 3 legent items and 3 pies for data.
I want to define the different colors than what I see in the current theme.
Where do I set the property in order to change the individual Pie Color for the PieChart.
Thanks
Yash
Evgenia
Telerik team
 answered on 17 May 2011
5 answers
99 views
Hello,

It's possible to define manually maximum et minimum of AxisX.

Example :

Data : (2.12, 3.25, 4.25, 6.21, 1.25, 10.24)

I want minimum AxisX = 2 and maximum AxisX = 11 but i have to manually change it how ?


Best redards
Evgenia
Telerik team
 answered on 17 May 2011
1 answer
154 views
Hello,

I selected points on my chart by 

this.monGraph.DefaultView.ChartArea.SelectItem(item);

The data are well selected but I don't see it visually on the chart, it
no color change point or another.

How can I do to it change color?

Best regards,
Missing User
 answered on 17 May 2011
6 answers
445 views
Is it possible to use mouse-scrolling to zoom the current view of the ScheduleView.
E.g. in day view the hours from 00:00 to 10:00 fit on one screen, scrolling the mousewheel down zooms out so that the whole day fits into one screen, while scrolling the mouse-wheel up zooms in.

And is it possible to use panning to scroll in the views?
I do not need to drag&drop appointments, so I was wondering if it would work to use the mouse to navigate/scroll in the view.

These two things combined would be very useful in timeline view. The user could zoom in and out using the mouse-wheel and navigate by panning.

Any suggestions how to do this?
Konstantina
Telerik team
 answered on 17 May 2011
3 answers
251 views
Just trying to get the simplest application to work with RadCarouselPanel to display anyting. I have put StackPanels, Labels, Buttons, etc... between the <RadCarouselPanel></RadCarouselPanel> tags - nothing displays when I run the WPF application.

RadCarousel, on the otherhand, works fine.

Thanks in advance for any help.
Maya
Telerik team
 answered on 17 May 2011
3 answers
104 views

I am using RadCarouselPanel control. Instead of images as my items, I am using Labels to show some text. When I click on an item 9Label), it doesn't move to the center and show as selected. How does I make that item selected?

Navneet
Top achievements
Rank 1
 answered on 17 May 2011
5 answers
80 views
Hi,

We are extensively using RadGridView and often face a problem that gridview columns get squeezed and only restore while the view is refreshed.

any ideas?
Vlad
Telerik team
 answered on 17 May 2011
7 answers
1.0K+ views
Hi,
how can i check if user double clicked on row? Because now double click works on everything, so if someone scroll the grid and double click on the row the event is fired, same when user double click on header column etc. I need to fire double click only on row. Also how can i make double click work only on left button? i checked in MouseButtonEventArgs e, i can see if it was left but i see only last click so i dont know if the first click was with right button or not.
Maya
Telerik team
 answered on 17 May 2011
0 answers
78 views
Hi Telerik,
My ScheduleView binds AppointmentsSouce to a VM like
        public ObservableCollection<Appointment> Appointments
        {
            get
            {
                return _appointments;
            }
            set
            {
                _appointments = value;
            }
        }
When creating an appointment by dragging item from other control like ListView, the binding won't fire in the VM, however when I checked the appointments collection in runtime, it was added correctly. My question is how can I track this event (not in code behind) in VM when an appointment item is added to ScheduleView?

Thanks.
Cheau
Cheau-Long
Top achievements
Rank 1
 asked on 17 May 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?