Skip to main content



      Home
Home » Archived » BIRT » how to Stop functing ENTER key when report is processing
icon12.gif  how to Stop functing ENTER key when report is processing [message #704248] Thu, 28 July 2011 08:18 Go to next message
Eclipse UserFriend
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 #704348 is a reply to message #704248] Thu, 28 July 2011 10:12 Go to previous messageGo to next message
Eclipse UserFriend
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 #704855 is a reply to message #704348] Fri, 29 July 2011 02:19 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: how to Stop functing ENTER key when report is processing [message #705228 is a reply to message #704855] Fri, 29 July 2011 11:31 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:Report Viewer Parameter Dialog - resize
Next Topic:Issue with BIRT Viewer
Goto Forum:
  


Current Time: Tue Jul 22 17:42:57 EDT 2025

Powered by FUDForum. Page generated in 0.05777 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top