Skip to content

Commit 2643c75

Browse files
github-actions[bot]KB Bot
andauthored
Added new kb article multiselect-issues-with-formdecorator (#628)
Co-authored-by: KB Bot <[email protected]>
1 parent 14f78f7 commit 2643c75

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
title: RadMultiSelect Issues with RadFormDecorator in ASP.NET AJAX
3+
description: Explore troubleshooting steps for AutoClose behavior not working and filtering issues when RadMultiSelect is used with RadFormDecorator in ASP.NET AJAX.
4+
type: troubleshooting
5+
page_title: Troubleshooting RadMultiSelect and RadFormDecorator Compatibility in ASP.NET AJAX
6+
slug: multiselect-issues-with-formdecorator
7+
tags: radmultiselect, radformdecorator, autoclose, filtering, aspnet-ajax
8+
res_type: kb
9+
ticketid: 1670201
10+
---
11+
12+
## Environment
13+
14+
<table>
15+
<tbody>
16+
<tr>
17+
<td>Product</td>
18+
<td>RadMultiSelect for ASP.NET AJAX, <br /> RadFormDecorator for ASP.NET AJAX</td>
19+
</tr>
20+
<tr>
21+
<td>Version</td>
22+
<td>All</td>
23+
</tr>
24+
</tbody>
25+
</table>
26+
27+
## Description
28+
29+
When using [RadMultiSelect](https://docs.telerik.com/devtools/aspnet-ajax/controls/multiselect/overview) alongside RadFormDecorator in ASP.NET AJAX, specific issues arise that affect the functionality of RadMultiSelect. Notably, the `AutoClose` property does not behave as expected, and there are complications with filtering and selection persistence. Moreover, the `EnforceMinLength` property behavior might seem unintuitive under certain conditions.
30+
31+
The RadFormDecorator modifies the appearance and behavior of standard form elements to ensure visual consistency across browsers. However, when decorating elements that involve complex interactions, such as RadMultiSelect, unexpected behaviors can occur due to the intricate interaction between the decorated elements and the custom controls.
32+
33+
## Solution
34+
35+
### AutoClose and Selection Issues
36+
37+
To address the issues with `AutoClose` behavior not working as expected and the failure to persist selections during filtering, follow these steps:
38+
39+
Remove RadFormDecorator or configure it to exclude select elements from decoration. To exclude select elements, set the `DecoratedControls` property of RadFormDecorator accordingly:
40+
41+
````ASP.NET
42+
<telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="AllControls" Exclude="select" />
43+
````
44+
45+
This approach prevents RadFormDecorator from interfering with the functionality of RadMultiSelect while still allowing other form elements to be styled uniformly.
46+
47+
Regarding the `EnforceMinLength` behavior:
48+
49+
- This behavior is under review for potential adjustments or improvements in documentation to clarify its intended functionality.
50+
- As a temporary measure, consider providing users with instructions or hints on the UI about the minimum required characters for filtering to aid in usability.
51+
52+
### Acknowledgement
53+
54+
We acknowledge the inconvenience caused by these issues and are working towards improving the documentation and functionality concerning the compatibility of RadMultiSelect with RadFormDecorator. Your feedback is invaluable for enhancing the product and assisting other developers in circumventing similar challenges.
55+
56+
## See Also
57+
58+
- [RadMultiSelect Overview](https://docs.telerik.com/devtools/aspnet-ajax/controls/multiselect/overview)
59+
- [RadFormDecorator Overview](https://docs.telerik.com/devtools/aspnet-ajax/controls/formdecorator/overview)

0 commit comments

Comments
 (0)