Telerik Forums
UI for WPF Forum
3 answers
284 views
I'd like to clarify the discussion towards the bottom of this page, http://www.telerik.com/help/silverlight/radchartview-series-databinding.html, specifically:

"If we needed to track the selling of our products in real-time, we can simply put the product types in an observable collection and whenever we update a product's sold quantity, the chart will be updated."

and

"The only requirement left for the code above to work is that our Product class needs to implement INotifyPropertyChanged and raise the PropertyChanged event when its QuantitySold property changes"

If we are using GenericDataPointBinding, how does the chart know that it's the QuantitySold property that it is interested in (because it binds to that property via a lambda)? (This become relevant, if for example, the Product class has other properties, not displayed in the chart, that cause PropertyChanged events). Does the chart listen for a PropertyChange on any property and then attempt to find the new value of the data point?
Ves
Telerik team
 answered on 03 Oct 2012
2 answers
189 views
When I use a DataTemplateSelector, the type passed into SelectTemplate via the item parameter is PropertyDefinition. I can get things like the name of the property and the type of the property, but how about the type that contains the property? If I have five classes with a string property called "Reference" and I need a data template for each of those, I need the name of the class that contains that property to select the proper template. How do I obtain that information?
Ivan Ivanov
Telerik team
 answered on 03 Oct 2012
1 answer
131 views
Hi,

in my application I have a RadGridview. I have a RadButton to launch a call to my backend to get data. When the user want to apply filters on a column, he click on the column header icon, the color of the icon change and he can select values in the dialog (see: filters ok.png).

When the user click on my RadButton, I call the RadGridView.FilterDescriptors.Clear() method, the filter icon in the column header change but the values in he filter dialog remain checked (see: filters not ok.png). By the amount of data in my grid, I can see that the filters was removed but like I said, If I go back in the filters dialog, the values remain checked.

Thank's
Dimitrina
Telerik team
 answered on 03 Oct 2012
3 answers
295 views
Hello, I am using the RadDocking to manage a collection of panes.  I have a DataTemple with a EditableContentControl to allow modification of header text.  This works quite well with the exception of when a pane is moved to a new group.  When a RadPane is removed from the initial RadPaneGroup and placed in a new location, and I add a new pane, all RadPanes in the new RadPaneGroup do not utilize the DataTemplate defined in the initial.  Is there some resolution to this?
You can see from the XAML below that I am binding the ItemSource for the RadPaneGroup to a collection using an extension.  The newly greated RadPaneGroup does correctly bind to the collection of panes so I had assumed that the DataTemplate too would be applied.

Thanks

Paul

<Grid>
   <TelerikDocking:RadDocking>
     <TelerikDocking:RadDocking.DocumentHost>
       <TelerikDocking:RadSplitContainer>
         <TelerikDocking:RadPaneGroup Extension:PaneGroupExtensions.ItemsSource="{Binding Panes, Source={StaticResource QueueWindowViewModel}}">
           <Extension:PaneGroupExtensions.ItemHeaderTemplate>
             <DataTemplate>
               <Grid>
                 <Root:EditableContentControl Content="{Binding HeaderText, Mode=TwoWay}"/>
               </Grid>
             </DataTemplate>
           </Extension:PaneGroupExtensions.ItemHeaderTemplate>
         </TelerikDocking:RadPaneGroup> 
       </TelerikDocking:RadSplitContainer>
     </TelerikDocking:RadDocking.DocumentHost>
   </TelerikDocking:RadDocking>
</Grid>

 

 

 

Paul
Top achievements
Rank 1
 answered on 02 Oct 2012
0 answers
127 views
Hello Everyone,

I am adding my custom logic in CanDrag method as described in below link

http://www.telerik.com/help/wpf/radscheduleview-features-draganddrop.html

Before I return false in the CanDrag method, I am displaying the Message box using MessageBox.Show("You can not drag this appointment")

After message box displayed on my screen, my application is hanging endlessly. I am unable to understand the cause of this issue.

Any help would be greatly appreciated.

Regards,
Kshamesh
Kshamesh
Top achievements
Rank 1
 asked on 02 Oct 2012
3 answers
620 views

Do we need to have a HierarchicalDataTemplate for each level fot Telerik RadtreeView.

-Departments

-EmployeeA
  • aaa
  • bbb
  • ccc

-Employee B

  • aaa
  • bbb

for the above do I need to have two HierarchicalDataTemplates ?

Where Department is the Parent and employeeA, B are childs

Pavel R. Pavlov
Telerik team
 answered on 02 Oct 2012
1 answer
186 views
hi,
i see your example, where you bind richtextbox to a textbox in xaml file.

i save the textbox text (in a xaml file) and now i'd like to do the reverse:
take the xaml saved from your text box and put in a new textbox.
a new radrichtextbox take this text and display it.
than i have to save it in pdf format.
it is possible?
can you say me how?
thaks
Petya
Telerik team
 answered on 02 Oct 2012
2 answers
130 views
Hi,
RadTreeView Default AllowDrop Is True and not False.
Tina Stancheva
Telerik team
 answered on 02 Oct 2012
4 answers
91 views
Hello,

I would like to know if there is any way to show empty groups in the gridview when aggregates functions are used ?

For exemple :
I have these datas :
groupA sample
groupA sample2
groupB sample3

Actually, I see this :
groupA Count : 2
groupB Count : 1

And now I want to see this :
groupA Count : 2
groupB Count : 1
groupC Count : 0

It is possible to have this ?
Can we defined groups for the aggregates and so see also empty groups ?


Thanks !
Rossen Hristov
Telerik team
 answered on 02 Oct 2012
3 answers
292 views
Nothing in documentation or here in the forums on how RadToolTip is used...

Should be as simple as this:

xmlns:t="http://schemas.telerik.com/2008/xaml/presentation"

<t:RadToolTip>
    <TextBlock>
        Some text.
    </TextBlock>
</t:RadToolTip>

or this:

<t:RadToolTip>
    <t:RadToolTip.Content>
        <TextBlock>
            Some text.
        </TextBlock>
    </t:RadToolTip.Content>
</t:RadToolTip>

But all that is displayed in the UI is "System.Windows.Controls.Textbox".
Yoan
Telerik team
 answered on 02 Oct 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
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?