Mike,
>>CuteEditor_OnCommand(editor,command,ui,value)
Example:
function CuteEditor_OnCommand(editor,command,ui,value)
{
//handle the command by yourself
if(command.toLowerCase()=="postback"&&value=="Save")
{
alert("The Save Command is Captured at the client side. You can hook up your business logic here.\n You can also stop this command.");
return true;//return true if you want to stop the command
}
}
Demo:
|
How to capture the SAVE button click event?( C# | VB )
This example demonstrates how to capture the SAVE button click event by using client-side code and server-side code.
|
You can find the source code of this example in the download package.
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx