Author: Tdawg90 | Posted on: 1/14/2010 4:44:26 PM | Views : 420

I have a Div, where I want to handle the OnFocusOut event.
the HTML I currently have is

<div runat="server" onfocusout ="deactive() ...
and the event handling in the C# code behind

void deactive() {}
Is this the correct syntax?
or should it be something closer to

void deactive(object sender, EventArgs e) { }
 So far all my attempts result in a Runtime Error,  or either object is undefined (when ever I reference a valid object, ie Checkbox)
or, Runtime error Object Expected
 
...

Go to the complete details ...