

<asp:Content ID="Content4" ContentPlaceHolderID="MiddleContent" Runat="Server">
<table border="0" cellpadding="0" cellspacing="0" width="1250">
<tr><td align="left" valign="top" ><img src="/images/Neado/MasterTopBackGround.png" border="0" alt=""/></td></tr>
<tr><td align="center" valign="top" style="background: #FFFFFF url(/images/neado/homepage02.gif) repeat-y center top;">
<br />
<
table border="0" width="1190" cellspacing="4" cellpadding="3" align="center">
<tr><td align="left" valign="top"><b>Welcome to EggHeadCafe.com!</b></td></tr>
<
tr><td align="left">EggHeadCafe was founded in 2000 by Microsoft Visual C# MVP's Peter Bromberg and Robbe Morris. This site is dedicated to providing you with information on the latest technologies. Everything from great C#, VB.NET, SQL Server, ADO.NET, ASP.NET, ASP, and JavaScript articles to product and book reviews are available to help you become the best software developer you can be. We've also got some of the best forums around to provide immediate answers to your tough questions. Our own subject matter experts will attempt to answer your question if our regular members don't get to you first.</td></tr>
<tr><td align="left">We do not take technical questions via email. If you have a business related question or a comment regarding your experience at EggHeadCafe, feel free to contact us at <a href="mailto:info@eggheadcafe.com?subject=EggHeadCafe%20Site%20Inquiry&cc=pbromberg@yahoo.com">info@eggheadcafe.com</a>.</td></tr>
<tr><td align="left">If you would like to ask a technical or programming question, please feel free to visit our <asp:HyperLink ID="HyperLink33333" runat="server" NavigateUrl="~/forum.aspx" Text="messageboard" />.</td></tr>
<tr><td><br /></td></tr>
<
tr><td align="left"><b>Subject Matter Experts Needed!</b></td></tr>

