Telerik Forums
UI for WPF Forum
1 answer
122 views
I am currently trying to build a data service currently using .net core 5 and plan to use the RadDataServiceDataSource tool to connect the front end. While setting it up, I noticed that WCF Data Services are deprecated and Microsoft says to use Restier. Is this compatible with your tools? Also, if it is, is there any working examples of this?
Martin Ivanov
Telerik team
 answered on 18 Jan 2022
1 answer
445 views

I've noticed in the Auto Complete Box if you type a selection (or paste) and then left mouse click off the control the Selected Item will not be populated.

If I type (or paste) a selection and hit the "tab" key it will select the item.

How can I select the item when the user left mouse clicks off the control?

I can easily duplicate this with the "Auto Complete Box | First Look" from the WPF Controls Example.

See the attached pics.

The first example I typed "Respect" into the autocomplete box for Best Music Hit.  I hit the Tab button and the data populated.

The second example I typed "Respect" into the autocomplete box for Best Music Hit.  I then left mouse clicked outside of that control and the data does not populate.

Please advise.

Stenly
Telerik team
 answered on 18 Jan 2022
1 answer
99 views

Hi,

on the Telerik website the following documentation can be found about Column Groups:

(figure 5 is not included here since it was not necessary)

I don't want the RadGridView to duplicate the column group once the FrozenColumnSplitter has been moved to the first column.
In my case I only have one column group, and I don't want it duplicated if the Frozen Column splitter is moved:

Do you know how I can change this?
Thanks!

Stenly
Telerik team
 answered on 18 Jan 2022
1 answer
188 views

Hi

I want to ask if there is any option to make QueryableEntityCoreCollectionView perform in backgroud with showing some loading icon on grid, cause it has slow performance for loading large DB table?

UI is not responding while loading. With pagging it is better, but we whould like to not use pagging. I was testing QueryableEntityCoreCollectionView on MVVM example: https://docs.telerik.com/devtools/wpf/controls/radentityframeworkcoredatasource/entityframeworkcore-mvvm-usage

Thanks  

BR

Peter

Dilyan Traykov
Telerik team
 answered on 18 Jan 2022
1 answer
113 views

Can I link between Connection and Connection?

If it possible, tell me please,,,

 

Dilyan Traykov
Telerik team
 answered on 17 Jan 2022
1 answer
410 views

hello.

I used the scroll synchronization function in two gridviews through the linked example.
https://www.telerik.com/forums/scrolling-two-grids-f949e02b84ab

Since this is an old version, the ShowSearchPanel property does not exist.

If I put a SearchPanel in "PART_VerticalScrollBar", two objects appear.

When SearchPanel=true, the first is the VerticalScrollBar of SearchPanel, and the second is the VerticalScrollBar of the GridView.

When SearchPanel=false, only VerticalScrollBar of GridView is displayed.

How can I identify the "PART_VerticalScrollBar" of the GridView when the user uses the SearchPanel as a variable? I guess you shouldn't use "LastOrDefault".

Thanks.

Martin Ivanov
Telerik team
 answered on 14 Jan 2022
2 answers
226 views
Hello. How to make the field fill the width of the container and not stretch to fit the text. Two pictures in the attachment. In the second image, the PropertyGrid extends outside the container. 
Stenly
Telerik team
 answered on 14 Jan 2022
2 answers
181 views
Hello.

This is similar to my most recent post.

Is the current example also not recommended? This is a row style using Visivility Hidden Converter.
I can see the opposite grid row when checked.

Here, I gave "AlternationCount" and the data is displayed with a gray background.

However, it is not visible when using the Search filter. (Visible when checked)

This seems like a bug.
Please confirm.

Thanks.
Psyduck
Top achievements
Rank 5
Bronze
Bronze
Bronze
 answered on 13 Jan 2022
1 answer
122 views

Hi,

I'm trying to toggle the visibility of my columns based on the input of the search panel. My goal is to achieve something similar to this.

So I have created a very simple behavior like this:

internal class SearchColumnsByNameBehavior : Behavior<RadGridView>
{
    protected override void OnAttached()
    {
        base.OnAttached();

        AssociatedObject.ShowSearchPanel = true;
        AssociatedObject.Searching += OnSearching;
    }

    protected override void OnDetaching()
    {
        AssociatedObject.Searching -= OnSearching;

        base.OnDetaching();
    }

