javascript support

Feb 20, 2014 at 3:15 PM
why doesn`t is javascript implemented?
you can use clearscript from codeplex.com
and i need it because i would use image object from c# in html
Developer
Feb 20, 2014 at 8:36 PM
It's not that simple and there are a few more things in the backlog...

but what javascript support has to do with image objects? can you explain please, maybe html already supports your scenario.
Feb 21, 2014 at 11:32 AM
example:
Images is a List of image object

htmlpanel1.js.AddObject("Images", Images);

and i would use a javascript menu
Developer
Feb 23, 2014 at 7:01 AM
javascript menu sounds like a complex thing to add support for...

If I understand it correctly you need something like a dropdown menu on specific element...
I would do it using WinForms controls:
  1. add left mouse click handler on the panel/label.
  2. add id to the element you want the dropdown on
  3. on mouse click get the rectangle of the element by id and check if mouse was clicked in it
  4. show the dropdown
or you can use "a" element click override...

hope it help.