Make a Panel Visble True/false from Web.config Page

Hi ,

I am using ExtJs page for designing.
I used some panels in that page.
I want to make this panel visible true or false from Web.Config page and not from controller.

Ext.create('Ext.form.Panel', {
id: 'SampleId',
margin: '0 0 5 0',
bodyPadding: 5,
width: 580,
collapseFirst: false,
collapsible: true,
title: 'Sample',
items: [

How can I do this?
please guide me to make panel show/hide from web.config page