Telerik Forums
UI for WPF Forum
3 answers
206 views
Hi All

I have an issue with binding of a control which is inside header of a RadGridView which is in an Expander where Expander.IsExpanded
=False


<telerik:GridViewDataColumn.Header>
     <CheckBox IsChecked="{Binding DataContext.MyProperty, RelativeSource={RelativeSource AncestorType={x:Type UserControl}}}"/>
</telerik:GridViewDataColumn.Header>


When I set IsExpanded=True, binding to checkbox starts working as normal.

As a workaround I did this in code behind ..

Private Sub CheckBox_OnLoaded(ByVal sender As Object, ByVal e As RoutedEventArgs)
            Dim chk As CheckBox = sender
            chk.DataContext = DataContext
            Dim b As Binding = New Binding("MyProperty")            
            chk.SetBinding(CheckBox.IsCheckedProperty, b)         
End Sub

This works, but I don't want to do this as its not great coding practice and any I will have to repeat this like 1000s time that I don't wanna do..

please tell me what options do I have here.

Thanks
M. 






Boris
Telerik team
 answered on 13 Feb 2015
12 answers
240 views
Hi,

I want to show Exponential  on XAxis,how we can do, do you have any example?

second question, 
Can we flip XAxis, like right side to left side.

Thanks


Petar Marchev
Telerik team
 answered on 13 Feb 2015
1 answer
125 views
I'm using virtualization in a RadMap. How can my ShapeDataVirtualizer class (based on IMapItemsVirtualizationSource) get to the DataContext object which is set on the parent Window?

Andrew
Pavel R. Pavlov
Telerik team
 answered on 13 Feb 2015
5 answers
452 views
I've read the documentation that explains how to filter on the Date value only from here:
http://docs.telerik.com/devtools/wpf/controls/radgridview/filtering/how-to/howto-filter-date-value

But my grid is using auto-generated columns. How do I get this work when I'm not declaring each individual column?
Dimitrina
Telerik team
 answered on 13 Feb 2015
2 answers
177 views
Dear Telerik Support,

How can I disable the compass which is appear in all RadSplitContainer when I drag a floatable item?

Thanks,
Rob


Robert
Top achievements
Rank 1
 answered on 13 Feb 2015
1 answer
108 views
An error occurred trying to download 'http://demos.telerik.com/wpf/crm/CRM.application'.
Dimitrina
Telerik team
 answered on 13 Feb 2015
6 answers
299 views
RadPane.RemoveFromParent() sometimes throws null reference exception.

It appears that there is a typo in RadPane.cs, RemoveFromParent() method. 
In the if statement you should check if this.PaneGroup !=null (with capital 'P').

i.e. instead of:
if (this.paneGroup != null)
{
    this.PaneGroup.RemovePane(this);
}

do:
if (this.PaneGroup != null)
{
   this.PaneGroup.RemovePane(this);
}
Kalin
Telerik team
 answered on 13 Feb 2015
1 answer
158 views
I am attempting to use an ItemTemplateSelectorselector with the RadPaneGroup control.


   <telerik:RadPaneGroup x:Name="RadPaneGroupMain" ItemsSource="{Binding OpenDocuments}" ItemTemplateSelector="        {StaticResource OpenDocumentTemplateSelector}">
</telerik:RadPaneGroup>

The ItemTemplateSelector is defined as a static resource on the window. It is getting instantiated (tested via breakpoint in constructor) but the DataTemplateSelector.SelectTemplate method is never called. Code for the DataTemplateSelector is below.

internal class ModuleNodeEntityDataTemplateSelector : DataTemplateSelector
{
    public const string NoModuleEntityEditorTemplateKey = "NoModuleEntityEditorTemplate";
 
    public override DataTemplate SelectTemplate(object item, DependencyObject container)
    {
        var containerTyped = (RadPaneGroup)container;
        return (DataTemplate) containerTyped.Resources[NoModuleEntityEditorTemplateKey];
    }
}

Kalin
Telerik team
 answered on 13 Feb 2015
3 answers
328 views
Hi,

We have the requirement to use multi select combobox as the column in RadGridview and also have detail section below should have the multi select combobox which can be bindable with selected item property (collection). It is going to be twoway bindable.

Selecting the detail section dropdown should reflect the RadGridview selected row column and vise versa.

Please have a look on the attached image which holds the explanation of the same. It will be appreciated, if you can provide the solution with example.

Thanks,
Arnaud
Top achievements
Rank 1
 answered on 13 Feb 2015
2 answers
139 views
I've got a RadCartesianChart with an Linear X and Y axis.  The Y axis goes from 0 to 11  I'm trying to change the background of the plot area only between 10 and 11 (Showing a Warning Area).  Anyone have a good idea how to do this?

Tom
Tom
Top achievements
Rank 1
 answered on 12 Feb 2015
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?