EmptySeriesMessage not displaying

Thread is closed for posting
6 posts, 1 answers
  1. Phil
    Phil avatar
    273 posts
    Member since:
    Jul 2008

    Posted 28 Sep 2012 Link to this post

    Hi:

    I have the following on a page:
    <telerik:RadChart ID="mmpaChart" runat="server" Width="360px"  >
        <PlotArea EmptySeriesMessage-Visible="True">
            <EmptySeriesMessage TextBlock-Text="No data, may need to refresh page" />
        </PlotArea>
    </telerik:RadChart>
    but it is displaying No data
    I have 2011:2.712.40 controls.

    Phil
  2. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 02 Oct 2012 Link to this post

    Hi Phil,

    I was unable to reproduce this. I have created a simple app that uses the code you have provided and a snapshot of the result that I get when I run it. I have also used assemblies from the version that you have specified. Do test this project and see if you get different results.

    Kind regards,
    Petar Marchev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Phil
    Phil avatar
    273 posts
    Member since:
    Jul 2008

    Posted 06 Oct 2012 Link to this post

    Have you tried it with the specified version?
    Phil
  5. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 08 Oct 2012 Link to this post

    Hi Phil,

    Yes, the demo project was tested with binaries with version 2011.2.712.40. I have also just double checked this. Have you tried running the attached project? Does it produce different results?

    Regards,
    Petar Marchev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  6. Phil
    Phil avatar
    273 posts
    Member since:
    Jul 2008

    Posted 08 Oct 2012 Link to this post

    Hi
    In your app I get the desired results.  In my web-site, I get 'No data'.
    <%@ Page Title="Test RadChart" Language="VB" MasterPageFile="~/Member.Master" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2" %>
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
    <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Charting" tagprefix="telerik" %>
    <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    </asp:Content>
    <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
        <telerik:RadChart ID="mmpaChart" runat="server" Width="360px" >
            <PlotArea EmptySeriesMessage-Visible="True">
                <EmptySeriesMessage TextBlock-Text="No data, may need to refresh page" />
            </PlotArea>
        </telerik:RadChart>
    </asp:Content>

    Phil
  7. Answer
    Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 09 Oct 2012 Link to this post

    Hi Phil,

    Thank you for the attached snapshot and code snippet. I created a brand new project using the code you provided. When I run the project I get the same output as before. I have attached to this post the project I tested with and a snapshot of the result it produces.

    It is obvious that in the snapshot you provided the chart looks different. Perhaps in code behind you are setting some of the appearance properties and this is what prevents the chart from showing the full message and the message gets clipped. I suggest that you start removing settings until you find the exact reason for this. Let us know how it goes.

    Regards,
    Petar Marchev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017