# Code disappears when opening Radzen

**URL:** <https://forum.radzen.com/t/code-disappears-when-opening-radzen/6254>\
**Category:** Radzen.Blazor Components\
**Created:** [January 11, 2021, 8:39am UTC](https://forum.radzen.com/t/code-disappears-when-opening-radzen/6254 "2021-01-11T08:39:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChrisI](https://forum.radzen.com/letter_avatar_proxy/v4/letter/c/bb73d2/32.png) [@ChrisI](https://forum.radzen.com/u/ChrisI)\
**Post date:** [January 11, 2021, 8:39am UTC](https://forum.radzen.com/t/code-disappears-when-opening-radzen/6254/1 "2021-01-11T08:39:06Z")

</div>

Good morning,

For my project, I am looking to use the Radzen component "Bar Chart". When I just copy and paste the source code ([Blazor Bar Chart | Free UI Components by Radzen](https://blazor.radzen.com/bar-chart)) into my page, and I am running the application via Visual Studio, everything seems to be working fine. However, when I open Radzen instead, all of the source code I've imported just disappears within Visual Studio.

I don't know if I'm doing something wrong or if this some kind of bug?

Would love to hear from you!

---

<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:** [January 11, 2021, 8:46am UTC](https://forum.radzen.com/t/code-disappears-when-opening-radzen/6254/2 "2021-01-11T08:46:10Z")

</div>

Hi @ChrisI,

Radzen will overwrite \*.razor and \*.designer.cs files. If you want to customize them you need to add these files in the application ignore list:  
[https://www.radzen.com/documentation/blazor/customizing-generated-application/](https://www.radzen.com/documentation/blazor/customizing-generated-application/)

---

<div class="post-metadata">

**Author:** ![ChrisI](https://forum.radzen.com/letter_avatar_proxy/v4/letter/c/bb73d2/32.png) [@ChrisI](https://forum.radzen.com/u/ChrisI)\
**Post date:** [January 11, 2021, 8:47am UTC](https://forum.radzen.com/t/code-disappears-when-opening-radzen/6254/3 "2021-01-11T08:47:05Z")

</div>

@enchev Ah, I see! Didn't know it would overwrite. Thank you! 🙂
