Telerik Forums
UI for WPF Forum
3 answers
119 views
Hello,

I have a gridview bound to an observablecollection( of linq to sql class)
For editing a foreignkey in this class I use a gridviewcombocolumn:
Grid.Columns.Add(New GridViewComboBoxColumn With {
                                             .Header = "PC",
                                             .ItemsSource = vm.PurchaseCodes,
                                             .SelectedValueMemberPath = "",
                                             .DataMemberBinding = New Binding("PurchaseCode"),
                                             .DisplayMemberPath = "DisplayName"})
In this situation the filtercontrol gives an error and also I've the idea that binding like this gives slower performance than binding to "PurchaseCodeID", like this:
Grid.Columns.Add(New GridViewComboBoxColumn With {
                                             .Header = "PC",
                                             .ItemsSource = vm.PurchaseCodes,
                                             .SelectedValueMemberPath = "PurchaseCodeID",
                                             .DataMemberBinding = New Binding("PurchaseCodeID"),
                                             .DisplayMemberPath = "DisplayName"})
But in this situation linq to sql gives a foreignkeyreferencealreadyhasvalueexception.

Do you have any suggestions for my problem?

Thomas




                                          
Pavel Pavlov
Telerik team
 answered on 07 Nov 2011
1 answer
139 views

Please help me to understand how to approach styling the "AutoHide" component of the RadDocking component via Blend. 

 

I have attached 2 screens shots. 

 

The "BaseSS" attachment is the initial view of the Docking component styled up to this point via Blend, and the "AutoHideSS" attachment is the result of selecting "AutoHide" from the pin dropdown menu.

 

When creating the RadDockingStyle for the RadDocking TargetType / there are many references to telerik:Office_BlackTheme which seems to control the presentation for the AutoHideArea Target Type. 

 

I need to know specifically how I should approach styling <ControlTemplate TargetType="{x:Type telerik:AutoHideArea}">  to match up with the styling I have already completed.

// I am assuming I'm correct in thinking this controls the display shown in "AutoHideSS.png"

 

When in Blend I do not get the ability to access this template in the "Edit Additional Templates" menu options.

 

I need to know how to get to this template and if it is not the correct one... if you could point me to the correct template I need to augment.

 

OR if I would be better served editing the Office_BlackTheme resources in the Telerik base files to match up the hex values or if that is even wise / feasible.
Thanks.
Dan

Dani
Telerik team
 answered on 07 Nov 2011
2 answers
108 views
Hello,

I need to change the category of an appointment by the fly without using the dialog. But the ScheduleView will not update visual before switching the view (e.g. switching to next day and return). How can I force an update?

Here my simple code for changing the categories.

foreach (Appointment app in this.dataModel.Appointments)
{                 
     app.Category = (Category)this.myCategoriesHT["CategoryID"];
}
John
Top achievements
Rank 1
 answered on 07 Nov 2011
13 answers
310 views

I get an exception when trying to drag a radpanel with the following layout:

<telerik:RadDocking x:Name="radDocking" Grid.Row="1">
    <telerik:RadDocking.DocumentHost>
        <telerik:RadPaneGroup x:Name="radPaneDocuments">
            <telerik:RadPane x:Name="radPane1" Header="Document 1">
                <TextBlock TextWrapping="Wrap" Text=""></TextBlock>
            </telerik:RadPane>
            <telerik:RadPane x:Name="radPane2" Header="Document 2">
                <TextBlock TextWrapping="Wrap" Text=""></TextBlock>
            </telerik:RadPane>
        </telerik:RadPaneGroup>
    </telerik:RadDocking.DocumentHost>
    <telerik:RadSplitContainer x:Name="radSplitContainer" InitialPosition="DockedLeft" Width="150">
        <telerik:RadPaneGroup x:Name="radGroupMenu">
            <telerik:RadPane x:Name="radPaneMenu" Header="Menu">
                <StackPanel>
                    <telerik:RadButton x:Name="btnCustomers" Content="Customers" />
                    <telerik:RadButton x:Name="btnMachines" Content="Machines" />
                </StackPanel>
            </telerik:RadPane>
        </telerik:RadPaneGroup>
    </telerik:RadSplitContainer>
</telerik:RadDocking>

I don't know what's wrong with the layout.

Thanks in advance.
Miroslav Nedyalkov
Telerik team
 answered on 07 Nov 2011
1 answer
91 views
I installed RADControls on my system today in order to evaluate the ScheduleView, and I just can't get any sample data into Blend. I ended up creating a simplistic view model that just exposes an ObservableCollection<IAppointment> and the generated sample data still causes the designer to crash with a null reference exception. I then copied the data from the demos into the file, but with the same result, so for now, I'm at a loss.

