Vladimir Enchev
0696cd20d5
Various warnings resolved and TreatWarningsAsErrors enabled ( #2409 )
2026-01-07 09:29:58 +02:00
Vladimir Enchev
e324cea7b9
DropDown will select item on ENTER if there is only one item
2025-12-27 16:47:01 +02:00
Vladimir Enchev
a6a3278443
Single selection filtered dropdown popup does not close when selecting an item with enter key
...
Fix #2398
2025-12-22 09:43:17 +02:00
Vladimir Enchev
1ae16acbac
Fixed possible DropDown NullReferenceException
...
Fix #2380
2025-12-10 08:20:33 +02:00
Vladimir Enchev
11300692e5
DropDownBase search by key enabled when bound without TextProperty
2025-12-09 10:21:38 +02:00
Atanas Korchev
34c603ce53
Revert "Cleanup code a little ( #2336 )"
...
This reverts commit d816d841a8 .
2025-11-07 07:01:16 +02:00
joriverm
d816d841a8
Cleanup code a little ( #2336 )
...
* TextArea/Box change tests extended
fixup copy paste fail
* Cleanup warnings about FieldIdentifier.FieldName not able to be null
its defined as a non-nullable string, and an empty string is considerd valid
---------
Co-authored-by: AI\jvermeyl <joris.vermeylen@uzgent.be >
2025-11-03 19:06:46 +02:00
Vladimir Enchev
e72a17ce32
Update DropDownBase.cs
...
Closes #2302 , Closes #2298 , Closes #2304
2025-10-01 11:46:30 +03:00
Josh
d12908778e
RadzenDropDown/Grid: Modify bound collection in-place ( #2261 )
...
* Refactor out code that assigns and notifies for Multiple when items are Selected
* Add alternative handling to support keeping the bound collection instance unchanged. This also enables support for custom collections without default ctors, and HashSets
* Ensure ClearAll maintains collection instance, instead of setting to null
* Ensure SelectdAll uses the same new behavior
* resolve the actual type of the bound collection, in determining if to apply the ReferenceGenericCollectionAssignment
# Conflicts:
# Radzen.Blazor/DropDownBase.cs
* fixup: Ensure non-multiple/non-collection sources are accomodated
# Conflicts:
# Radzen.Blazor/DropDownBase.cs
* use the more tactical approach for altering the collection to match selectedItems. This preserves ordering and will raise expected INotifyCollectionChanged events if implemented
* cleanup: naming convention
2025-08-19 07:44:31 +03:00
Petar Slavov
4d9a9c9ac2
Add GetProperty that supports retrieval of interface properties. ( #2255 )
...
* Introduces a new static method `GetProperty` in the `Radzen.PropertyAccess` class to retrieve properties by name, including support for interfaces. Updates `DropDownBase.cs` to utilize this new method, enabling property retrieval for collections of interfaces in multiselect DropDowns.
* Add unit tests for property resolution in interfaces
Implemented unit tests in `PropertyAccessTests.cs` to verify
the resolution of `Description`, `Name`, and `Id` properties
from the interfaces `ISimpleInterface`, `ISimpleNestedInterface`,
and `ISimpleBaseInterface`. Defined the interfaces to support
the tests for the `GetProperty` method functionality.
2025-08-15 09:28:52 +03:00
Vladimir Enchev
29f7b6cb74
DropDownBase should allow filter on SPACE while still be able to select/deselect items
2025-07-10 15:33:33 +03:00
Vladimir Enchev
ce1ffe2070
DataGrid FilterMode.CheckBoxList crashes when selecting all items in a non string column
...
Fix #2213
2025-07-10 12:05:22 +03:00
Vladimir Enchev
31925ea099
DropDownBase select item as you type fixed
2025-06-28 09:22:30 +03:00
Lukas Grützmacher
8dc522e054
Function key should not trigger DropDown Change event ( #2195 )
2025-06-23 07:40:29 +03:00
Vincent Schmandt
b371b43a86
fix: avoid accessing parameter view in SetParametersAsync after an async call to prevent a race condition ( #2186 )
...
* fix: avoid accessing parameter view in SetParametersAsync after an async call to prevent a race condition
Fixes: https://forum.radzen.com/t/the-parameterview-instance-can-no-longer-be-read-because-it-has-expired/18912/7
See also: https://stackoverflow.com/questions/66717054/the-parameterview-instance-can-no-longer-be-read-because-it-has-expired-paramet
* fix SetParametersAsync reordering
2025-06-18 14:35:59 +03:00
Erik van der Boom
1b92cb7f86
Reset select on filter ( #2180 )
...
* Add reset index on filter option
* remove unwanted spaces
* correct order
2025-06-11 09:34:31 +03:00
Vladimir Enchev
4b80da96ab
Shift key should not trigger DropDown Change event
...
Fix #2165
2025-06-05 10:03:20 +03:00
Vladimir Enchev
65a78125b2
DropDownBase select item as you type fixed
2025-04-30 11:45:09 +03:00
Vladimir Enchev
b78df8df2a
Fix Ctrl / Alt navigate in DropDownList
...
Fix #2084
2025-04-10 14:21:47 +03:00
Vladimir Enchev
549303a34c
code improved
2025-04-10 09:50:19 +03:00
Vladimir Enchev
9d2cbae115
DropDownBase should not try to handle keypress when not bound
2025-04-09 18:57:55 +03:00
Vladimir Enchev
e81ea15bb0
DropDown select item with SPACE added
...
Closes #2011 , #2054
2025-03-26 09:18:55 +02:00
Ben Croughs
c566eb95a2
!= null causing issues on KeyValuePart<string,int?> ( #2021 )
...
Co-authored-by: Ben Croughs <ben.croughs@telenet.be >
2025-03-10 07:49:19 +02:00
Vladimir Enchev
38feb54237
Various components reworked without dynamic LINQ ( #1960 )
2025-02-13 13:35:41 +02:00
nielsNocore
23b9a6e7bf
Fix IsAllSelectedInDropdown is correct when disabled items exists ( #1953 )
...
added unit tests for it.
2025-02-10 12:03:52 +02:00
Vladimir Enchev
1de201841a
DataGrid CheckBoxList filter mode with EF Core data source crashes application when using keyboard
...
Fix #1943
2025-02-05 09:14:36 +02:00
Vladimir Enchev
63de20fe36
DropDownBase multiple selection fixed
2025-01-26 19:55:06 +02:00
Vladimir Enchev
b3917e19a2
Avoid using ToString() and Equals() methods with Dynamic LINQ
2025-01-24 11:09:18 +02:00
Pierluigi Mari
91d5473bf2
Bug fix present in RadzenDropDownDataGrid from version 5.7.0 ( #1907 )
...
When RadzenDropDownDataGrid is set to allow multi-selection and virtualization with LoadData, it doesn't keep all items selected as you scroll through the list. Optimized the initialization of selectedItems in DropDownBase, so that selectedItems is reinitialized only if empty, thus preserving existing items.
Co-authored-by: Pierluigi.Mari <pierluigi.mari@iqera.it >
2025-01-13 15:02:21 +02:00
Josh
c9b5a53be3
Introduce ItemComparer parameter to DropDownBase, for IEqualityComparer support ( #1854 )
...
* Introduce ItemComparer parameter to DropDownBase. Use HashSet to track selectedItems.
* include summary for ItemComparer Parameter
2024-12-16 09:09:53 +02:00
Vladimir Enchev
c5c33ebfeb
Check if TextProperty is set when attempting to use it for filter
2024-12-03 11:38:52 +02:00
Vladimir Enchev
866c222c74
DropDown will not select item on Enter is some cases
2024-10-08 13:34:39 +03:00
Vladimir Enchev
5bbc108331
DropDown OpenOnFocus behavior improved
2024-08-15 09:05:50 +03:00
Vladimir Enchev
d3c66dc750
NET5_0_OR_GREATER preprocessor removed
2024-07-24 08:28:35 +03:00
Vladimir Enchev
cd2ede5ce8
DataGrid CheckBoxList filter type filtering fixed
2024-07-18 13:32:08 +03:00
Vladimir Enchev
21c063ac53
Fixed DropDown/ListBox select as you type selects second item first
2024-07-17 11:19:47 +03:00
Vladimir Enchev
cf8ddc98af
DropDown and ListBox should not select items with SelectAll() if ReadOnly
...
Fix #1566
2024-06-21 07:33:58 +03:00
bert-algoet
96bd62e0cc
Check if SelectItem is null before calling disabledPropertyGetter ( #1538 )
2024-06-03 08:51:58 +03:00
Vladimir Enchev
55482bf28a
DataGrid CheckBoxList filtering fixed to work properly with enums and FilterTemplate
2024-05-24 12:33:59 +03:00
Vladimir Enchev
16399d4512
HeaderTemplate added to DropDownDataGrid, HeaderTemplate and ItemRender added to DropDown and ListBox
...
DropDown grouping demos improved, ListBox item Disabled fixed
2024-05-23 13:10:41 +03:00
Atanas Korchev
bd1a5ef046
Provide parsing config when using Dynamic Linq methods in order to improve initial performance.
2024-05-20 10:55:21 +03:00
Vladimir Enchev
9e026034d7
DropDownBase EmptyAriaLabel property added
2024-05-06 16:24:10 +03:00
Vladimir Enchev
76bd5d7518
DropDownBase indexer property binding imporved
2024-05-02 08:33:46 +03:00
Vladimir Enchev
1f9a19c37a
Fixed virtualized DropDown null ref. exception on ENTER key press
...
Fix #1483
2024-04-24 19:23:51 +03:00
Vladimir Enchev
f1df463a07
RadzenDropDown SelectedItemChanged keeps repeating forever
...
Fix #1479
2024-04-24 10:58:45 +03:00
Vladimir Enchev
2adfbb5169
Revert "Implement OpenPopup and ClosePopup Events for Radzen Dropdown ( #1471 )" ( #1477 )
...
This reverts commit f6e05a27d8 .
2024-04-22 14:10:47 +03:00
luis507pty
f6e05a27d8
Implement OpenPopup and ClosePopup Events for Radzen Dropdown ( #1471 )
...
* Add Parameters OnOpenPopup and OnClosePopup to handler events
* Add CheckAndTriggerPopupStateChange method
* Add RadzenDropDown Action Methods OnOpenPopup And OnClosePopup.
* Radzen.closePopup send DotNetObjectReference
* -Use EventCallBack
- Change property name OnOpenPopu to OpenPopupCallback
- Change property name OnClosePopup to ClosePopupCallback
* validate and invoke delegate
* -Change name the internal method OpenPopup to TogglePopup
---------
Co-authored-by: Desarrollador 04 04 <develop04@smrey.com >
2024-04-22 10:27:19 +03:00
Vladimir Enchev
4a772953dd
DropDownBase SelectedItemChanged changed from Action to EventCallback
2024-04-18 15:07:47 +03:00
Vladimir Enchev
a460fe12a1
DropDownBase should not loose focus on select all
2024-04-10 16:15:58 +03:00
Vladimir Enchev
a8e9ef49f4
Fixed RadzenDropDown EnterKey ArgumentOutOfRangeException
2024-04-08 15:35:53 +03:00