Telerik Forums
UI for WPF Forum
1 answer
119 views
Hi,

I've added an option on my RadChart to toggle between the Y-axis being logarithmic & non logarithmic. This is at run time so a user can flick between the two after the data has been plotted.

I'm seeing some funny behaviour with points not appearing where they should. Before looking into this further I wanted to check if I should be clearing down the series and re drawing them whenever I change the value of IsLogarithmic on the Y-axis?

Any help is much appreciated.

Thanks,

Rob
Petar Marchev
Telerik team
 answered on 10 Feb 2014
2 answers
246 views
Steps:
1. Add a pdf viewer to code (see the attachement for the markup)
2  Set SelectedFilePath property to a valid file name
3. Pdf viewer displayed the loading image
4. Before it completes the file load, change SelectedFilePath property to null
5. Pdf viewer keep displaying the loading image (it doesnt get cleared).

As I checked, the Pdf viewer's loading image is cleared only when the pdf file is loaded, but not when a Document=null is set (if it was displaying the image).

Can you please check whether I have a solution to the problem
Indrajith
Top achievements
Rank 1
 answered on 09 Feb 2014
4 answers
837 views
For certain rows I don't want the cell to be editable or show any content. Maybe focusable but user wouldn't be able to go into edit mode. This behavior would be based on a value of the row's data context. Essentially, certain attributes don't apply to certain rows, so user shouldn't be able to interact with those columns at all.

How can you go about doing this that doesn't require that I recreate the data template?
Carlos
Top achievements
Rank 1
 answered on 08 Feb 2014
1 answer
972 views
Greetings Telerik,

  I have multiple RadGridViews which consist of both GridViewDataColumns as well as GridViewSelectColumns. Is there a way I can set the style for each column type once and have it apply to all RadGridViews? 

If I include this style in the resources section of my application's MainWindow, it works fine and all cells will receive the styling I desire:

<Style TargetType="{x:Type telerik:GridViewCell}">
<Setter Property="VerticalContentAlignment" Value="Top"/>
</Style>


However that will affect checkboxes in GridViewSelectColumns which I would like to remain "centered" regarding their VerticalContentAlignment... so I tried this (also in the resources section of my Mainwindow):

<Style TargetType="{x:Type telerik:GridViewDataColumn}">
    <Setter Property="CellStyle">
        <Setter.Value>
<Style TargetType="{x:Type telerik:GridViewCell}">
<Setter Property="VerticalContentAlignment" Value="Top"/>
</Style>
        </Setter.Value>
</Setter>
</Style>


However it does not seem to apply the styling to any cells... But, if I go to each column in each grid and set the style manually (using the same style) for each one it does work:

<Style x:Key="myStyle"  TargetType="{x:Type telerik:GridViewCell}">
    <Setter Property="VerticalContentAlignment" Value="Top"/>
</Style>

<telerik:RadGridView
            x:Name="mygridview"
            ShowGroupPanel="False"
            ItemsSource="{Binding Path=MyView}"
            AutoGenerateColumns="False"
            SelectionMode="Extended"
            SelectedItem="{Binding Path=SelectedRecord}"
            RowIndicatorVisibility="Collapsed"
            CanUserFreezeColumns="False"
            CanUserDeleteRows="False"
            ScrollMode="Deferred">
    <telerik:RadGridView.Columns>
        <telerik:GridViewSelectColumn />
        <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=RecordName}" CellStyle="{StaticResource myStyle}" />
        <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=RecordName}" CellStyle="{StaticResource myStyle}" />
        <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=RecordName}" CellStyle="{StaticResource myStyle}" />
    </telerik:RadGridView.Columns>
</telerik:RadGridView>


Any advice you could provide would be greatly appreciated. I'm using .NET 4.5.1 with Telerik UI for WPF Q3 2013 SP2 (13.3.1316.0) in Visual Studio 2013. Thanks!

Cheers,
Beau
Yoan
Telerik team
 answered on 08 Feb 2014
1 answer
65 views
Got the latest DLL only dev build of the WPF controls, dropped the DLLs into my project folder, clean, rebuild and get
Error 1 The name "RadWindow" does not exist in the namespace "http://schemas.telerik.com/2008/xaml/presentation". 

Did the namespace change?

Why would updating the DLLs cause this?

Any help appreciated.

rjsjr
Sandra
Top achievements
Rank 1
 answered on 07 Feb 2014
1 answer
133 views
I was wanting to know if there was a way to add to the FilterOperator enums or change what they display as. If those were not possible, can I override the operators dropdown with my own collection?
Hristo
Telerik team
 answered on 07 Feb 2014
1 answer
140 views
Hi Team,

With Q3 release if I make a new document and have a table inside it. I use table styles to add style to this table. I save this document as html. All is well till now. The problem starts when I open this html from editor , the document shows up with table. But, when I try to edit the table style, it fails to edit it and the original style/ color still remains.  How to workaround this issue?

Regards,
Kushagra
Missing User
 answered on 07 Feb 2014
1 answer
240 views
Hi,

I wanted to change header of GridViewColumnGroup in runtime, the values are assigned but not reflected in UI.
How is that possible? how should i change the header of groups?
here is my current code to change it.

  grdTimeRecording.ColumnGroups[1].Header = string.Format("{0:ddd, d MMM}", _firstDate);
            grdTimeRecording.ColumnGroups[2].Header = string.Format("{0:ddd, d MMM}", _firstDate.AddDays(1));
            grdTimeRecording.ColumnGroups[3].Header = string.Format("{0:ddd, d MMM}", _firstDate.AddDays(2));
            grdTimeRecording.ColumnGroups[4].Header = string.Format("{0:ddd, d MMM}", _firstDate.AddDays(3));
            grdTimeRecording.ColumnGroups[5].Header = string.Format("{0:ddd, d MMM}", _firstDate.AddDays(4));
            grdTimeRecording.ColumnGroups[6].Header = string.Format("{0:ddd, d MMM}", _firstDate.AddDays(5));
            grdTimeRecording.ColumnGroups[7].Header = string.Format("{0:ddd, d MMM}", _firstDate.AddDays(6));
Hristo
Telerik team
 answered on 07 Feb 2014
1 answer
121 views
Hi, does anyone have any sample of that?
is it possible using RadGridView on WPF 4.5?

Thanks a lot for your help and comments,
Hristo
Telerik team
 answered on 07 Feb 2014
1 answer
107 views
Hi, I've made a modal dialog using RadWindow (W1), and had another RadWindow (W2) pop up from W1.
What I want to do is when I close W2, W1 should get notified of the closing event of W2, but currently as far as I know, this is impossible.
Please help me!
Kalin
Telerik team
 answered on 07 Feb 2014
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
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
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?