Triggering an UpdatePanel question

S

Sam Samson

Hi All,

I am creating a asp.net tool that uses 2 graphs (chartFx Pie chart [chartA]
and ChartFx Barchart [chartB])
The effect I'd like to get is to have the Bar chart in an update panel and
when a user clicks on a segment of the Pie Voila the Barchart updates.

If I populate a dropdown list with the information that populates the Pie
chart then it is straight forward in using the dropdown to trigger the update
panel.

ChartFX Pie chart creates a client side imagemap of which I can only control
the URL that each slice will redirect to e.g.
"http://somesite/myTool?name=value&name2=value2" kind of thing.

Could any-one take a guess at how I might be able to do such a thing.

For example:
do I need to put both in update panels and have chartA redirect to its URL
(which would be the same page with different parameters) do some back end
processing and update both panels accordingly.

I know the "effect" I want and it sounds like the sort of thing Ajax should
be capable of just unsure of the theory or mechanism I should be looking at.
 
M

Michael Nemtsev [MVP]

Hello Sam,

Btw, what are the mode of updatePanels? I suppose it's not conditional?
Actually, I'd do the _doPostback or just implemeter ICallbackEventHandler
to process the request from one of pies

google to find the samples of usage this methods

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


SS> Hi All,
SS>
SS> I am creating a asp.net tool that uses 2 graphs (chartFx Pie chart
SS> [chartA]
SS> and ChartFx Barchart [chartB])
SS> The effect I'd like to get is to have the Bar chart in an update
SS> panel and
SS> when a user clicks on a segment of the Pie Voila the Barchart
SS> updates.
SS> If I populate a dropdown list with the information that populates
SS> the Pie chart then it is straight forward in using the dropdown to
SS> trigger the update panel.
SS>
SS> ChartFX Pie chart creates a client side imagemap of which I can only
SS> control the URL that each slice will redirect to e.g.
SS> "http://somesite/myTool?name=value&name2=value2" kind of thing.
SS>
SS> Could any-one take a guess at how I might be able to do such a
SS> thing.
SS>
SS> For example:
SS> do I need to put both in update panels and have chartA redirect to
SS> its URL
SS> (which would be the same page with different parameters) do some
SS> back end
SS> processing and update both panels accordingly.
SS> I know the "effect" I want and it sounds like the sort of thing Ajax
SS> should be capable of just unsure of the theory or mechanism I should
SS> be looking at.
SS>
SS> ---------------------------------------------
SS> [Sam Samson] - There is no greater folly than fixed price quoting.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top