Thanks for your advice
Philipp
Dani
Telerik team
 answered on 07 Nov 2011
2 answers
136 views
Hi,

I have a radtreeview which is filled with a hierarchical datatemplate which contains 2 levels,
when I try to drag a childnode the drag show the toplevelnode, see picture attached.

Am I missing something?

Can you help me?
david
Top achievements
Rank 1
 answered on 07 Nov 2011
1 answer
144 views
Dear Community,

I have a requirement to populate large volume of data in the grid. I am using RadGridView with data virtualizaiton. I am not using Entity Framework rather using odp.net(oracle provider). Grid populates data using WCF service and while scrolling it is showing desired results. But sorting, grouping , filtering .. none of the features are working. Select All option throws exception! Is there any sample code the same using odp.net or ado.net?

Regards,
Godwin
Vlad
Telerik team
 answered on 07 Nov 2011
0 answers
102 views

Please disregard, of course my problem turns out to be a style issue. A great tool style inhertance - until you loose track or forget to define a key. Well another lesson learned and a few hours wasted - business as usual!
Mike
Top achievements
Rank 1
 asked on 06 Nov 2011
3 answers
107 views

Hi Team,

I am showing charts in Listbox. I have placed RadChart Control in Itemplate. its not binding the ChartData and SeriesDefinition property. These property has value and preperty get is also called . But still its not showing series, saying "No data Series". On the other side, ChartTitle property is bound and showing chart title.

Please see this issue and send any sample.

Thanks in adavance..

Regards,
Nidhi

XAMl code attached

<ListBox  Grid.Column="0" ItemsSource="{Binding DrillDownChart}" >
         <ListBox.ItemsPanel>
             <ItemsPanelTemplate>
                 <toolKit:WrapPanel  Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Stretch"  >
                 </toolKit:WrapPanel>
             </ItemsPanelTemplate>
         </ListBox.ItemsPanel>
         <ListBox.ItemTemplate >
             <DataTemplate>
                 <Grid Width="110" Height="114">
 
                     <Grid.RowDefinitions>
                         <RowDefinition Height="*" />
                         <RowDefinition Height="Auto" />
                     </Grid.RowDefinitions>
                     <Border Grid.Row="0">
 
                         <telerik:RadChart ItemsSource="{Binding ChartData}" SeriesMappings="{Binding ChartSeriesMappings}" >
 
 
 
                             <telerik:RadChart.DefaultView>
                                 <telerik:ChartDefaultView ChartLegendPosition="Right">
                                     <telerik:ChartDefaultView.ChartTitle>
                                         <telerik:ChartTitle Content="{Binding ChartTitle}"/>
 
 
                                     </telerik:ChartDefaultView.ChartTitle>
                                     <telerik:ChartDefaultView.ChartArea>
                                         <telerik:ChartArea LabelFormatBehavior="None"   SmartLabelsEnabled="True"  >
                                              
                                         </telerik:ChartArea>
                                     </telerik:ChartDefaultView.ChartArea>
                                     <telerik:ChartDefaultView.ChartLegend>
                                         <telerik:ChartLegend Name="ChartLegend"
                                              LegendItemMarkerShape="Triangle" />
                                     </telerik:ChartDefaultView.ChartLegend>
                                 </telerik:ChartDefaultView>
                             </telerik:RadChart.DefaultView>
 
                         </telerik:RadChart>
 
 
                     </Border>
 
                     <TextBlock Text="{Binding ChartTitle}" Grid.Row="1" />
 
                 </Grid>
             </DataTemplate>
         </ListBox.ItemTemplate>
     </ListBox>

Ves
Telerik team
 answered on 04 Nov 2011
2 answers
113 views
Hi,
I've recently started using Rad controls for WPF in Powerbuilder .NET 12.5

I'm using powerscript to control most of the basic events within my Radbuttons (such as open / close windows, set text labels, etc.)

The issue I'm having is getting full control of the Radsplitbutton.

For example, I currently have a radsplitbutton1 where isOpen = true when the MouseEnter event occurs.  I can also use AutoOpenDelay to achieve the same result.

However, I cannot find any way to close the popup.  I've tried putting isOpen = false into the MouseLeave and LostFocus events, but it never closes.  And there doesn't seem to be anything similar to AutoOpenDelay which will close the popup instead of open it.

Also, the AutoOpenDelay seems to cover the entire button.  I'm not sure if there is a way to open the popup ONLY when the mouse is on the drop down arrow?
Petar Mladenov
Telerik team
 answered on 04 Nov 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
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?