Execute web base control using event onmouseup

Jan 25, 2011 at 1:01 AM

Hi All,

I'm hoping someone out there can help me here.

I have a customer with a web application using non-conventional way to navigate through web pages. This is causing quite a headache for us to integrate. Instead of using <a> </a> around link, they're using images with <span onmouseup="go();"> around an image.

How do I get the Web Data Adapter to execute this type of control?

the <div> from the page looks like this

<div id="loginDiv"><span style="cursor: pointer;" onmouseup="try { go(); } catch (e)"><img id="logonDivImg" border="0" src="submit.png"/></span></div>

Could someone help me here.. if I was to extend the WebDDA, what override or call will I have to call to trigger the onmouseup event?

Thanks in advance


Mar 4, 2011 at 3:35 PM


If you have installed UII sdk, you may find its folder within the machine's Programs Files folder. (Microsoft UII)

You may also find some develpoment quick start samples (in the AIF subfolder) - one focuses on the web adpater.

The adapter grants you with access to the web browser control, which exposes the HTML DOM.

Now you have full control over the document - you may want to add an attribute to the div you were referring to, or replace the span element with a new anchor (<a>) tag.