473,473 Members | 1,457 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Triggering an UpdatePanel question

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.
Feb 21 '08 #1
1 1588
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
SSHi All,
SS>
SSI am creating a asp.net tool that uses 2 graphs (chartFx Pie chart
SS[chartA]
SSand ChartFx Barchart [chartB])
SSThe effect I'd like to get is to have the Bar chart in an update
SSpanel and
SSwhen a user clicks on a segment of the Pie Voila the Barchart
SSupdates.
SSIf I populate a dropdown list with the information that populates
SSthe Pie chart then it is straight forward in using the dropdown to
SStrigger the update panel.
SS>
SSChartFX Pie chart creates a client side imagemap of which I can only
SScontrol the URL that each slice will redirect to e.g.
SS"http://somesite/myTool?name=value&name2=value2" kind of thing.
SS>
SSCould any-one take a guess at how I might be able to do such a
SSthing.
SS>
SSFor example:
SSdo I need to put both in update panels and have chartA redirect to
SSits URL
SS(which would be the same page with different parameters) do some
SSback end
SSprocessing and update both panels accordingly.
SSI know the "effect" I want and it sounds like the sort of thing Ajax
SSshould be capable of just unsure of the theory or mechanism I should
SSbe looking at.
SS>
SS---------------------------------------------
SS[Sam Samson] - There is no greater folly than fixed price quoting.
Feb 21 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Steve Schroeder | last post by:
For some reason I cannot get the OnSelectedIndexChanged event to fire for a listbox I have on a page. I'm able to populate the listbox with data from a stored procedure, but cannot trigger the...
2
by: marss | last post by:
Hello, I have a question concerning UpdatePanel. For example, I have two linkbuttons at the UpdatePanel. I want the Button1 linkbutton to update controls within panel (the TextBox1 control in...
2
by: brett | last post by:
I have an AJAX updatepanel in an aspx page. Inside the updatepanel is a placeholder control, which loads various ascx files. This all works fine. One of the ascx files also has an updatepanel in...
2
by: ChrisCicc | last post by:
Hi All, I got a real doozy here. I have read hundreds upon hundreds of forum posts and found numerous others who have replicated this problem, but have yet to find a solution. Through testing I have...
6
by: jojoba | last post by:
hi everyone! i'm serving up an asp.net page using ajax futures. long story short: i have two update panels. one has a webpage in it (e.g. www.google.com). the other has an image inside of a...
2
by: John Grandy | last post by:
Is anyone finding that cookies added to the Response.Cookies collection within pages which contain an UpdatePanel do not exist in the Request.Cookies collection when the page is posted back ? ...
3
by: JacekDr | last post by:
Hello, I've got the following problem: I want to add and remove dynamically controls to UpdatePanel. In my user control I have a button, but when I click it I get AsyncPostback and Event for...
0
by: Jeff | last post by:
hey asp.net 3.5 I have 2 UpdatePanels in my webpage. This webpage has a GridView, which one of its column is a templatefield which again contain a UpdatePanel and a button... The other...
4
by: pechar | last post by:
Hi All, This question has been asked many times and I've checked most of the sites with resolutions. None worked for me. 1) I have a page which is a content page to a Masterpage . 2) I have a...
13
by: SAL | last post by:
Hello, I'm trying to include a popup in the ItemTemplate of a gridview row. The ItemTemplate for the field contains a textbox and when the user clicks in the textbox I want a popup panel to show...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.