I have a RadMultiColumnComboBox with AutoCompleteMode="Search". If I type "asdf" into the combo box, close the dropdown without actually selecting an item, and then refresh the page I want to clear "asdf", but I cannot figure out how to clear this text. I have tried setting the selected Item to null, setting AutoCompleteProvider.SearchText to an empty string, and setting the selected index to -1.
What am I doing wrong?
Hi,
I would like to create a docking layout with 4 controls spread over 2 rows as in the attached image. I achieved this result using compass, but I need to create the same layout by design.
Thank you
Luigi
Hi. I have some question.
An exception occurred while debugging the ExecutiveDashboard demo source code.
exception text :
System.InvalidOperationException: 'An error occurred while processing this request.'
DataServiceTransportException: The request was aborted: Could not create SSL/TLS secure channel.
WebException: The request was aborted: Could not create SSL/TLS secure channel.
An error occurred while downloading and installing the ExecutiveDashboard demo app(setup.exe).
install.log :
The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [InstallMode] = HomeSite {string}
Property: [NTProductType] = 1 {int}
Property: [ProcessorArchitecture] = AMD64 {string}
Property: [VersionNT] = 10.0.0 {version}
Running checks for package '.NET Desktop Runtime 6.0.1 (x64)', phase BuildList
Checking conditions before installer checks for command 'net6desktopruntime_x64\windowsdesktop-runtime-6.0.1-win-x64.exe'
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'AMD64': false
Result of checking conditions before installer checks for command 'net6desktopruntime_x64\windowsdesktop-runtime-6.0.1-win-x64.exe' is: No action
Running external check with command 'C:\Users\jmkim\AppData\Local\Temp\VSD29A9.tmp\net6desktopruntime_x64\NetCoreCheck.exe' and parameters 'Microsoft.WindowsDesktop.App 6.0.1'
Process exited with code 0
Setting value '0 {int}' for property 'NetCoreCheck'
The following properties have been set for package '.NET Desktop Runtime 6.0.1 (x64)':
Property: [NetCoreCheck] = 0 {int}
Running checks for command 'net6desktopruntime_x64\windowsdesktop-runtime-6.0.1-win-x64.exe'
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'AMD64': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '6.1.0': false
Result of running operator 'ValueEqualTo' on property 'NetCoreCheck' and value '0': true
Result of checks for command 'net6desktopruntime_x64\windowsdesktop-runtime-6.0.1-win-x64.exe' is 'Bypass'
'.NET Desktop Runtime 6.0.1 (x64)' RunCheck result: No Install Needed
Launching Application.
URLDownloadToCacheFile failed with HRESULT '-2146697208'
Error: An error occurred trying to download 'http://demos.telerik.com/wpf/executivedashboard/ExecutiveDashboard.application'.
The same problem occurred with the SalesDashboard demo source code and app.
What caused the problem?
Hello!
I need to make a custom separate scrollbar for RadGridView.
Please tell me how can I know if some of the rows of the RadGridView are already out of area of ​​visibility and how can I find out what part of the rows is visible and position of the part of the rows?
Hi,
I was not able to find this answer on the forum. It looks like a simple thing to do but I was not able to understand it.
I have three RadTreeView with the following xaml options: (IsDragDropEnabled="True" AllowDrop="True" telerik:ScrollingSettingsBehavior.IsEnabled="False" IsDragTooltipEnabled="False") . All three Trees have 2 level of data of 2 different type of objects.
The drop of an item might be allowed or not, depending on a combination on:
As an example, the level 2 objects of tree 1 cannot be dropped on tree 3, while on tree 2 the can only be dropped inside the level 1, or before/after the level 2 (not inside level 2).
I implemented all the controls to allow this behaviour in the handler of "DragDropManager.AddDropHandler", in which when the drop is not allowed I simply have that the DropAction = DropAction.None and everything is working fine.
However what I would like to have is that when the drop is not supposed to be allowed, the drop preview should not be visible. by drop preview I mean the line in between items when the drop position is after/before or the highlight of the target item when the drop position is inside. Note that I still would like to keep the drag preview of the source item, and that I disabled the dragtooltip as not of interest.
I considered using the handler "DragDropManager.AddDragInitializeHandler" to set the AllowDrop to false for all the correct items, however sometimes (like in the example above) I want to disable the drop only for certain drop positions, thus the item AllowDrop property cannot be set to false at the beginning of the drag.
What I think I should do is to use the handler "DragDropManager.AddDragOverHandler", in which I check if the drop is feasible. If it is not, I somehow disable the drop preview, if it is allowed, i enable it once again. This is where I'm stuck.
Considering the variable var options = DragDropPayloadManager.GetDataFromObject(e.Data, TreeViewDragDropOptions.Key) as TreeViewDragDropOptions;
If after checking that the drop is not allowed I set options.DropTargetItem.AllowDrop = false, the visual result is exactly what I need. However, from that moment on the handler "DragDropManager.AddDragOverHandler" does not fire anymore on that Item, so I cannot set it again to true.
If instead I set options.DropTargetItem.IsDropAllowed = false; nothing happens.
I tried to play with the dragvisual property, setting as an example the dragVisual.IsDropPossible = false, but it doesn't change the result (I guess that this property is only for the dragtooltip that I disabled)
Note that, if possible, I also do not want to override the drop position from the not allowed to the allowed one, like suggested in the documentation (https://docs.telerik.com/devtools/wpf/controls/radtreeview/how-to/drag-and-drop/enabled-drop-inside-only).
Could you please suggest me how to proceed? Please let me know if you need more information.
Thanks in advance for your help.
Hello,
We have performance issues on a WPF application. We did some analysis using dotTrace (attached screenshot) where we saw that the method Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.MeasureOverride(Size) is causing quite some delay.
Are there any ways to get this more up to speed ?
Thanks !
Hi Telerik Team,
We are using RadMaskedCurrencyInput inside RadGridView as RowDetailTemplate. But the performance is very poor, as it takes nearly 100 milliseconds for each number typing.
Also, it takes 2 to 4 seconds when we perform Select All and typing the number.
This happens only if the control is placed inside the RadGridView.
We have the same control outside the RadGridView for testing purpose which performs good.
Please let me know if any optimization can be done with this.
Below are the code we are using.
<tk:RadMaskedCurrencyInput
maskedInput:MaskedInputExtensions.MaxTextLength="5"
maskedInput:MaskedInputExtensions.Minimum="0"
FontSize="12"
FontWeight="DemiBold"
IsCurrencySymbolVisible="False"
Mask=""
SpinMode="None"
TextMode="PlainText" />
I'm not able to attach the video file here.
Thank You.
Hello, I have an issue with one column in the RadGridView.
I managed to bind a column to a value in the dictionary of my GridViewRow's DataContext.
Altought the filter icon appears, inside the list in the filter control I see only 1 item with the value "null", instead of the string values.
In the column itself, I can see all the values as expected.
I tried to set the DataMemberType/FilterMemberType to System.String, FilterMemberPath, add a converter that returns the string, and many other things that didn't work.
How can I filter this property?
The RadGridViewDataColumn is bound to a dictionary value on the DataMemberBinding property:
DataMemberBinding="{Binding MyDictionary[MyEnum.FirstValue].Title}"
Please see the "MyDemoProject.zip" example in the comments.
** Also sorting is not working. The sorting clears the RadGridRows, I think that it happens because of the same issue.
Hi
I have a model class that it is in the form
Class A
{
public List<B> B {get;set;}
public List<C> C {get;set;}
}
And I would build a treeview with a list of A: A1, A2 in this way:
A1 Objects of type B B1 B2 Objects of type C C1 C2 A2 Objects of type B B3 B4 Objects of type C C3 C4
But the second level is missing in the model class (we can see it as a "virtual level"). Is there a way to add the level directly in xaml (the number and the tags of the elements are fixed by design).
Thank you
Luigi