Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    No events on ViewFileItem inline image

    I need to show a clickable image that the user can upload himself. Uploading works fine, showing inline via DynamicForm and ViewFileItem works too, but I can't make the image clickable. I can add click handlers and context menus to the dynamicform, and they work on the form, except on the image itself where I only get default browser behavior. Also settings directly on formItem.getCanvas() are ignored.

    To reproduce the issue, have a datasource with a field of type="imageFile" and showFileInline="true", have a DynamicForm with datasource set, set a click handler on the DynamicForm, fetch a record. It will show the image nicely, but clicks are working only outside the image and if you add a context menu, then the image will show the default context menu instead.

    Please help

    1. SmartClient Version: v9.1p_2014-05-25/PowerEdition Deployment (built 2014-05-25)
    2. Firefox 24.4.0, IE9.0
Working...
X