R – Alternative to VB6 ActiveX Controls – Silverlight or .NET based ActiveX Controls

activexinternationalizationnetsilverlight

I have a web application which extensively uses Windows Common Controls ActiveX controls for User Interface. These mainly include Listview, Treeview, Common Dialog etc. With these controls I get very good performance in load times and also these controls provides very good communication with JavaScript.

Recently I enabled supporting Unicode characters in the application and I started facing problem with these controls where they are simply rendering these Unicode characters as '???'. This is specially happening with double by characters (e.g. Chinese, Japanese etc…).

I would like to replace these controls with something new and more powerful. Certainly I don't want to go with .NET Server Controls or any Client base Script controls like ExtJS or DhtmlX since the performance will never be same (performance with loading 15000 rows using ActiveX where data is passed through JavaScript row by row is pretty fast).

I would like to know what alternative I have if I want to replace these controls. Is it Silverlight or .NET based ActiveX controls? My client browser will always be IE7+ and having Silverlight or .NET framework on client is not a problem. However the main criteria is that usage of these controls and communication with JavaScript for loading these controls should as close to as we currently do with VB6 ActiveX controls.

If anyone can suggest any vendor who provides these controls that would be great.

Thanks in advance.

Best Answer

While there are vendors that sell Silverlight controls that you can use you are not able to directly use these controls in your HTML page. Instead you will have to create a Silverlight application that could be a simple wrapper around a control. It is possible for the Silverlight application to interact with the browser object model and vice versa using JavaScript to interact with the Silverlight application. However, if performance is important you should probably let the Silverlight application interact directly with the web server.

I want to mention that Silverlight doesn't require the .NET framework to be installed. Silverlight also runs on the Mac and the Silverlight runtime includes a trimmed version of the .NET framework.

Related Topic