This is my JavaScript function :
function WantToSave()
{
alert('You should save now !');
}
And this is my ASP.NET code behind :
Page.ClientScript.RegisterStartupScript(this.GetType(), MyKey, WantToSave(););
The RegisterStartupScript
function is reached, that's sure. But it won't trigger my JavaScript function. And that second parameter, it is supposed to be a Key of the starting script yes but what should I put there?