# Change icon based on condition

**URL:** <https://forum.radzen.com/t/change-icon-based-on-condition/5531>\
**Category:** Blazor Server\
**Created:** [November 6, 2020, 10:54am UTC](https://forum.radzen.com/t/change-icon-based-on-condition/5531 "2020-11-06T10:54:23Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![rene](https://forum.radzen.com/user_avatar/forum.radzen.com/rene/32/8888_2.png) [@rene](https://forum.radzen.com/u/rene)\
**Post date:** [January 13, 2022, 4:10pm UTC](https://forum.radzen.com/t/change-icon-based-on-condition/5531/3 "2022-01-13T16:10:50Z")

</div>

Just in case, this answer does not help you: I was coming here but was looking for changing the icon within a data grid, by editing the column template: [How to change icon based on condition within a datagrid? - Radzen IDE (Blazor server-side) - Radzen](http://forum.radzen.com/t/how-to-change-icon-based-on-condition-within-a-datagrid/9852)

---

_[View the full topic](https://forum.radzen.com/t/change-icon-based-on-condition/5531)._
