or

I am having a problem getting a pie chart to render where there are only two seriesitems and one of the values is 0.
When a third series is added then it has no problems with one of them having a value of 0
<telerik:RadHtmlChart runat="server" ID="PieChart2" Width="420"Transitions="true"><Appearance><FillStyle BackgroundColor="White" /></Appearance><ChartTitle Text="CM Standard > Primary > Patients with No Pending Tasks"><Appearance Align="Center" BackgroundColor="White" Position="Top" /></ChartTitle><PlotArea><Appearance><FillStyle BackgroundColor="White" /></Appearance><Series><telerik:PieSeries StartAngle="90"><LabelsAppearance Position="Circle" DataFormatString="{0} %" /><TooltipsAppearance DataFormatString="{0} %" /><Items><telerik:SeriesItem BackgroundColor="#ff9900" Exploded="true" Name="Internet Explorer" YValue="18.3" /><telerik:SeriesItem BackgroundColor="#cccccc" Exploded="false" Name="Firefox" YValue="35.8" /><%--<telerik:SeriesItem BackgroundColor="#bbbbbb" Exploded="false" Name="Firefox" YValue="35.8" />--%></Items></telerik:PieSeries></Series></PlotArea><Legend><Appearance BackgroundColor="White" Position="Bottom" Visible="true"/> </Legend></telerik:RadHtmlChart>
public void LoadChartData(){ int totalpatients = Utilities.GetInt(ds.Tables[0].Rows[0]["TotalPatients"]); int PatientsNoPendingTasks = Utilities.GetInt(ds.Tables[0].Rows[0]["PatientsNoPendingTasks"]); int PatientsWithPendingTasks = Utilities.GetInt(ds.Tables[0].Rows[0]["PatientsWithPendingTasks"]); int PatientsOverDueforCHA = Utilities.GetInt(ds.Tables[0].Rows[0]["PatientsOverDueforCHA"]); int PatientsWithUpdatedCHA = totalpatients - PatientsOverDueforCHA; PieSeries pieSeries = (PieSeries)PieChart2.PlotArea.Series[0]; PieChart2.PlotArea.Series[0].Items[0].Name = "No Pending Tasks"; PieChart2.PlotArea.Series[0].Items[0].YValue = 0;// PatientsNoPendingTasks; PieChart2.PlotArea.Series[0].Items[1].YValue = 43;// PatientsNoPendingTasks; PieChart2.PlotArea.Series[0].Items[1].Name = "Has Pending Tasks"; //PieChart2.PlotArea.Series[0].Items[2].YValue = 10;// PatientsNoPendingTasks; //PieChart2.PlotArea.Series[0].Items[2].Name = "Test"; }
| <telerik:RadGrid runat="server" ID="gridSample" Width="100%" AllowMultiRowSelection="true" > |
| <ClientSettings EnableRowHoverStyle="False"> |
| <Selecting AllowRowSelect="True" EnableDragToSelectRows="false" /> |
| </ClientSettings> |
| <MasterTableView TableLayout="Fixed" DataKeyNames="AccountId" Name="Recipients" GridLines="Horizontal" Frame="Box" HierarchyLoadMode="Client" AutoGenerateColumns="false"> |
| <NoRecordsTemplate> |
| No Unsubmitted items for this customer. |
| </NoRecordsTemplate> |
| <DetailTables> |
| <telerik:GridTableView runat="server" ShowFooter="false" AllowSorting="false" Name="OrderItems" |
| BorderWidth="1" GridLines="Horizontal" AutoGenerateColumns="false" Width="100%" |
| DataKeyNames="Id"> |
| <ParentTableRelation> |
| <telerik:GridRelationFields DetailKeyField="AccountId" MasterKeyField="AccountId" /> |
| </ParentTableRelation> |
| <ExpandCollapseColumn HeaderStyle-Width="20px" /> |
| <Columns> |
| <telerik:GridClientSelectColumn HeaderStyle-Width="30/> |
| <telerik:GridBoundColumn HeaderText="Product Name" DataField="ProductName" HeaderStyle-Width="300" /> |
| </Columns> |
| </telerik:GridTableView> |
| </DetailTables> |
| <Columns> |
| <telerik:GridClientSelectColumn /> |
| <telerik:GridTemplateColumn UniqueName="colAccountName" HeaderText="Name"> |
| <ItemTemplate> |
| <asp:HyperLink runat="server" id="linkAccount" /> |
| </ItemTemplate> |
| <HeaderStyle Width="150px" HorizontalAlign="Left" /> |
| </telerik:GridTemplateColumn> |
| </Columns> |
| </MasterTableView> |
| </telerik:RadGrid> |

<asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="Webshop.Entities" EntityTypeName="" OrderBy="Name, FromDate, TillDate" Select="new (AutoID, Name, FromDate, TillDate, Comment)" TableName="Autos"></asp:LinqDataSource><telerik:RadComboBox ID="cbAutos" runat="server" Width="900px" DropDownWidth="900px" EmptyMessage="Chosse an autotype" HighlightTemplatedItems="True" Filter="Contains" LoadingMessage="Loading..." DataTextField="Name" MaxHeight="300px" DataValueField="AutoID" ShowDropDownOnTextboxClick="False" DataSourceID="LinqDataSource1" EnableLoadOnDemand="True" EnableVirtualScrolling="True" ItemsPerRequest="100"> <HeaderTemplate> <table style="width: 850px;"> <tr> <td style="width: 300px;">Autotype</td> <td style="width: 100px;">Date (from)</td> <td style="width: 100px;">Date (till)</td> <td style="width: 150px;">Comment</td> </tr> </table> </HeaderTemplate> <ItemTemplate> <table style="width: 850px;"> <tr> <td style="width: 300px;"> <%# DataBinder.Eval(Container.DataItem, "Name")%> </td> <td style="width: 100px;"> <%# DataBinder.Eval(Container.DataItem, "FromDate")%> </td> <td style="width: 100px;"> <%# DataBinder.Eval(Container.DataItem, "TillDate")%> </td> <td style="width: 150px;"> <%# DataBinder.Eval(Container.DataItem, "Comment")%> </td> </tr> </table> </ItemTemplate> </telerik:RadComboBox>
<asp:Image ID="Image1" runat="server" ImageUrl='<%# CType(Container.DataItem, PropertyUtente).imageprofile%>' Height="125px" Width="110px"/>CType(Container.DataItem, PropertyUtente).imageprofile
into div so i can to create to div the round edges with css.Dim lista As List(Of PropertyUtente) = Loadsearch.Search(_str1, _str2)RadListView1.DataSource = listaRadListView1.DataBind() ExpandImageUrl, CollapseImageUrl, NoExpandImageUrl properties ( as described here) . Its very clear and easy to understand. Why haven't you implemented something like that.