ActiveX or not

  • Thread starter Thread starter Trond
  • Start date Start date
T

Trond

I am asked to make a webpage with an ActiveX control. THe control will show
data from database or webservice and based on those data draw a graph (Trend
control from www.cstsoft.com). I started to wonder if it was the smartest
way to solve this and that leads me to ask out here if it is. Is there maybe
better way to show data like a trend graph? The data sometimes is near real
time and dynamic in the way that it can draw data while being monitored by
the user. AJAX is an approach maybe, same with smart client.
Is there anyone that can advice what i should do regarding this? I mean what
is the best way to solve things like this?
Best regards
Trond
 
infragistic (not sure about charts) uses MSXML to load data from server
without causing postback. at least, you can call web services with
javascript (yes its possible. there is a wrapper HTC file for that.) and
draw image with javascript (i dont know how but i think its possible.)

anyway, if your clients will surely use internet explorer, dont bother with
ajax, infragistic etc. do it easiest way.
 
Trond,

You won't be able to create an Active X control (at least in a supported
way) with .NET. You can embed a control in a web page, but you have to be
aware it will require a change in the security settings on the client.

If you want to try this, check out the following article titled "Using
Windows Forms in Internet Explorer", located at (watch for line wrap):

http://samples.gotdotnet.com/quickstart/winforms/doc/WinFormsIeSourcing.aspx

Hope this helps.
 
Another approach, is to rip-off the Office implementation available on their
website using the office web components. What they have done - full code
included - is load a hidden spreadsheet and a chart/cube matrix bound to the
data range in the spreadsheet. As the data changes in real-time, the
chart/cube matrix responds instantly. Unfortunately, the implementation is
an ActiveX hookup underneath.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
 
Back
Top