# Selectbar Designer error message

**URL:** <https://forum.radzen.com/t/selectbar-designer-error-message/5881>\
**Category:** Blazor Server\
**Created:** [December 2, 2020, 8:17am UTC](https://forum.radzen.com/t/selectbar-designer-error-message/5881 "2020-12-02T08:17:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas](https://forum.radzen.com/letter_avatar_proxy/v4/letter/t/e36b37/32.png) [@Thomas](https://forum.radzen.com/u/Thomas)\
**Post date:** [December 2, 2020, 8:17am UTC](https://forum.radzen.com/t/selectbar-designer-error-message/5881/1 "2020-12-02T08:17:55Z")

</div>

Hello Radzen Team,  
i run into a Problem with the Designer. I defined a Selectbar and as soon as i set it to multiple the designer shows  
 ![image](https://forum.radzen.com/uploads/default/optimized/2X/1/1981ec6d9190133cbe74311ac80910c0c42cf1e2_2_690x43.png)

Other Code/Definitions:

 ![image](https://forum.radzen.com/uploads/default/original/2X/9/947bebbf1a77180935e8ea13a581a56db0f6b37d.png)

 ![image](https://forum.radzen.com/uploads/default/original/2X/d/d13690789556b6da6de37469124f81d0efabc4c5.png)

> ```
> IEnumerable<int> _DienstleistungsArten;
> protected IEnumerable<int> DienstleistungsArten
> {
> get
> {
> return _DienstleistungsArten;
> }
> set
> {
> if (!object.Equals(_DienstleistungsArten, value))
> {
> var args = new PropertyChangedEventArgs(){ Name = "DienstleistungsArten", NewValue = value, OldValue = _DienstleistungsArten };
> _DienstleistungsArten = value;
> OnPropertyChanged(args);
> Reload();
> }
> }
> }
> 
> ```

Load event:

> ```
> protected async System.Threading.Tasks.Task Load()
> {
> artikel = new Trent.Models.Trentdb.Artikel();
> 
> var trentdbGetArtikelartsResult = await Trentdb.GetArtikelarts(new Query() { Filter = $@"i => i.aktiv == @0", FilterParameters = new object[] { true }, OrderBy = $"Text asc" });
> getArtikelartsResult = trentdbGetArtikelartsResult;
> 
> DienstleistungsArten = new int[]{};
> 
> Initialize();
> }
> 
> ```

That all seems right to me but the error message in Designer resists. The App run fine.  
Any suggestions?

Kind Regards  
Thomas

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [December 2, 2020, 9:48am UTC](https://forum.radzen.com/t/selectbar-designer-error-message/5881/2 "2020-12-02T09:48:54Z")

</div>

Hi @Thomas,

I've tried the same however the designer worked properly:

 ![image](https://forum.radzen.com/uploads/default/original/2X/1/14fb7eda6a9818d3f7cf8ee7cbf5528badf3df02.png)  
 ![image](https://forum.radzen.com/uploads/default/original/2X/d/df2390a69d1c3fb722afc3052f8c35fc54ff6b05.png)

---

<div class="post-metadata">

**Author:** ![Thomas](https://forum.radzen.com/letter_avatar_proxy/v4/letter/t/e36b37/32.png) [@Thomas](https://forum.radzen.com/u/Thomas)\
**Post date:** [December 2, 2020, 11:41am UTC](https://forum.radzen.com/t/selectbar-designer-error-message/5881/3 "2020-12-02T11:41:22Z")

</div>

I found the problem. The "multiple" Selectbar were fromerly a "single" selectbar and the value was an int.  
I changed all... Property from int to int[{}, ect. but in the page json the "valuetyp" is "int" and doesnt change no matter what i do in the designer. Except deleting the Selectbar, set it to "multiple" and do it all again.

FYI:

 ![image](https://forum.radzen.com/uploads/default/original/2X/c/c13083c6d4f5c6399d9d4b2783855f1a7851618d.png)

![image](https://forum.radzen.com/uploads/default/original/2X/d/db2bdc017a8195e9bad474509ac16ce6b0343f01.png)

I have deleted the json entry "valuetype" and now the designer error is gone.

 ![image](https://forum.radzen.com/uploads/default/original/2X/1/1d12e446e91157caf014fef7b7be07dcb5c57ec3.png)

 ![image](https://forum.radzen.com/uploads/default/original/2X/c/c0796e90a41371bdf508e8355056d679269485d0.png)

Thomas
