Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

Triggering an UpdatePanel question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sam Samson - 21 Feb 2008 02:52 GMT
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.

---------------------------------------------
[Sam Samson] - There is no greater folly than fixed price quoting.
Michael Nemtsev [MVP] - 21 Feb 2008 04:06 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.