Triggering an UpdatePanel question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sam Samson

    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=val ue&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]

    #2
    Re: Triggering an UpdatePanel question

    Hello Sam,

    Btw, what are the mode of updatePanels? I suppose it's not conditional?
    Actually, I'd do the _doPostback or just implemeter ICallbackEventH andler
    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=val ue&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.


    Comment

    Working...