|
Re: how to Stop functing ENTER key when report is processing [message #704348 is a reply to message #704248] |
Thu, 28 July 2011 14:12 |
|
You could maybe use something like:
http://www.mediacollege.com/internet/javascript/form/disable-return.html
Put it in the framesetfragment.jsp.
Jason
On 7/28/2011 8:18 AM, vijay kumar wrote:
> Hi,
> is there any way to stop user to press any keyboard keys (especially
> ENTER) when report is executing that is "processing please wait..."
> message. I have disabled the unused images in Toolbar, having only
> export report and print option. When report is executing I have pressed
> enter this is short cut key to call the first element in tool bar. Since
> export report is there, export window is coming behind the processing
> please wait message.
> Is there any to handle this.
> Thank you in advance
> Vijay Kumar Bolisetti
>
|
|
|
|
Re: how to Stop functing ENTER key when report is processing [message #705228 is a reply to message #704855] |
Fri, 29 July 2011 15:31 |
|
Vijay,
Not sure if you are on Birt-Exchange.org but this would be a great
submission to the dev share.
Jason
On 7/29/2011 2:19 AM, vijay kumar wrote:
> Thank you Jason,
>
> Your suggestion worked for me.i have used alternative code for doing
> that since it is not functioning properly. I have used following code in
> FramsetFragemnt.jsp.
>
> ON body <body OnKeyPress="return disableKeyPress(event)"> added this and
> javascript function is
> function disableEnterKey(e)
> {
> var key; if(window.event)
> key = window.event.keyCode; //IE
> else
> key = e.which; //firefox return (key != 13);
> } .
>
> Thank you for your suggestion.
> Vijay Kumar Bolisetti
>
|
|
|
Powered by
FUDForum. Page generated in 0.02800 seconds