Telerik Forums
UI for WPF Forum
0 answers
234 views

Hi, 

I have a RadGridView that uses DataContext="A" and I want for one of the GridViewDataColumn to use other DataContext="B".

 

I would be happy if you could explain to me how to do this.

Thanks

Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
 updated question on 18 Nov 2021
0 answers
148 views
Problem Solved Already.
JIJIKO
Top achievements
Rank 1
Iron
 updated question on 18 Nov 2021
1 answer
825 views

Hello,
I'm using a notifyIcon in my application and it doesn't work, but I saw that also the samples included in  "Progress Telerik UI for WPF"  don't work.
Maybe there is a windows 10 setting? I look in the settings of tray notification area but I didn't see any setting that can disable the working.

Thank you

Luigi

Dilyan Traykov
Telerik team
 answered on 17 Nov 2021
2 answers
982 views

Hello 

I did manually converted a .NET Framework 4.7.2 to .NET Core 5.0. I did the conversion by editing the .csproj files using Sdk format.

I have Telerik WPF libraries (2021.3.914) installed locally, and the project refers to the local DLLs.

I don't get any design-time error. I can even see the preview  of the page and controls in the designer. 

When I run the app I get a runtime error.

 

System.TypeInitializationException: 'The type initializer for 'Telerik.Windows.Controls.TelerikLicense' threw an exception.'

MissingMethodException: Method not found: 'System.ActivationContext System.AppDomain.get_ActivationContext()'.

 

I have two projects running side by side: the .NET Framework 4.7.2 runs fine, .NET Core 5.0 fails.

 

Thanks

Herald

 

 

Herald
Top achievements
Rank 1
Veteran
Iron
 answered on 17 Nov 2021
1 answer
162 views

Hello 

I am trying to convert a .NET Framework 4.7.2 (Prism) application to .NET Core. I am trying to use the Telerik WPF Project Converter, but I am hitting this error right after I click "Next" on the first screen of the wizard.

(See screenshot)

This is the message:

The wizard encountered an error while trying to handle user event.

System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at Telerik.Windows.WPF.VSX.ProjectConfigurators.NetCoreCheckableProjectItemsFactory.Create(IList`1 distributionTokens)
   at Telerik.VSX.Wizards.ViewModels.UpgradeProjectWizardViewModel`2.get_ProjectItems()
   at Telerik.Windows.WPF.VSX.Wizards.UpgradeProjectWizardBase`2.TryGetProjects(Version targetFramework, Boolean useNoXaml)
   at Telerik.Windows.WPF.VSX.Wizards.NetCoreConvertWizard.TryGetFrameworkProjects(Boolean useNoXaml)
   at Telerik.Windows.WPF.VSX.Wizards.NetCoreConvertWizard.GetPropertyValue(String propertyName)
   at Telerik.VSX.WizardEngine.Controls.WizardControlBase.PopulateCollectedValues(IPropertyDataDictionary gatheredData)
   at Telerik.VSX.WizardFramework.Pages.DynamicPageController.GetData()
   at Telerik.WizardFramework.Wizard.GetCurrentPageData()
   at Telerik.WizardFramework.Wizard.UpdateNavigation()
   at Telerik.WizardFramework.Wizard.PostMove(Boolean movingNext)
   at Telerik.WizardFramework.Wizard.OnMoveNext()
   at Telerik.WizardFramework.Wizard.UI_Next(Object sender, EventArgs e)
   at Telerik.WizardEngine.Helpers.EventHelper.<>c__DisplayClass0_0.<RaiseEvent>b__0()
   at Telerik.WizardEngine.Helpers.EventHelper.CatchExceptionAndSendReport(Action action)

 

Thanks

Herald

Nikola
Telerik team
 answered on 17 Nov 2021
1 answer
130 views

Hello 

I have a Terlik test version and i am trying to implement a RadGridView in a existing project, but the RadGridView  doesn't alternate correct. 

 

 

Thank you for helping me

 

 

 

Martin Ivanov
Telerik team
 answered on 17 Nov 2021
1 answer
148 views

Hi,

I have 2 RadWatermarkextBox in a RibbonGroup. When I Tab in the first, I want to be inside the second one but doesn't seem to work (even with telerik TabExtensions)

Any ideas?


<telerik:RadRibbonGroup Header="Filtrage">
                    <telerik:RadOrderedWrapPanel VerticalAlignment="Top">
                        <telerik:RadWatermarkTextBox WatermarkContent="First" />
                        <telerik:RadWatermarkTextBox WatermarkContent="Second" IsTabStop="True"/>
                    </telerik:RadOrderedWrapPanel>
</telerik:RadRibbonGroup>

Stenly
Telerik team
 answered on 17 Nov 2021
1 answer
183 views
How to set custom color on currentauthor bubble (inlinemessage) in Chat Conversation UI on WPF? 
Stenly
Telerik team
 answered on 16 Nov 2021
1 answer
806 views

I've just updated Telerik and are now getting this compile time error:

Severity Code Description Project File Line Suppression State
Error XDG0047 The specified value cannot be assigned. The following type was expected: "IFilteringControl". Modelkatalog.Client C:\develop\data-tool-modelkatalog\Modelkatalog.Client\Controls\List\CarVariantsList.xaml 1

I'm getting this error from 2 XAML documents that both implement a custom Fitler for the RadGridView 

I didn't get this error before, and I'm still able to compile and run the project - which kind of defeat the purpose of [Severity: Error]

 

Dilyan Traykov
Telerik team
 answered on 16 Nov 2021
0 answers
293 views

I'm trying to be able to expand nested properties programmatically. Specifically, I have two RadPropertyGrids next to each other for the purpose of comparing two objects and if I expand a nested property on one object I'd like to have the nested property on the other object auto-expand to keep the two views in sync. I'm trying to accomplish this by binding the IsExpanded property of the two property definitions together. This only partially works. When you click the + button to expand a nested property, the corresponding property on the other object disappears. If you click again the corresponding property reappears and they are both collapsed. If you click a third time they both expand as expected. It works correctly from then on. Just the first time is the problem.

This problem even occurs if you remove the RightGrid and just use the button to programmatically change the IsExpanded field. On the first click the property disappears completely. Subsequent clicks work as expected. If you click the + icon on the property itself it works fine.

I need to be able to set PropertyDefinition.IsExpanded programmatically at some point after the PropertyGrid is displayed. Setting it during AutoGeneratingPropertyDefinition is not an option.

I'm using version 2021.3.1109.

Andrew
Top achievements
Rank 1
 asked on 15 Nov 2021
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?