Sep 06, 2011, 5:35 PM
[CLOSED] 'div' equivalent in ext.net?
Hi,
I am implementing highcharts along with ext.net controls. The chart will render to 'div'. Is there any 'div' equivalent in ext.net? I need to implement border layout in the panel and in the center region I need to add the chart, so 'div' needs to add but ext.net doesn't support to add 'div' tag as item in ext.net panel. Please check the code and sscreenshot below
I am implementing highcharts along with ext.net controls. The chart will render to 'div'. Is there any 'div' equivalent in ext.net? I need to implement border layout in the panel and in the center region I need to add the chart, so 'div' needs to add but ext.net doesn't support to add 'div' tag as item in ext.net panel. Please check the code and sscreenshot below
<%@ 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">
<script runat="server">
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<ext:Viewport ID="Viewport1" runat="server" Layout="BorderLayout">
<Items>
<ext:Panel ID="pnlCharts" runat="server" Region="Center">
<TopBar>
<ext:Toolbar ID="Toolbar1" runat="server">
<Items>
<ext:ComboBox ID="cboLoanStatus" runat="server">
</ext:ComboBox>
</Items>
</ext:Toolbar>
</TopBar>
</ext:Panel>
</Items>
</ext:Viewport>
<div id="container" style="width: 800px; height: 400px; background-color:gray;">
nothing to say
</div>
</form>
</body>
</html>
Last edited by geoffrey.mcgill; Sep 08, 2011 at 6:05 PM.
Reason: [CLOSED]