    private void OnSearching(object sender, GridViewSearchingEventArgs args)
    {
        foreach (GridViewColumn column in AssociatedObject.Columns)
        {
            string columnHeader = column.Header?.ToString();

            if (!string.IsNullOrEmpty(columnHeader))
            {
                column.IsVisible = columnHeader.Contains(args.SearchText);
            }
        }
    }
}

Unfortunately, when typing text in the textbox of the search panel, I get the following exception:

'No coercion operator is defined between types 'System.String' and 'MyProject.SomeClass+MyEnum'

Where 'MyEnum' is  of type:

[Flags] enum MyEnum : ulong

Looks like there are things done under the hood of the search panel that I don't know about, or is it the '+' that is actually the real problem here?

What am I supposed to do? Thanks in advance!

 

Full stacktrace:

System.Linq.Expressions.Expression.GetUserDefinedCoercionOrThrow(ExpressionType coercionType, Expression expression, Type convertToType)
   at Telerik.Windows.Data.Expressions.FilterDescriptorExpressionBuilder.CreateLeftOperandExpression()
   at Telerik.Windows.Data.Expressions.OperatorValueFilterDescriptorExpressionBuilderBase.CreateBodyExpressionThreadSafe()
   at Telerik.Windows.Data.Expressions.FilterDescriptorCollectionExpressionBuilder.CreateBodyExpressionThreadSafe()
   at Telerik.Windows.Data.Expressions.FilterDescriptorCollectionExpressionBuilder.CreateBodyExpressionThreadSafe()
   at Telerik.Windows.Data.Expressions.FilterDescriptorCollectionExpressionBuilder.CreateBodyExpressionThreadSafe()
   at Telerik.Windows.Data.Expressions.FilterExpressionBuilder.CreateFilterExpression()
   at Telerik.Windows.Data.QueryableExtensions.Where(IQueryable source, CompositeFilterDescriptorCollection filterDescriptors)
   at Telerik.Windows.Data.QueryableCollectionView.CreateView()
   at Telerik.Windows.Data.QueryableCollectionView.CreateInternalList()
   at Telerik.Windows.Data.QueryableCollectionView.get_InternalList()
   at Telerik.Windows.Data.QueryableCollectionView.get_InternalCount()
   at Telerik.Windows.Data.QueryableCollectionView.get_IsEmpty()
   at Telerik.Windows.Controls.GridView.BaseItemsControl.OnItemsCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Controls.GridView.GridViewDataControl.OnItemsCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Data.DataItemCollection.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Data.DataItemCollection.OnCollectionViewCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Data.QueryableCollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
   at Telerik.Windows.Data.QueryableCollectionView.RefreshOverride()
   at Telerik.Windows.Data.QueryableCollectionView.RefreshOrDefer()
   at Telerik.Windows.Data.QueryableCollectionView.InvalidatePagingAndRefresh()
   at Telerik.Windows.Data.QueryableCollectionView.OnFilterDescriptorsChanged()
   at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Data.ObservableItemCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Data.RadObservableCollection`1.ResumeNotifications()
   at Telerik.Windows.Data.CollectionHelper.Reset(IEnumerable source, IList target, Func`2 itemConverter)
   at Telerik.Windows.Data.ObservableCollectionManager.HandleCollectionChanged(IList sender, NotifyCollectionChangedEventArgs args)
   at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Data.ObservableItemCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Data.RadObservableCollection`1.ResumeNotifications()
   at Telerik.Windows.Controls.GridView.SearchPanel.SearchViewModel.set_SearchText(String value)'
Eldoir
Top achievements
Rank 2
Iron
Iron
Iron
 updated answer on 12 Jan 2022
1 answer
255 views

Hello, I have a RadRibbonGroup with content that I want to fill all available space in the group.

The content is intended to be more advanced, but in its most simple form it can be demonstrated with a textbox like this:

<telerik:RadRibbonGroup Header="My group" Width="200" Height="100">
    <TextBox av:Text="Some text"/>
</telerik:RadRibbonGroup>

The size of the RadRibbonGroup is set dynamically but in the example is locked to a static size. In this case I want the content of the group (the textbox) to stretch in all directions. Vertically this works works as expected and the textbox is stretched by default and can be set to top, bottom, etc. with the VerticalAlignment property. However, everything i do horizontally seems to be ignored.

The attached image demonstrates how the code above looks and what I want it to do. How do I make this work?

Stenly
Telerik team
 answered on 12 Jan 2022
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
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
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?