Page 1 of 1

ClickSeries - AsyncPostBackTrigger and/or ClienSide events

Posted: Wed Feb 08, 2012 9:09 pm
by 15661479
Hello,

We are currently working on an application where events are handled through clienside events (javascript) generating an ajax call or with asynpostbacktriggers as the control's events don't generate changes on itself but yes on others. For example, if a clickseries on a chart generates changes on a control, let's say "Control2", Control2 is inside an UpdatePanel who would have an asyncpostbacktrigger associated with clickseries.

The problem we are having is that ClickSeries' handler cannot be used as an asyncpostbacktrigger because it does not follow the standard form: handler(object sender, EventArgs e), neither there is a client side alternative (or we weren't able to find it).

Any suggestion to accomplish this?

Thanks in advance.

Re: ClickSeries - AsyncPostBackTrigger and/or ClienSide events

Posted: Fri Feb 10, 2012 12:15 pm
by 10050769
Hello Hermes,

Can you please send us your project,because we can reproduce it here and try to find a good solution for you?

Thanks,

Re: ClickSeries - AsyncPostBackTrigger and/or ClienSide events

Posted: Mon Feb 13, 2012 5:28 pm
by 15661479
Sorry that I am not able to post my project here, but I will simplify the post in two more accurate questions:

- How can I use the Chart's ClickSeries event as an AsyncPostBackTrigger of an UpdatePanel?
- How can I handle the Chart's ClickSeries event without generating a postback? (just a javascript event)

Thanks!

Re: ClickSeries - AsyncPostBackTrigger and/or ClienSide events

Posted: Wed Feb 15, 2012 5:21 pm
by 10050769
Hello Hermes,


We have investigating your problem, we try to answer you asap.

Thanks,

Re: ClickSeries - AsyncPostBackTrigger and/or ClienSide events

Posted: Fri Feb 17, 2012 1:29 pm
by Marc
Hello,

I've attached a test page to this post that shows the asynchronous options open to the TeeChart WebChart in its current form. It may be that some aspect of your enquiry has escaped us but the example does try to show all the possible permutations. It shows how a trigger could be used to divert a call from a chart event.

With respect to calling clientside javascript: it is possible in a non-intelligent way as shown in the example but there is too the possiblity of outputting data from TeeChart to the clientpage that could be used as value-add data on the page itself (for example the data that is used to plot the chart). Note too that some extended pageside javascript techniques are available when using the Hotpsot tool to extend clientside javascript handling of point data when passing the mouse over a chart. See Tutorial 10 and the Customising Mouseover Mark example in the TeeChart for .NET example website project.

Please let us know if the example raises some more questions that are not well answered by the example itself.

With thanks.
Regards,
Marc Meumann

Re: ClickSeries - AsyncPostBackTrigger and/or ClienSide events

Posted: Wed Feb 22, 2012 11:45 am
by 15661479
Hi!

Thanks for the response, I will give it a try and come back to you in a few days.