Jump to content
Software FX Community

Capturing annotation events from teh .NET client


User (Legacy)

Recommended Posts

I have hosted the ChartFx as a .NET control on web page and have enabled the

Annotation toolbar. When I add annotations on the control that is displayed

on the browser, I would like to capture events on the Annotation object like

objectcreated, selectionchanged and selecteddeleted and notify the server of

the changes. Can anyone provide me with sample code on how to achieve this?

I have been able to achieve this with Windows Form Application but I do not

know how to capture the events on the Internet.Client.Chart.

Thanks,

Swami

Link to comment
Share on other sites

That is so very funny that you ask that and today!

Just yesterday I was trying to do that for a customer.

Capturing the Chart's events work fine. But I was unable to capture the

Annotation Events.

I even tried modifying the Annotation Code itself to no avail.

I think that it has to do with capturing the events on the IEClient for any

Extension.

As far as I can tell this is an Open Issue which I will get back to you on.

CJS

"Swaminathan Gnanaskandan" <gswami@mailcity.com> wrote in message

news:JQqGjUOOEHA.3216@webserver3.softwarefx.com...

> I have hosted the ChartFx as a .NET control on web page and have enabled

the

> Annotation toolbar. When I add annotations on the control that is

displayed

> on the browser, I would like to capture events on the Annotation object

like

> objectcreated, selectionchanged and selecteddeleted and notify the server

of

> the changes. Can anyone provide me with sample code on how to achieve

this?

>

> I have been able to achieve this with Windows Form Application but I do

not

> know how to capture the events on the Internet.Client.Chart.

>

> Thanks,

> Swami

>

>

>

Link to comment
Share on other sites

Hi,

Could you mail me the sample code that you have written to capture the Chart

events for e.g click.

Basically I do not have too much expertise in ASP.NET, I am trying to

migrate a windows form application that I had written into a web form. I

would like to understand how to get events from the Internet.Client.Chart to

the server.

Thanks,

Swami

"Software FX Support" <support@softwarefx.com> wrote in message

news:6e6uALPOEHA.3216@webserver3.softwarefx.com...

> That is so very funny that you ask that and today!

> Just yesterday I was trying to do that for a customer.

> Capturing the Chart's events work fine. But I was unable to capture the

> Annotation Events.

> I even tried modifying the Annotation Code itself to no avail.

> I think that it has to do with capturing the events on the IEClient for

any

> Extension.

> As far as I can tell this is an Open Issue which I will get back to you

on.

>

> CJS

>

> "Swaminathan Gnanaskandan" <gswami@mailcity.com> wrote in message

> news:JQqGjUOOEHA.3216@webserver3.softwarefx.com...

> > I have hosted the ChartFx as a .NET control on web page and have enabled

> the

> > Annotation toolbar. When I add annotations on the control that is

> displayed

> > on the browser, I would like to capture events on the Annotation object

> like

> > objectcreated, selectionchanged and selecteddeleted and notify the

server

> of

> > the changes. Can anyone provide me with sample code on how to achieve

> this?

> >

> > I have been able to achieve this with Windows Form Application but I do

> not

> > know how to capture the events on the Internet.Client.Chart.

> >

> > Thanks,

> > Swami

> >

> >

> >

>

>

Link to comment
Share on other sites

Dear Swami,

I have answered several questions regarding this issue on the

chartfx.net.general newsgroup

Under a thread titled "Handling Client Side Events"

This link should just take you there if you can't find it.

http://support.softwarefx.com/news/ForumFrame.aspx?Forum=chartfx.net.general&Article=ge5bfsgdeha-196.htm

Regarding Annotations it is not possible to catch client side events. We are

looking into this feature.

CJS

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...