Originally Posted by
Daniil
Hi,
Here you are.
Example
<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Ext.Net Example</title>
<style type="text/css">
.my-header .x-panel-header {
background: red;
}
</style>
</head>
<body>
<form runat="server">
<ext:ResourceManager runat="server" />
<ext:Panel runat="server" Title="Some title" Cls="my-header">
<Content>
Body
</Content>
</ext:Panel>
</form>
</body>
</html>
Quick question, I managed to set the background of the panel as suggested above but we still see parts of the panel (a top line and a bottom line) as per the attachment below. How do I make them turn white also? Note I'm using v2.4, I didn't realize I'm posting back to a 1.x forum.