Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6193911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:12:12+00:00 2026-05-24T03:12:12+00:00

First, I want to refer to this post, I think it’s the same problem:

  • 0

First, I want to refer to this post, I think it’s the same problem:

http://social.msdn.microsoft.com/forums/en-us/MSWinWebChart/thread/B0594293-BB4B-4646-9CEF-8761AE02C005

I’ve got the following Code:

protected void LinkButton1_Click(object sender, EventArgs e)
{
  pnlTest.Controls.Add(GetChart());
  upnlTest.Update();
}

The chart simply isn’t shown.

The link at the top now tells me I have to add the chart control in the Page_Load or Pre_Load but how do I get the fact that “LinkButton1” caused the PostBack.

Additional problem: Within the event handler LinkButton1_Click some data is being generated and should be used as input parameters for the GetChart() method.

Maybe someone could help me out?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T03:12:13+00:00Added an answer on May 24, 2026 at 3:12 am

    The solution lies in the Web.config. It requires adding the “POST” verb to the httpHandler.

    Before:

     <system.web>
       <httpHandlers>
           <add verb="GET,HEAD" path="ChartImg.axd"
                type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler,
                System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral,
                PublicKeyToken=31bf3856ad364e35" />
       </httpHandlers>
    

    After:

    <system.web>
      <httpHandlers>
           <add verb="GET,HEAD,POST" path="ChartImg.axd"
                type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler,
                System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral,
                PublicKeyToken=31bf3856ad364e35" />
      </httpHandlers>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is my first post, so first of all I want to say a
At first I want to say: I couldn't find a support forum for this
I have a problem but first i want to know if im working on
I have an appender that I only want the first X characters (for this
I have a annoying problem .. I want my first 4 items in a
This is very basic magento question i guess. I want to first get all
I want to download image from internet :: I refer this and try this
This is my first time trying Rcpp and this very simple problem is giving
First I want to describe my situation briefly. I have two classes, one MainClass
I want to give a link to a postscript file, but first I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.