Hi, How can I Disable javascript smartSubmit( ) event on grids and charts ?
Basically there should be no submit events triggered when user clicks
anywhere on page other than on a Command Button.
Thanks
Hello ,
You can add this script on the page :
<script type="text/javascript">
smartRefreshSupport = false;
</script>
Also regarding the grid you can use the ajaxRequesting client event :
<ig:gridClientEvents ajaxRequesting="ajaxRequesting"></ig:gridClientEvents>
And in its implementation you should cancel the event :
<script type="text/javascript"> function ajaxRequesting (sender , args){ args.set_cancel(true); }
Hope this helps.
Sincerely,
Tsvetelina