Hi all, I want to create custom event handler in JavaScript and bind it to my asp.net custom control as i can do with html body.
hear on load is the event handler... i want to create my own like OnSuccessfullInsert()
Can some body tell me how to get this done?
Custom event handler in JavaScript
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

CrishRank #1,486 · 1.1K reputationPosted Nov 30, 2010, 2:13 AM EST
like
function name()
{
OnSuccessfullInsert()
}
ali raza78 reputationPosted Nov 30, 2010, 10:56 PM EST
In the above example OnClientClick is the event handler exposed by asp.net Button control. I want to add custom JavaScript event handler like follows:
in the above written code OnSuccessfullInsert is the custom event handler; please tell me how can I get this done?
Thanks,