Hi!
I´m having trouble styling my radDock items.
Heres the markup:
I want to set the width with my css-class (span-6) but it get overriden by the inline style width: 300px. Where does this come from? ! can´t get rid of it. I´ve tried:
protected void Page_Load(object sender, EventArgs e)
{
radDockZone2.Style.Add("background", "url(App_Themes/DarkGray/Images/grid.png)");
radDock1.Style.Remove("width");
radDock1.Style.Clear();
}
and even:
protected void RadDock_OnPreRender(object sender, EventArgs e)
{
RadDock dockItem = (RadDock)sender;
dockItem.Style.Clear();
radDock1.Style.Clear();
}
I don´t want my radDock 300 pixles wide and I don´t wan´t to set it with the Width property. What to do?
Kind regards David
PS The first line in my Page_Load sets the background in the radDockZone. is there a better way of doing this? DS
I´m having trouble styling my radDock items.
Heres the markup:
<div id="radDock1" class="raddock RadDock_Gray rdCollapsed span-6" style="width:300px;">
I want to set the width with my css-class (span-6) but it get overriden by the inline style width: 300px. Where does this come from? ! can´t get rid of it. I´ve tried:
protected void Page_Load(object sender, EventArgs e)
{
radDockZone2.Style.Add("background", "url(App_Themes/DarkGray/Images/grid.png)");
radDock1.Style.Remove("width");
radDock1.Style.Clear();
}
and even:
protected void RadDock_OnPreRender(object sender, EventArgs e)
{
RadDock dockItem = (RadDock)sender;
dockItem.Style.Clear();
radDock1.Style.Clear();
}
I don´t want my radDock 300 pixles wide and I don´t wan´t to set it with the Width property. What to do?
Kind regards David
PS The first line in my Page_Load sets the background in the radDockZone. is there a better way of doing this? DS