<telerik:RadChart PlotArea-XAxis-Appearance-Visible="true" ID="MoodChart" runat="server" ClientSettings-EnableZoom="false" ChartImageFormat="Png" DefaultType="Line" EnableEmbeddedBaseStylesheet="False" CreateImageMap="False" EnableHandlerDetection="False" EnableTheming="False" EnableViewState="False" Legend-Visible="False" ChartTitle-Visible="False" ClientSettings-ScrollMode="XOnly" BorderWidth="0" Width="696px" Height="400px"> <PlotArea XAxis-AutoScale="True" XAxis-AutoShrink="True" YAxis2-AutoScale="False" YAxis2-IsZeroBased="False" YAxis2-MaxValue="0" YAxis2-MinValue="-10" YAxis-MaxValue="0" YAxis-MinValue="-10" XAxis-MaxValue="50" XAxis-Visible="Auto" DataTable-Visible="False" YAxis-AutoScale="False" YAxis-AxisMode="Extended"> <Appearance FillStyle-MainColor="White" FillStyle-SecondColor="White" FillStyle-FillType="Solid" Dimensions-Paddings="0" Dimensions-Margins="10,10,10,35" Dimensions-AutoSize="false" Dimensions-Height="370" Dimensions-Width="656" Position-Auto="false" Position-X="0" Position-Y="0"> </Appearance> <YAxis> <Appearance MajorGridLines-Color="191,203,217" MinorTick-Visible="false" ></Appearance> </YAxis> <XAxis> <Appearance LabelAppearance-Visible="False"></Appearance> </XAxis> </PlotArea> <Series> <telerik:ChartSeries Name="Series 1" Type="Line"> <Appearance Border-Visible="False" Border-Width="0" Border-PenStyle="Solid" ShowLabels="true" LegendDisplayMode="Nothing"> <FillStyle MainColor="#1A54A6"> </FillStyle> </Appearance> </telerik:ChartSeries> </Series> </telerik:RadChart>Private Sub LoadGraph() MyMoodData.SelectParameters.Clear() MyMoodData.SelectParameters.Add("MemberGUID", Membership.GetUser.ProviderUserKey.ToString) MyMoodData.SelectParameters.Add("StartDate", StartDate.SelectedDate) MyMoodData.SelectParameters.Add("EndDate", EndDate.SelectedDate) Dim dv As DataView = CType(MyMoodData.Select(DataSourceSelectArguments.Empty), DataView) If dv.Table.Rows.Count < 1 Then MoodChart.Visible = False NoMood.Visible = True Else MoodChart.Appearance.Border.Visible = False MoodChart.Series(0).DataYColumn = "Mood" MoodChart.Series(0).i() MoodChart.DataSource = dv MoodChart.DataBind() Dim intArray As Integer() = New Integer(3) {10, 12, 13, 5} MoodChart.DataSource = intArray MoodChart.DataBind() End IfEnd SubServer Error in '/' Application.Compilation ErrorDescription: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.Compiler Error Message: BC30560: 'ChartSeries' is ambiguous in the namespace 'Telerik.Charting'.Source Error:Line 69: </PlotArea>Line 70: <Series>Line 71: <telerik:ChartSeries Name="Series 1" Type="Line">Line 72: <Items>Line 73: <telerik:ChartSeriesItem YValue="1" Name="Item 20">Source File: C:\Users\mreeder\Desktop\MoodyMindsv1\MoodyMindsV1\ControlCenter\MyMood\DepressionGraph.aspx Line: 71Warning: BC40056: Namespace or type specified in the Imports 'System.Xml.Linq' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.Source Error:C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\815a49c2\d1626c0\App_Web_depressiongraph.aspx.b8e7a933.apjcwtqf.0.vbLine 32: Imports System.Web.UI.WebControlsLine 33: Imports System.Web.UI.WebControls.WebPartsLine 34: Imports System.Xml.LinqLine 35: Imports Telerik.ChartingLine 36: Imports Telerik.Web.UIShow Detailed Compiler Output:c:\windows\system32\inetsrv> "C:\Windows\Microsoft.NET\Framework\v3.5\vbc.exe" /t:library /utf8output /R:"C:\Windows\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\815a49c2\d1626c0\assembly\dl3\78d7a2ab\00414c0a_45b9c701\QualityData.Membership.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\815a49c2\d1626c0\App_global.asax.nwuafvdx.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\815a49c2\d1626c0\App_Web_93ocfv5o.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll" /R:"C:\Windows\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Data.DataSetExtensions\3.5.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\815a49c2\d1626c0\assembly\dl3\85f176e1\005fd95f_1a68ca01\paypal_base.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\815a49c2\d1626c0\assembly\dl3\0913c98b\003c95fb_92f6ca01\Telerik.Web.UI.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\815a49c2\d1626c0\assembly\dl3\aa352346\003f5143_ff1fca01\Elmah.DLL" /R:"C:\Windows\assembly\GAC_MSIL\Telerik.Reporting\4.0.10.423__a9d7983dfcc261be\Telerik.Reporting.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\815a49c2\d1626c0\assembly\dl3\5423ef6e\5c6d12b3_2a1fcb01\MoodyMindsV1.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\815a49c2\d1626c0\App_Web_x6hiwzgd.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\815a49c2\d1626c0\assembly\dl3\afc19a06\00485bfc_01e4c801\log4net.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\815a49c2\d1626c0\App_Code.l19trfvy.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\815a49c2\d1626c0\App_Web_itiayool.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\815a49c2\d1626c0\assembly\dl3\3f7fd362\0093871f_51cec701\Intelligencia.UrlRewriter.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing.Design\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.Design.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll" /R:"C:\Windows\assembly\GAC_MSIL\Telerik.ReportViewer.WebForms\4.0.10.423__a9d7983dfcc261be\Telerik.ReportViewer.WebForms.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\Telerik.Charting\2.0.4.0__d14f3dcc8e3e8763\Telerik.Charting.dll" /out:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\815a49c2\d1626c0\App_Web_depressiongraph.aspx.b8e7a933.apjcwtqf.dll" /D:DEBUG=1 /debug+ /win32resource:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\815a49c2\d1626c0\3svd8jgb.res" /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Linq,System.Xml.Linq,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls /warnaserror- /optionInfer+ "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\815a49c2\d1626c0\App_Web_depressiongraph.aspx.b8e7a933.apjcwtqf.0.vb" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\815a49c2\d1626c0\App_Web_depressiongraph.aspx.b8e7a933.apjcwtqf.1.vb"Microsoft (R) Visual Basic Compiler version 9.0.30729.715Copyright (c) Microsoft Corporation. All rights reserved.vbc : warning BC40057: Namespace or type specified in the project-level Imports 'System.Xml.Linq' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\815a49c2\d1626c0\App_Web_depressiongraph.aspx.b8e7a933.apjcwtqf.0.vb(34) : warning BC40056: Namespace or type specified in the Imports 'System.Xml.Linq' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.Imports System.Xml.Linq ~~~~~~~~~~~~~~~C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\815a49c2\d1626c0\App_Web_depressiongraph.aspx.b8e7a933.apjcwtqf.0.vb(401) : error BC30560: 'ChartXAxis' is ambiguous in the namespace 'Telerik.Charting'. Private Sub __BuildControl__control9(ByVal __ctrl As Telerik.Charting.ChartXAxis) ~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\815a49c2\d1626c0\App_Web_depressiongraph.aspx.b8e7a933.apjcwtqf.0.vb(415) : error BC30560: 'ChartYAxis' is ambiguous in the namespace 'Telerik.Charting'. Private Sub __BuildControl__control10(ByVal __ctrl As Telerik.Charting.ChartYAxis) ~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\815a49c2\d1626c0\App_Web_depressiongraph.aspx.b8e7a933.apjcwtqf.0.vb(434) : error BC30560: 'ChartPlotArea' is ambiguous in the namespace 'Telerik.Charting'. Private Sub __BuildControl__control8(ByVal __ctrl As Telerik.Charting.ChartPlotArea) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <system.web><httpHandlers><add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" /><add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" /><add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" /><add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" /><add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /></httpHandlers></system.web><system.webServer><add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /><add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /><add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /><add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /><add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /></handlers></system.webServer><system.web> <httpHandlers> <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" /> <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /> </httpHandlers> </system.web>...<system.webServer> <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> </handlers> </system.webServer>if
(!_showNullValues)
{
foreach (ChartSeries series in chart.Series)
{
if (series.Items.Count == 0)
{
series.Appearance.EmptyValue.Line.Width = 0.0f;
series.Appearance.EmptyValue.Mode = Telerik.Charting.Styles.
EmtyValuesMode.Zero;
}
}
}
I set emptyvalue is zero to write datatable zero rather than first non-empty value for empty value.
How can I hide empty value in datatable in RadChart?
