Hi,
I need to catch the submit event in order to show a user lock layer to avoid multiple user click.
I tried different way, submit direct event, and in the last (in the hope was the right way) this:
In page.cs :
protected override void OnLoad(EventArgs e) {
base.OnLoad(e);
ScriptManager.RegisterOnSubmitStatement(Page, Page.GetType(), "myPostbackHandler", "myPostbackHandler()");
}
In page.aspx :
<script language="javascript" type="text/javascript">
function myPostbackHandler() {
... code to show a layer, etc...
}
In every way I did, when an ajax call occurs like mouse over a rad:tooltip control,
the function myPostbackHandler or submit event is always call.
Is there a way to distinct these DIFFERENT (ajax call, real submit) action on client side ?
Thanks a lot.
I need to catch the submit event in order to show a user lock layer to avoid multiple user click.
I tried different way, submit direct event, and in the last (in the hope was the right way) this:
In page.cs :
protected override void OnLoad(EventArgs e) {
base.OnLoad(e);
ScriptManager.RegisterOnSubmitStatement(Page, Page.GetType(), "myPostbackHandler", "myPostbackHandler()");
}
In page.aspx :
<script language="javascript" type="text/javascript">
function myPostbackHandler() {
... code to show a layer, etc...
}
In every way I did, when an ajax call occurs like mouse over a rad:tooltip control,
the function myPostbackHandler or submit event is always call.
Is there a way to distinct these DIFFERENT (ajax call, real submit) action on client side ?
Thanks a lot.