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.
ClickSeries - AsyncPostBackTrigger and/or ClienSide events
Re: ClickSeries - AsyncPostBackTrigger and/or ClienSide events
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,
Can you please send us your project,because we can reproduce it here and try to find a good solution for you?
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: ClickSeries - AsyncPostBackTrigger and/or ClienSide events
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!
- 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
Hello Hermes,
We have investigating your problem, we try to answer you asap.
Thanks,
We have investigating your problem, we try to answer you asap.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: ClickSeries - AsyncPostBackTrigger and/or ClienSide events
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
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
- Attachments
-
- TeeChartInUpdatePanel.zip
- (4.7 KiB) Downloaded 436 times
Steema Support
Re: ClickSeries - AsyncPostBackTrigger and/or ClienSide events
Hi!
Thanks for the response, I will give it a try and come back to you in a few days.
Thanks for the response, I will give it a try and come back to you in a few days.