# Sidebar error message

**URL:** <https://forum.radzen.com/t/sidebar-error-message/5909>\
**Category:** Blazor Server\
**Created:** [December 4, 2020, 9:36am UTC](https://forum.radzen.com/t/sidebar-error-message/5909 "2020-12-04T09:36:43Z")\
**Posts on this page:** 9\
**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:** [December 4, 2020, 9:36am UTC](https://forum.radzen.com/t/sidebar-error-message/5909/1 "2020-12-04T09:36:43Z")

</div>

Hello everyone,

I'm currently making a layout for an application that cointains a header, body, footer and two sidebars. However, when I implement the second sidebar, the first sidebars gets an error message (see picture).

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

Al my positionings are absolute.

Can anybody tell me where this error comes from?

Thanks in advance!

---

<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 4, 2020, 10:19am UTC](https://forum.radzen.com/t/sidebar-error-message/5909/2 "2020-12-04T10:19:58Z")

</div>

Hi @ChrisI,

We will check what’s causing the error and we will provide fix in the next update early next week. Honestly we’ve never seen application with two sidebar components before.

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [December 4, 2020, 10:26am UTC](https://forum.radzen.com/t/sidebar-error-message/5909/3 "2020-12-04T10:26:11Z")

</div>

@ChrisI why do you need two sidebars? Can't you put all the content in the same sidebar? The header, footer, sidebar and body components are most commonly used once per layout.

---

<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:** [December 4, 2020, 10:34am UTC](https://forum.radzen.com/t/sidebar-error-message/5909/4 "2020-12-04T10:34:41Z")

</div>

@korchev, I'm trying to recreate a standard layout that we use here. The standard looks a lot like this:

 ![example](https://forum.radzen.com/uploads/default/original/2X/1/12db117594fecd5ad655035bcb5bb955838a5065.png)

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [December 4, 2020, 10:43am UTC](https://forum.radzen.com/t/sidebar-error-message/5909/5 "2020-12-04T10:43:50Z")

</div>

Just be aware of this: [Content container cloning grid box](http://forum.radzen.com/t/content-container-cloning-grid-box/5793/8) - Blazor does not support multiple placeholders at the moment.

---

<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:** [December 4, 2020, 11:05am UTC](https://forum.radzen.com/t/sidebar-error-message/5909/6 "2020-12-04T11:05:04Z")

</div>

@korchev Thanks! This is clarifying. I'll try to fix this with other components for now.

---

<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:** [December 4, 2020, 11:10am UTC](https://forum.radzen.com/t/sidebar-error-message/5909/7 "2020-12-04T11:10:27Z")

</div>

@korchev I do have another question however. How is Radzen handling screen size? I'm trying to create a layout with a resolution of 1920 \* 1200 but some of my layout components aren't filling to the edge (see picture).

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

I'm trying to automatically fill the browser width with the pink rectangle but I cant find a way to do this.

There is this option "VerticalAlign" but there isn't an option called "HorizontalAlign".

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [December 4, 2020, 11:22am UTC](https://forum.radzen.com/t/sidebar-error-message/5909/8 "2020-12-04T11:22:49Z")

</div>

Radzen doesn't do anything to handle screen size. When you are using absolute positioning you should take care of this yourself.

BTW absolute positioning isn't recommended for general web page layout. It doesn't adapt when the browser window is resized or a user with different screen resolution views the page.

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [December 4, 2020, 11:37am UTC](https://forum.radzen.com/t/sidebar-error-message/5909/9 "2020-12-04T11:37:29Z")

</div>

It just hit me that the default Main layout of Radzen already supports what you are after (sans the second sidebar). Why not start from it and remove the things you don't need?
