[CLOSED] Bug rendering asp.net chart in web site scenario

  1. #1

    [CLOSED] Bug rendering asp.net chart in web site scenario

    Very strange. Why in "WEB SITE" scenario this code crushes with error message "Error executing child request for handler 'Ext.Net.SelfRenderingPage'"
    but it works on "WEB PROJECT" This is only with asp.net charts
     public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "application/json";
            ComponentLoader.Render(getPanel());
        }
        private Ext.Net.Panel getPanel()
        {
            System.Web.UI.DataVisualization.Charting.Chart chrt = new System.Web.UI.DataVisualization.Charting.Chart();
            chrt.BorderlineColor = System.Drawing.Color.Blue;
            chrt.Width = new System.Web.UI.WebControls.Unit("100px");
            chrt.Height = new System.Web.UI.WebControls.Unit("100px");
            Ext.Net.Panel pnl = new Panel();
            pnl.Title = "Panel with asp control ";
            pnl.ID = "Panel_sdsd";
            pnl.ContentControls.Add(chrt);
            return pnl;
        }
        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    Last edited by Daniil; Feb 19, 2013 at 9:42 AM. Reason: [CLOSED]
  2. #2
    Hi @odyssey,

    Could you look at the InnerException of the main exception?
  3. #3

    Fixed

    Quote Originally Posted by Daniil View Post
    Hi @odyssey,

    Could you look at the InnerException of the main exception?
    I have to apologise everithing works just fine. I forgot to add nessesary config in web.config. Because in web site scenario they are not added automatically
    Last edited by odyssey; Feb 19, 2013 at 6:28 AM. Reason: Found the problem
  4. #4
    Ok, thank you for the follow-up!

Similar Threads

  1. Replies: 2
    Last Post: Aug 13, 2012, 2:12 PM
  2. [CLOSED] Help with drag drop scenario
    By jlosi in forum 1.x Legacy Premium Help
    Replies: 10
    Last Post: Jun 06, 2011, 3:12 PM
  3. [CLOSED] [1.0] Rendering Chart/Flash behind Model Window
    By ljankowski in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Nov 08, 2010, 7:24 PM
  4. Replies: 2
    Last Post: May 20, 2010, 2:48 PM
  5. Replies: 1
    Last Post: Jun 12, 2009, 5:14 AM

Posting Permissions