Telerik Forums
UI for WPF Forum
1 answer
68 views
I wish to bind the FontSize and FontFamily of the TextBlock of SeriesItemLabel to a DependencyObject in the code-behind portion of the code. Using styles, I can successfully do this to items like ChartItemLabel, but when I set the same items for SeriesItemLabel, I get binding errors stating how the element can not be found, yet the binding reads the same:

<Setter Property="FontFamily" Value="{Binding ElementName=MyDependencyObject, Path=Backend.LegendFontFamily}"/>

The help section on lists how to retemplate the control, but I don't wish a completely new look, I want to keep the default look; the user should simply be allowed to make it bigger/smaller.

 How should I create bindings for SeriesItemLabel?
Adam Petaccia
Top achievements
Rank 1
 answered on 17 Aug 2010
2 answers
78 views
Using the datePicker inside a Grid in this way

                                            <telerik:GridViewDataColumn
                                                        Header="Termination"
                                                        DataMemberBinding="{Binding TerminationDate}"
                                                        >
                                                <telerik:GridViewDataColumn.CellEditTemplate>
                                                    <DataTemplate>
                                                    <telerik:RadDatePicker SelectedDate="{Binding Path=TerminationDate, Mode=TwoWay}"/>                                                    
                                                    </DataTemplate>
                                                </telerik:GridViewDataColumn.CellEditTemplate>
                                            </telerik:GridViewDataColumn>

I get a 12:00:00 after I select a date and lost focus.

If I use the same control outside, It works ok.
I need to use the radpicker because the user shouldbe able to leave this date empty and with the dateDataColumn that was not possible
Ideas? Is this a bug?
Thx.
Ariel Erlijman
Top achievements
Rank 1
 answered on 17 Aug 2010
3 answers
144 views
Hi,

Can you please help me to know if Telerik provides 3D Surface charts for WPF? If not what is the alternative solution to achieve the 3D Surface charts.

Thanks in Advance

Regards,
NAK
Giuseppe
Telerik team
 answered on 17 Aug 2010
4 answers
153 views
Hi,

I think this is easy but cannot find anywhere how to implement it.
I have two list boxes, one is the source and the othe one is the target, I want to drag items from the source to the target and also be able to reorder the items at the target.
The target lisbox items have form fields and other controls in them that when clicked I dont want the drag operation to happen but be able to input text, click a button, etc.

This is a form builder application I have the diffenrent form elements on the left side and when you drag the element to the right side list the template is the actual form element that you can modify it parts like label, validation, required, etc. That;s why I don't want all the elements to trigger the drag but maybe create a title bar per element where I can click and drag the item to reorder on the list.

Thanks for your help.
Pablo Tola
Top achievements
Rank 2
 answered on 17 Aug 2010
1 answer
107 views
Hi,
I have a transition control call transitionWin.  What do I need to do change the transition style right before changing the content and thereby firing the transition?  Essentially, I want to use "lefttoright" sliding in some contexts and "righttoleft" in others depending on UI state in a SlideAndZoomTransition type.

Thanks,
Dave Gerding

George
Telerik team
 answered on 17 Aug 2010
4 answers
255 views
Is there a straightforward way of hiding the caption of an aggregate function in the footer while showing it in the group header? I'm looking into the footer template now to see how its put together, but was wondering if I'm missing a simple trick...

Thanks!
Geoff Smith
Top achievements
Rank 1
 answered on 17 Aug 2010
1 answer
116 views
I have an editable data bound combobox. I need to know when the user is making a selection or editing.  On the selection changed event I use the prescribed method to capture the selected item "RadComboBoxItem selectedItem = chemical.SelectedValue as RadComboBoxItem;" . However selectedItem is always null even when chemical.SelectedValue is not. I have verified this using a line break in the code. What gives?
Konstantina
Telerik team
 answered on 17 Aug 2010
5 answers
696 views
Hi!

I've a to display a list of  "households", I'm using a telerik component, the "RadGridView".

This is working, I've set the "Datacontext" on a parent element. I've no problem with that
<telerik:RadGridView Name="uxGridViewList" AutoGenerateColumns="False" ItemsSource="{Binding HouseHolds}" IsSynchronizedWithCurrentItem="True" >
    <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn Header="First Name" DataMemberBinding="{Binding FirstName}"/>
        <telerik:GridViewDataColumn Header="Last Name" DataMemberBinding="{Binding LastName}" />
        <telerik:GridViewDataColumn Header="City" DataMemberBinding="{Binding City}" />
        <telerik:GridViewDataColumn Header="Phone" DataMemberBinding="{Binding Phone1}"/>
    </telerik:RadGridView.Columns>
</telerik:RadGridView>


Now, I'm trying to get get information in some textbox changing to have the current selectedrow.

Changes will be made in two ways, so I've made some tries, but the textbox is still empty.

First try:
<TextBox Name="uxTextFirstName" Text="{Binding FirstName}" DataContext="{Binding ElementName=uxGridViewList, Path=CurrentItem, Mode=TwoWay}" />

Second try
<TextBox Name="uxTextFirstName" Text="{Binding ElementName=uxGridViewList, Path=SelectedItem.Firstname, Mode=TwoWay}"/>

What should I do more?

I tried to do in my code behind to check if I was having data in the correct format.
uxTextFirstName.Text = ((HouseHold)uxGridViewList.SelectedItem).FirstName;
It display correct informations, but don't change when I change lines and I really have to do this in the Xaml code, not in code behind.

EDIT: I just saw I got an error in the "Output":
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=uxGridViewList'. BindingExpression:Path=SelectedItem.Firstname; DataItem=null; target element is 'TextBox' (Name='uxTextFirstName'); target property is 'Text' (type 'String')
But I still don't understand what is wrong :(

Maya
Telerik team
 answered on 17 Aug 2010
1 answer
283 views
Hello,
I'm sorry, but is it posible to make the HeaderRow always visible? We have hierarchical gridview with a lot of rows, so we need to scroll each child grid and not the whole grid, cause we don't want to loose  column headers from sight.
In general we need each child grid and parent grid have their own scrollbar.
Your article Visual Structure says: "Scroll bars - RadGridView will automatically show and hide scrollbars when needed. Choose between two types of scrolling: Real time and Deferred. Every hierarchical level has its own scrollbars. "
Milan
Telerik team
 answered on 17 Aug 2010
3 answers
127 views
Hi All

   I am New  in using telerik WPF controls.
My questions how to add the select command button inside the radgridview how we use the Datagridview in wndows form like that
how can i acheive this

Thanks
G Dinakaran.
Vlad
Telerik team
 answered on 17 Aug 2010
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
Security
VirtualKeyboard
HighlightTextBlock
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?