Telerik Forums
UI for WPF Forum
2 answers
113 views
Hi,
Does RadChartView has a SplineRange series implementation?
Also any new progress with implementation of series descriptor for range series? (http://feedback.telerik.com/Project/143/Feedback/Details/98763-add-series-descriptor-for-range-series)
Thanks,
Alex
Pavel R. Pavlov
Telerik team
 answered on 14 Jul 2014
1 answer
238 views
hi everybody
i wanna use raddocking
but when i want use telerikQuickStart:ThemeAwareBackgroundBehavior.IsEnabled="True" i get error

i add   xmlns:telerikQuickStart="clr-namespace:Telerik.Windows.Controls.QuickStart;assembly=QuickStart.Common" but dont help me
in
some thread write
xmlns:tkqs="clr-namespace:Telerik.Windows.Controls.QuickStart;assembly=Telerik.Windows.Controls"
but this not work in my project
<Page x:Class="WpfAtestdock.Page1"
      xmlns:telerikQuickStart="clr-namespace:Telerik.Windows.Controls.QuickStart;assembly=QuickStart.Common"
      mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300" Title="Page1">
 
    <Grid>
        <telerik:RadDocking BorderThickness="0" Padding="0" telerikQuickStart:ThemeAwareBackgroundBehavior.IsEnabled="True" >
            <telerik:RadDocking.DocumentHost>
            <telerik:RadSplitContainer>
                <telerik:RadPaneGroup>
                    <telerik:RadDocumentPane Header="document1" Title="document1"/>
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>
            </telerik:RadDocking.DocumentHost>
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft">
                <telerik:RadPaneGroup>
                    <telerik:RadPane Header="pan left1">
                        <TextBlock Text="pan left 1"/>
                    </telerik:RadPane>
                </telerik:RadPaneGroup>
                <telerik:RadPaneGroup>
                    <telerik:RadPane Header="pane left 2">
                        <TextBlock Text="pane left 2"/>
                    </telerik:RadPane>
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>
        </telerik:RadDocking>
    </Grid>
</Page>

please see my attach file
http://uplod.ir/jj74goijoexi/WpfAtestdock.zip.htm


error:
An unhandled exception of type 'System.IO.FileLoadException' occurred in PresentationCore.dll

Additional
information: Could not load file or assembly 'Telerik.Windows.Controls,
Version=2013.3.1016.40, Culture=neutral,
PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The located
assembly's manifest definition does not match the assembly reference.
(Exception from HRESULT: 0x80131040)
Kalin
Telerik team
 answered on 14 Jul 2014
1 answer
274 views
I read some threads on it forum on this topic and I produced the following code in  xaml:

 <Grid>           
                                <telerik:XamlDataProvider x:Name="XamlDataProvider" Xaml="{Binding xxx}"
                                    RichTextBox="{Binding ElementName=RadRichTextBox}"/>
                                <telerik:RadRichTextBox x:Name="RadRichTextBox" IsSpellCheckingEnabled="False"/>
                                <!--<TextBlock Text="{Binding xxx}"></TextBlock>-->
                            </Grid>

The xxx is a property in my view model. The data from RadRichTextBox document I convert to xaml and save in database and when I open a window and in database is the xxx I want to display it in RadRichTextBox. Now it's don't work. When I uncomment the line with textblock then in it there is the xaml string so datacontex should be good.
Dariusz
Top achievements
Rank 1
 answered on 14 Jul 2014
1 answer
174 views
Dear all,
I create an application using WPF (MVVM) along with Telerik UI for WPF. I got into a problem with exporting gridview to excel using GridView's export method.
Simply saying, all column headers that contain custom header show a type name instead of Header.Text:
<t:GridViewComboBoxColumn  Name="InterestAlgorithmColumn"
                                               
                                             ItemsSourceBinding="{Binding Source={StaticResource InterestAlgorithmsViewSource},UpdateSourceTrigger=PropertyChanged}"
                                             DataMemberBinding="{Binding InvestmentAlgorithmCode, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                             DisplayMemberPath="AlgorithmName"
                                             SelectedValueMemberPath="AlgorithmCode"
                                             IsReadOnly="True">
                        <t:GridViewComboBoxColumn.Header>
                            <TextBlock Text="Algorithm Name" TextWrapping="Wrap"  Width="100"/>
                        </t:GridViewComboBoxColumn.Header>
                    </t:GridViewComboBoxColumn>

Is there a solution for this? Maybe there is another approach since I use custom .Header section because of Business wants to have the headers wrapped and setting Wrap in GridViewComboBoxColumn seems not working.

Regards
Tom
 
Yoan
Telerik team
 answered on 14 Jul 2014
2 answers
635 views
Hi Telerik,

I have a problem getting the correct mouse coordinates(lineSeries is a RadCartesianChart). I know how to get the coordinates:

var mousePosition = e.GetPosition(lineSeries);
DataTuple tuple = lineSeries.ConvertPointToData(mousePosition);

double x = (double)tuple.FirstValue;
double y = (double)tuple.SecondValue;

But i have 3 axes on my graph and when i extract the mouse coordinates i get the coordinates for the wrong axes. They are defined like this:

<telerik:RadCartesianChart.HorizontalAxis>
<telerik:LinearAxis VerticalLocation="Bottom" Title="Concentration(µmol/L)" x:Name="HorizontalAxis"/>
</telerik:RadCartesianChart.HorizontalAxis>

<telerik:RadCartesianChart.VerticalAxis>
<telerik:LinearAxis IsInverse="True" Title="Depth(µm)" x:Name="VerticalAxis"/>
</telerik:RadCartesianChart.VerticalAxis>

Haxis = new LinearAxis();
Haxis.Title = "Rate (nmol cm-3 s-1)";
Haxis.VerticalLocation = AxisVerticalLocation.Top;
Haxis.IsInverse = true;

I get the mouse coordinates for the horizontal axis defined in XAML but i want mouse coordinates for the horizontal axis defined in the C# code.

So how would i extract mouse coordinates for the correct axes when i have more than two?

Best regards,
Jeppe
Unisense
Top achievements
Rank 1
 answered on 14 Jul 2014
1 answer
230 views
Hello,
I would like to bind entity from the itemsource collection to the command parameter.

My goal is to open certain entity when it is clicked from the grid, but have unable to bind
the entity from the binded collection.

Is this possible to do by using MVVM approach?
One challenge is that I have two telerik:BarSeries defined for the chart.

So this code line at the below needs to be sorted out,
"CommandParameter="???????????????" 

Here is the full code:


<telerik:RadCartesianChart Margin="10" IsHitTestVisible="True">

           <telerik:RadCartesianChart.Grid>
                <telerik:CartesianChartGrid MajorLinesVisibility="XY" MajorXLinesRenderMode="All">
                </telerik:CartesianChartGrid>
           </telerik:RadCartesianChart.Grid>

            <telerik:RadCartesianChart.HorizontalAxis>
                <telerik:DateTimeContinuousAxis MajorStepUnit="Minute" MajorTickStyle="{StaticResource MajorTickStyle}" PlotMode="OnTicksPadded">
                    <telerik:DateTimeContinuousAxis.TitleTemplate>
                        <DataTemplate>
                            <TextBlock Text="{Binding}"></TextBlock>
                        </DataTemplate>
                    </telerik:DateTimeContinuousAxis.TitleTemplate>
                </telerik:DateTimeContinuousAxis>
            </telerik:RadCartesianChart.HorizontalAxis>
            
            <telerik:RadCartesianChart.VerticalAxis>
                <telerik:LinearAxis Minimum="0" Maximum="200" ShowLabels="False"></telerik:LinearAxis>
            </telerik:RadCartesianChart.VerticalAxis>

            <telerik:BarSeries ItemsSource="{Binding EntityData1}" ValueBinding="EntityTime" CategoryBinding="EntityTakingTime" Height="1000">
                <telerik:BarSeries.PointTemplate>
                    <DataTemplate>
                        <Rectangle x:Name="RectangleGreen" Fill="Green" MaxWidth="20"/>
                    </DataTemplate>
                </telerik:BarSeries.PointTemplate>
            </telerik:BarSeries>

            <telerik:BarSeries ItemsSource="{Binding EntityData2}" ValueBinding="EntityTime" CategoryBinding="EntityTakingTime" Height="1000">
                <telerik:BarSeries.PointTemplate>
                    <DataTemplate>
                        <Rectangle x:Name="RectangleRed" Fill="Red" MaxWidth="20"/>
                    </DataTemplate>
                </telerik:BarSeries.PointTemplate>
            </telerik:BarSeries>

           <telerik:EventToCommandBehavior.EventBindings>
                <telerik:EventBinding Command="{Binding OpenEntityCommand}" 
                                      EventName="MouseLeftButtonDown" 
                                      RaiseOnHandledEvents="True"
                                      CommandParameter="???????????????" />
            </telerik:EventToCommandBehavior.EventBindings>

</telerik:RadCartesianChart>


Check the attached screenshot to see the generated chart.
Green and red bars should work as links to open certain entity.

Best Regards, Tommi







Petar Marchev
Telerik team
 answered on 14 Jul 2014
10 answers
254 views
Hi,

In my ScheduleView control, I display from monday to friday, from 8:00AM to 9:00PM. In the grid, I can have appointments, specials slot and empty cells, so, I know there is an event when an appointment selection changed but I didn't find anything for "special slot" or "empty cell" selection changed!!! Can you tell me if something exist for that?

Thank's
Alain
Yana
Telerik team
 answered on 14 Jul 2014
5 answers
109 views
Hi,

I just checked your documentation about RadScheduleView and aspnet-ajax RadScheduler.
The first looks like this:
http://www.telerik.com/help/wpf/radscheduleview-populating-with-data-binding-to-db-datatier.html
And for ajax it is:
http://www.telerik.com/help/aspnet-ajax/scheduler-database-structure.html

As far as I can see the DB-Structure is different.
For Recurrence I found - for WPF
[RecurrencePattern] [varchar](100) NULL,
and for AJAX
[RecurrenceRule] nvarchar(1024) NULL,
[RecurrenceParentID] INT NULL,

My approach is to build a "schedule manager" in WPF - and an ASPX page on the intranet where everyone can view the schedules.
Does this work?
Or in other words - is there a compatible DB structure, or not?

Thanks in advance
Manfred
Kalin
Telerik team
 answered on 14 Jul 2014
3 answers
295 views
Hi,

I have a RadGridView with a GridViewCheckBoxColumn defined like so:
<telerik:GridViewCheckBoxColumn AutoSelectOnEdit="True" DataMemberBinding="{Binding Selected, Mode=TwoWay}" EditTriggers="CellClick" />

The checkbox autoselect works as expected - one click checks or unchecks it.

I need the Selected property, bound to DataMemberBinding, to get notified/called any time checkbox check/uncheck happens. In my case this does not happen when the cell is in edit mode. So I click the cell, the check box gets checked, but no notification goes to the Selected property until I click on some other cell.
Looks like the event doesn't get sent to the bound property while the cell is in edit mode, even though the check box gets checked, only after leaving the edit mode the property gets the notification.
How can this be fixed so that one click both checks the checkbox and notifies my Selected property without having to leave the cell?

Really appreciate the help!


Yoan
Telerik team
 answered on 14 Jul 2014
2 answers
198 views
Hi.

I'd like to be able to disallow the user from selecting connections between the nodes.

I.e.: The user selects a group of nodes on the canvas by dragging the selection rectangle to include the desired nodes. By default, the connections in the rectangle are selected too: They are included in the SelectedItems (IEnumerable) at the time the SelectionChanged event is fired.
Is it in any way possible remove the links between the nodes from the selected items.



Pavel R. Pavlov
Telerik team
 answered on 14 Jul 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
SplashScreen
Rating
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?