Telerik Forums
UI for WPF Forum
1 answer
110 views
So, after applying the toolbar commands from telerik demos I've noticed that the FixedDocumentViewer.CurrentPageNumber doesn't reset after changing the underlying pdf-document (doesn't work even in the demos). Is this a bug or must I update the current page number somehow manually after the document has changed?

PS: I prefer to use the MVVM-pattern.
Deyan
Telerik team
 answered on 18 Sep 2014
1 answer
127 views
Hello

I need to make a graph showing the results of an inspection of a steel bar. This inspection is performed at the level of millimeters. This inspection may result in some parts of the bar are corrupt, dirty, porous or acceptable. Each result of the inspection is shown with a different color. 

The RadCartesianChart can make a VerticalAxis, but can not find how to apply the colors and values ​​dynamically. I have only managed to secure a number the result of the graph. 

Is there any way to dynamically do this?
Martin Ivanov
Telerik team
 answered on 18 Sep 2014
3 answers
128 views
Hello,

we are using the DragDropManager to manage the drag/drop of items between a RadTileView from/to other type of controls. This works fine.
I have a question after reading this article: http://www.telerik.com/help/wpf/radtreeview-how-to-set-drag-cue-feedback-deny-drop.html
is it possible to accomplish the mentioned functionality (set drag cue feedback deny drop) with a RadTileView control instead of a RadTreeView?

thanks in advance,
Vincent
Zarko
Telerik team
 answered on 17 Sep 2014
1 answer
145 views
During row validation I am checking to see if the row is a duplicate of another row in the GridView. If it is a duplicate, I set IsValid to false.

In RowEditEnded, I only save the underlying entity back to the database if row.IsValid == true.

However, the duplicate row still hangs out in the GridView.  Additionally, if they close the Window and re-open it, the duplicate row is still there (it's a detached entity) even though it hasn't been persisted to the database.  The duplicate row only disappears when the close the appellation and re-launch it.

I could remove all detached entities when the window is closing, but I'm hoping I can just remove the duplicate row in the RowValidating or RowValidated event handlers.

Any suggestions?

Thanks.

Aaron
Dimitrina
Telerik team
 answered on 17 Sep 2014
1 answer
227 views
Hi,

Can you explain the following settings; the documentation is not very clear

AutoCalculateClusteringThreshold = true;
ClusteringEnabled = true;
ClusteringEnabledThreshold = 18;
ClusteringEnabledThresholdMinItems = 100;


I have changed my code to use the VisualisationLayer instead of a DynamicLayer to try and improve performance.  I used to handle the clustering of my points in the code, but now want to use your mechanism.

My datasource may contain say 5000 pin points, all in the uk.
When I zoom to see all of the uk, I would like the points clustered
When I zoom in, I would like to see the points clustered until we get to a point where we can safely display the points e.g. if there are less than 100 visible points in the viewport.
At the moment, I seem to get clustering all the time, and it shows clusters even when there is just a single point

Thanks
Simon

Martin Ivanov
Telerik team
 answered on 17 Sep 2014
6 answers
556 views
Hi,

is there a way to achieve that the validation error tooltip is not only shown if the mouse cursor is within the red triangle in the upper right corner of the cell but also when it is somewhere else in the area of the invalid cell? I need this behaviour especially in non-edit mode.

Regards Uli
Vanya Pavlova
Telerik team
 answered on 17 Sep 2014
1 answer
135 views
I used RadPdfViewer in WPF. I put the pdfviewer in grid. I set the height="*". But the problem is, the pdfviewer extends beyond the screensize of the window and the scrollviewer also not working. Help me to fix it. I have attcached the Snapshot of the window.

<Grid  >
       <Grid.RowDefinitions>
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
 <telerik:RadPdfViewer Grid.Row="0" x:Name="pdfViewer1"  DocumentSource="{Binding url1}"  telerikControls:StyleManager.Theme="Expression_Dark">
 </telerik:RadPdfViewer>
</Grid>
Deyan
Telerik team
 answered on 17 Sep 2014
1 answer
157 views
We are drawing a RadCartesianChart using a  StepLineSeries. So far so good.

How can we make the last step go until the end? Say our last data point is at (8;1) and the end of the x-axis is at 10. How can we make the ChartView draw a line from 8 to 10 to depict the last step (we would not like to add an additional point at (10;1).

See screenshot...
Petar Marchev
Telerik team
 answered on 17 Sep 2014
1 answer
530 views
Hi,

I'm using RadGridView as below, when i try to access the currently Selected item it always returns with null.
the grid items source is Data which is observable collection.

it used to work correctly before but yet i don't know what went wrong. any help?

 <telerik:RadGridView Grid.Row="1"  CanUserReorderColumns="False" CanUserResizeRows="False"  Visibility="Hidden" SelectionUnit="FullRow"
            x:Name="grdRequests" IsFilteringAllowed="True" GroupRenderMode="Flat"  ShowGroupPanel="True" ItemsSource="{Binding Data}" AutoGenerateColumns="False"
            DistinctValuesLoading="RadGridView1_DistinctValuesLoading" RowHeight="30" CellValidating="grdRequests_CellValidating"    ScrollViewer.HorizontalScrollBarVisibility="Visible"
            BeginningEdit="grdRequests_BeginningEdit" AddingNewDataItem="grdRequests_AddingNewDataItem" >
    </telerik:RadGridView>
from C#:   grdRequests.SelectedItem always = null

Dimitrina
Telerik team
 answered on 17 Sep 2014
1 answer
91 views
Hi @ all,

is there already a build-in localization for the ExpressionEditor? I just found this post for silverlight, which also works for WPF.

Thank you!
Dimitrina
Telerik team
 answered on 16 Sep 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
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?