Hey i dont want to use the integrated version of the Searchpanel because my design has it a different possition than direktly above it.
So i want to use <telerik:GridViewSearchPanel /> but i dont know how to bind it to the RadGridView.
Thanks
Dominik
Hi,
I'm trying to debug the salesdashboard source and receive the following error? Not sure how to resolve, can someone help please?
System.Data.Services.Client.DataServiceQueryException
HResult=0x80131509
Message=An error occurred while processing this request.
Source=Microsoft.Data.Services.Client
StackTrace:
at System.Data.Services.Client.QueryResult.EndExecuteQuery[TElement](Object source, String method, IAsyncResult asyncResult)
at System.Data.Services.Client.DataServiceRequest.EndExecute[TElement](Object source, DataServiceContext context, String method, IAsyncResult asyncResult)
at System.Data.Services.Client.DataServiceQuery`1.EndExecute(IAsyncResult asyncResult)
at SalesDashboard.MainRepository.<>c__DisplayClass22_1.<GetDailyActualsVsTargetsByProduct>b__1() in C:\Users\robertf\Downloads\SalesDashboard_WPF_Dev_2023_3_1114_SourceCode\SalesDashboard\ViewModel\MainRepository.cs:line 126
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
This exception was originally thrown at this call stack:
[External Code]
Inner Exception 1:
DataServiceClientException: <?xml version="1.0" encoding="utf-8" standalone="yes"?>
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<code></code>
<message xml:lang="en-US">An error occurred while processing this request.</message>
</error>
Hi,
We have an old application (VB6) that we are migrating to WPF and .NET 8. I use your WPF controls in this application. We use this application to creat test templates for different instruments.
Each test template consists of one or more subtest templates. Each subtest template consists of a test grid with different number of rows and columns, depending of instrument and type of test.
The subtest template grids data is stored in a database. Each subtest are stored in one table, each column number is stored in one table with foreign key to the subtest table, each cells value and row number is stored in one table with foreign key to the column table.
So far I have managed read data to my gridview with the help of your article https://docs.telerik.com/devtools/wpf/controls/radgridview/how-to/use-mixed-clr-dlr-properties.
First question,
I want the 4 first rows to be comboboxes, different combobox data for each row. I have been able to get comboboxes with DataTempletSelector, DataTemplate and RadGridView_AutoGeneratingColumn,
with help from this forum post from Petar Mladenov https://www.telerik.com/forums/unable-to-use-datatemplates-with-gridview-dynamic-data-not-even-with-icustomtypeprovider.
But my problem is that I don't get any data in the comboboxes. So how should I define my combobox so it databinds to my collection of comboboxdata?
Second question,
If I manage to fill the comboxes with data I don't know how to databind selectedvalue to my ObservableCollection<MyDataRow>, so how can I do that?
The rest of the gridcells are textboxes and they databinds automatically and updates my ObservableCollection<MyDataRow> when I change a value in a cell.
This is my gridview,
<telerik:RadGridView x:Name="TestCasesGridView"
ItemsSource="{Binding SubtestTestCases, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, BindsDirectlyToSource=True}"
IsFilteringAllowed="False"
CanUserSortColumns="False"
ShowColumnHeaders="True"
ShowSearchPanel="True"
SearchMode="MatchAllTerms"
SearchPanelCloseButtonVisibility="Collapsed"
IsSynchronizedWithCurrentItem="False"
AutoGenerateColumns="True"
AutoGeneratingColumn="RadGridView_AutoGeneratingColumn"
Margin="10"
IsReadOnly="False"
ShowGroupPanel="False"
RowIndicatorVisibility="Collapsed"
Height="Auto"
Width="Auto"
ScrollMode="Deferred"
ClipboardCopyMode="Default"
ClipboardPasteMode="AllSelectedRows"
SelectionMode="Single"
SelectionUnit="FullRow"
ScrollViewer.HorizontalScrollBarVisibility="Auto"
ScrollViewer.VerticalScrollBarVisibility="Auto"
CanUserSelectColumns ="False"
GroupRenderMode="Flat">
<telerik:RadGridView.Columns>
<helper:MyColumn Header="#"
Width="30" TextAlignment="Center"/>
</telerik:RadGridView.Columns>
<telerik:RadGridView.Resources>
<helper:MyCellTemplateSelector x:Key="myCellTemplateSelector">
<helper:MyCellTemplateSelector.ColumnNames>
<DataTemplate>
<telerik:RadComboBox ItemsSource="{Binding ColumnNames}" DisplayMemberPath="KBE_Ben" OpenDropDownOnFocus="True"/>
</DataTemplate>
</helper:MyCellTemplateSelector.ColumnNames>
<helper:MyCellTemplateSelector.ColumnUnit>
<DataTemplate>
<telerik:RadComboBox ItemsSource="{Binding ColumnUnits}" DisplayMemberPath="KEN_Kod" OpenDropDownOnFocus="True"/>
</DataTemplate>
</helper:MyCellTemplateSelector.ColumnUnit>
<helper:MyCellTemplateSelector.ColumnInfo>
<DataTemplate>
<telerik:RadComboBox ItemsSource="{Binding ColumnInfos}" DisplayMemberPath="INF_InfoRad" OpenDropDownOnFocus="True"/>
</DataTemplate>
</helper:MyCellTemplateSelector.ColumnInfo>
<helper:MyCellTemplateSelector.ColumnProperty>
<DataTemplate>
<telerik:RadComboBox ItemsSource="{Binding ColumnProperties}" DisplayMemberPath="KEG_Namn" OpenDropDownOnFocus="True"/>
</DataTemplate>
</helper:MyCellTemplateSelector.ColumnProperty>
</helper:MyCellTemplateSelector>
</telerik:RadGridView.Resources>
</telerik:RadGridView>
Hello, telerik,
I tried to upgrade my old WPF apps from 2021 R3 to 2023 R3, which was based on .NET 5.0.
When running the upgrade wizrad, it says that no Telerik project found,though there are 45 projects.
OTOH my old WPF apps which has been made on .net 4.6 upgraded to 2023 R3 without problem.
So, I opened C:\Program Files (x86)\Progress\Telerik UI for WPF R3 2023\binaries folder,
but there are every .net version dll folders except .NET 5.0.
Is .NET 5.0 not supported any more or something I forget to read ?
thanks.
Kang
Hello all,
I'm using Telerik in WPF application and there are some pdf files that are not shown, the specificity of the files is that they are scanned .
Please can any one has this pb before?
Thank
I'm trying to apply command from ViewModel to events like DragDrop.DragOver.
<telerik:RadListBox>
<telerik:EventToCommandBehavior.EventBindings>
<telerik:EventBinding EventName="DragDrop.DragOver" Command="{Binding CommandCmd}"/>
</telerik:EventToCommandBehavior.EventBindings>
</telerik:RadListBox>
Hi
I attached a simple program that import a html file (with format and images) and export it.
The exported file is very different from the original, without format and without images.
Thank you
Luigi