Tuesday, March 07, 2006
« MSDN Library Install | Main | Top 10 .NET Tips and Tricks »

I ran across an interesting KB article today.  I had never seen the "::" notation in JavaScript before, but here it is:

function ctrl::ClickEvent(a,b)
{
   alert("MyWindowControl_ClickEvent");
}

This function will handle the "ClickEvent" .NET event that is exposed to script through an object tag:

    <OBJECT id="ctrl" classid="YourDllName.dll#ActiveXSourcing.MyWindowControl">
    </OBJECT>

For more, read KB313891

Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, super, u)  

Enter the code shown (prevents robots):