batista,
my bad - should have read the whole message. I am not sure whether you can
hookup to the SERVER user controls from the CLIENT-side script. My
understanding is that you cannot do that (I may be wrong though).
As I have never done anything like that - you may need to re-post your
question so that others may be able to help you. When you do that, try to
soecify exactly what you need - or what you are trying to achieve.
"batista" wrote:
thnks for reply.
i did that.
sort of pseudo code
class A
{
public delegate void aa();
public static event aa aaevent;
public func()
{
aaevent(); //i'm getting an exception here that object is set to
null.
}
}
now i used this dll in my webpage with object tag.
then i wrote this in javascript:
<SCRIPT lang="javascript">
function CallIt() //this is called on button click
{
var objAct = document.getElementById"myclassA");
objAct.func();
}
</SCRIPT>
<SCRIPT lang="javascript" event="aaevent()" for="myclassA">
alert("It is the Event of ActX Control");
</SCRIPT>
So why is it happening?