08-02-2018, 03:29 AM
(This post was last modified: 08-04-2018, 06:19 PM by mdomke.
Edit Reason: Modified subject to show question was answered.
)
Is there a way to trigger an IWControl event from a HTML element created in raw text?
For example, if I create a series of HTML elements, for example anchor tags <a>, using the raw text mode of an IWText component, can I hook the onClick event of that HTML element to an onClick event defined in an IWForm, or the WebApplication for that matter?
I'm trying to create a visually unique navigation and the only way I found I can do this is by using the raw text mode of the IW Text component. I need the HTML elements within the raw text to be interactive and I need that interaction to be managed by the WebApplication session, for example, navigating to another page.
I hope this makes and any insight and especially code examples would be much appreciated.
Many thanks,
Michael
For example, if I create a series of HTML elements, for example anchor tags <a>, using the raw text mode of an IWText component, can I hook the onClick event of that HTML element to an onClick event defined in an IWForm, or the WebApplication for that matter?
I'm trying to create a visually unique navigation and the only way I found I can do this is by using the raw text mode of the IW Text component. I need the HTML elements within the raw text to be interactive and I need that interaction to be managed by the WebApplication session, for example, navigating to another page.
I hope this makes and any insight and especially code examples would be much appreciated.
Many thanks,
Michael