# Radzen dialog. RadzenCheckBox inside dialog not change its state

**URL:** <https://forum.radzen.com/t/radzen-dialog-radzencheckbox-inside-dialog-not-change-its-state/5465>\
**Category:** Blazor Server\
**Created:** [October 29, 2020, 8:20am UTC](https://forum.radzen.com/t/radzen-dialog-radzencheckbox-inside-dialog-not-change-its-state/5465 "2020-10-29T08:20:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![METAH](https://forum.radzen.com/letter_avatar_proxy/v4/letter/m/258eb7/32.png) [@METAH](https://forum.radzen.com/u/METAH)\
**Post date:** [October 29, 2020, 8:20am UTC](https://forum.radzen.com/t/radzen-dialog-radzencheckbox-inside-dialog-not-change-its-state/5465/1 "2020-10-29T08:20:33Z")

</div>

Hi everyone.  
here is an example:  
\<RadzenCheckBox @bind-Value="v1" @ref="vv1" Change="()=\>v1Change()" TValue="bool" /\>  
\<RadzenCheckBox @bind-Value="v2" @ref="vv2" Change="()=\>v2Change()" TValue="bool" /\>

@code  
{  
async Task v1Change()  
{  
if(vv1.GetState()){v2=true;}  
}  
}

like this its working, v2 checkbox change its state.  
But if these checkboxes are inside RadzenCard like this:

dialogService.Open("editing", ds =\>  
@  
\<RadzenCheckBox @bind-Value="v1" @ref="vv1" Change="()=\>v1Change()" TValue="bool" /\>  
\<RadzenCheckBox @bind-Value="v2" @ref="vv2" Change="()=\>v2Change()" TValue="bool" /\>  
);

the state not changed. i need these checkboxes in popup dialog.  
how can i solve this issue?

---

<div class="post-metadata">

**Author:** ![METAH](https://forum.radzen.com/letter_avatar_proxy/v4/letter/m/258eb7/32.png) [@METAH](https://forum.radzen.com/u/METAH)\
**Post date:** [October 29, 2020, 9:42am UTC](https://forum.radzen.com/t/radzen-dialog-radzencheckbox-inside-dialog-not-change-its-state/5465/2 "2020-10-29T09:42:27Z")

</div>

update. if i trying to set value manually like :  
vv2.Value = false;  
its set up correctly, .GetValue() return correct value but checkbox not redraw correctly, visual state not changed.

---

<div class="post-metadata">

**Author:** ![METAH](https://forum.radzen.com/letter_avatar_proxy/v4/letter/m/258eb7/32.png) [@METAH](https://forum.radzen.com/u/METAH)\
**Post date:** [October 29, 2020, 11:06am UTC](https://forum.radzen.com/t/radzen-dialog-radzencheckbox-inside-dialog-not-change-its-state/5465/3 "2020-10-29T11:06:15Z")

</div>

problem has been solved.  
solution - [Update data inside dialog](http://forum.radzen.com/t/update-data-inside-dialog/4324/3)
