Telerik Forums
UI for WPF Forum
1 answer
120 views

1. While in the Week view, click on a slot under Day X.
2. Then click on the header of another day, say Day Y (where Y is different than X).
This will bring you back to the Day view for Day Y
3. Now double-click immediately on any slot to create an appointment. The start time will show the date/time of the slot selected at step 1, not that of the slot you double-clicked on.

 

Kalin
Telerik team
 answered on 18 Nov 2015
2 answers
230 views

Hello,

I have a gridview below. The code "await Task.Run(() => { View.clear(); });" throw an exception:"The calling thread cannot access this object because a different thread owns it." But if I remove "<telerik:GridViewSelectColumn/>", it​ works, please tell me how to fix it? Thanks.

<telerik:RadGridView Name="view" ShowGroupPanel="False" Margin="10" IsReadOnly="True" ItemsSource="{Binding View}" AutoGenerateColumns="False" SelectionMode="Extended">
                <telerik:RadGridView.RowStyle>
                    <Style TargetType="telerik:GridViewRow">
                        <Setter Property="IsSelected" Value="{Binding IsSelected, Mode=OneWayToSource}"/>
                    </Style>
                </telerik:RadGridView.RowStyle>
                <telerik:RadGridView.Columns>
                    <telerik:GridViewSelectColumn/>
                    <telerik:GridViewDataColumn Header="Name" DataMemberBinding="{Binding Name}"/>
                </telerik:RadGridView.Columns>
            </telerik:RadGridView>

Chen
Top achievements
Rank 1
 answered on 18 Nov 2015
4 answers
236 views

Hello support,

how can I get the selected cell within a TreeListView?

With TreeListView.SelectedItem I get the whole row (mark yellow in attached image), but how can I get the column of the selected cell (see image)?

I need this information to display a summary of the selected column.

 Thanks in advance

Marcus

Marcus
Top achievements
Rank 1
 answered on 17 Nov 2015
14 answers
350 views
Hi 

I have the following XAML defining a column with a RadNumericUpDown in the CellEditTemplate

<telerik:GridViewDataColumn DataMemberBinding="{Binding IntegerProperty}" Header="IntegerProperty">
    <telerik:GridViewDataColumn.CellEditTemplate>
        <DataTemplate>
            <telerik:RadNumericUpDown ValueFormat="Numeric" Value="{Binding IntegerProperty, Mode=TwoWay}" Minimum="1" Maximum="2" ShowButtons="False" NumberDecimalDigits="0">
            </telerik:RadNumericUpDown>
        </DataTemplate>
    </telerik:GridViewDataColumn.CellEditTemplate>
</telerik:GridViewDataColumn>

Based on the above XAML, I expect the editor to restrict values to either a 1 or a 2 (these values are just an example). The behaviour I'm experiencing is that when I capture a value outside the min max bounds. The editor does not allow it, but the value displayed by the Grid is the out of bounds value. When I click back on the cell to go to the editor the value is constrained to the bounds. So I'm not sure what the real value is?

Any ideas?
Stefan Nenchev
Telerik team
 answered on 17 Nov 2015
4 answers
159 views

I have a custom QueryProvider implementation, with which I'm able to intercept Linq queries on a custom collection implementation and send this query to an API, implementing server-side filtering of data; I have RadGridViews working this way.

I was trying to achieve this with the RadAutoCompleteBox, while retaining the option to keep free text input, but it seems the ToList of ItemsSource is forcefully called *before* the filtering is done (enforcing client side filtering);

I've looked at the IFilteringBehavior interface, but it seems it gets an IList (which my collection doesn't implement, will ToList be called as well?) as a parameter; is there any way to implement this? I'm going to give IFilteringBehavior a chance, just want to be sure if there's anything better or if it doesn't work.

Fabrice
Top achievements
Rank 1
 answered on 17 Nov 2015
1 answer
118 views

Hi there!

May you help me  about some telerik component/tool to work with positional files(Files that have field determined by inicial e final positions), something like excel tool (attached picture)

A component like a track bar where user can select several positions in a file determining a initial and final position of each field

 

 

Todor
Telerik team
 answered on 17 Nov 2015
2 answers
170 views

Hello,

is there a way to place the tabs at the bottom of the document host? Here's my XAML. I'm not sure how to move them to the bottom.

 

Thanks,

Scott

 

<telerikDocking:RadDocking.DocumentHost>
                <telerikDocking:RadSplitContainer  x:Name="gridSplitterContainer">
                    <telerikDocking:RadPaneGroup>
                        <telerikDocking:RadPane  CanFloat="False" Header="Tab 1" CanUserClose="False" CanUserPin="True" x:Name="gridPane">                            
                        </telerikDocking:RadPane>
                        <telerikDocking:RadPane  CanFloat="False" Header="Tab 2" CanUserClose="False" CanUserPin="True" x:Name="gridPane2">                           
                        </telerikDocking:RadPane>
                    </telerikDocking:RadPaneGroup>
                </telerikDocking:RadSplitContainer>
            </telerikDocking:RadDocking.DocumentHost>

Kalin
Telerik team
 answered on 17 Nov 2015
1 answer
128 views

InvalidOperationException: 'PART_Clock' name cannot be found in the name scope of 'System.Windows.Controls.Grid'.

At runtime i have no errors

Kalin
Telerik team
 answered on 17 Nov 2015
1 answer
220 views

Hi @All,

as far as I could see from the samples the Telerik UI for WPF components are mainly targeted towards an WCF-based backend service.

Is it easily possible to use a ASP.NET MVC WebAPI REST-service as a backend from a WPF Desktop application?

I'd like to build a SPA web app that uses MCV Web API as a backend. There is also a mobile app that uses the same REST-services.  But for some functions the browser is not a good ​platform and I'd like to give our users a "fat-client" (e.g. for report design, Office ole-automation). But I'd also like to use the same backend for both and I wouldn't like to build a new WCF-backend only for the desktop clients. Of course the WPF application should be full-featured (data grids, data filters) and I don't want to re-invent the wheel.

Are there any samples available for this scenario?

 

Kind regards

Gerold

 

Maya
Telerik team
 answered on 17 Nov 2015
1 answer
253 views

Hello,

I'm writing a custom filter for a RadGridView and it works almost perfectly.

The only problem I have is that I am calling GetDistinctValues(ColumnToPrepare, True, Nil) on the IFilterDescriptor.Prepare method, in order to know which values I must display. During the call to GetDistinctValues, the GridView runtime calls the filter expression to filter the items.

From the documentation, it seems that this overload of GetDistinctValues should filter the items with other filters, but not the one on the current column. Is there an error in the documentation or an error in the code?

Note that I've currently curcumvent the problem by using a field to "disable" my filter in this case, but it is not a "clean" solution.

Yoan
Telerik team
 answered on 16 Nov 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
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?