473,473 Members | 1,824 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

keypress event in Javascript on Office Live Communicator Custom Tab


Hello.
I created simple asp.net application to search message history over
Office Live Communicator conversations.

I complete quite all job but stick with one thing - I have autosuggest
box (using async callback request aka XmlHttp in other browsers)
implemented on my custom tab ( read: on my asp.net page, which added to
communicator tabs) - it's very usefull during search for communicator
users. I added javascript event handlers on keypress and want navigate
through suggestions with arrows - next and previous suggestion etc... I
complete all code testing in common IE window - all work perfect. But
when I tried to complete all tests in communicator tab - all my keyup
events fire 3 times, instead once (and my suggest selector leap over 2
suggestion itemes =( )
window.event.cancelBubble=true didnt helped either....

Does anyone know how to suppress redundant events or at least why they
fired in embedded window (I think this is because a tab - maybe one
event from comm window itself, one from tab and one is from embedded
area of browser object) and how to differentiate each event from the
others

I tried to check typeof event and nodeName, but it's all the same -
it's keyup event and nodeName - my Div where I handle to this
messages..

PS As I understand - the embedded window is kind of IE window - thus I
can utilize only IE or cross-platform solutions

Sep 6 '06 #1
1 4929
Hi,

Did you find a solution to this problem? I have a custom tab in Office
Communicator 2005, written using Google Web Toolkit. My app also works
fine in IE, but I am also getting the keypress events 3 times when
inside the custom tab.

My custom page also uses the presence ActiveX control "Name.NameCtrl",
to popup a presence menu when I click an element. Again, this works in
IE but not in the custom tab - it appears and then immediately
disappears. It should remain visible until I click somewhere else on
the window.

Thanks,
Alex
centur wrote:
Hello.
I created simple asp.net application to search message history over
Office Live Communicator conversations.

I complete quite all job but stick with one thing - I have autosuggest
box (using async callback request aka XmlHttp in other browsers)
implemented on my custom tab ( read: on my asp.net page, which added to
communicator tabs) - it's very usefull during search for communicator
users. I added javascript event handlers on keypress and want navigate
through suggestions with arrows - next and previous suggestion etc... I
complete all code testing in common IE window - all work perfect. But
when I tried to complete all tests in communicator tab - all my keyup
events fire 3 times, instead once (and my suggest selector leap over 2
suggestion itemes =( )
window.event.cancelBubble=true didnt helped either....

Does anyone know how to suppress redundant events or at least why they
fired in embedded window (I think this is because a tab - maybe one
event from comm window itself, one from tab and one is from embedded
area of browser object) and how to differentiate each event from the
others

I tried to check typeof event and nodeName, but it's all the same -
it's keyup event and nodeName - my Div where I handle to this
messages..

PS As I understand - the embedded window is kind of IE window - thus I
can utilize only IE or cross-platform solutions
Sep 13 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Thomas | last post by:
Hey y'all, I'm using firebird 0.7 and developed some kind of inline editing with java script. Therefore I used the keypress event listener. The problem is that I can only enter one character...
0
by: wendy | last post by:
I created com add-in for word2003, excel2003 and powerpoint2003, basically, i added 4 button in toobar and on_click, i apply some bussiness logic. all works in excel2003 and powerpoint 2003, but in...
2
by: Binny V A | last post by:
Hello Everyone, I am writing an tutorial(http://www.geocities.com/binnyva/code/javascript/basic_tutorial/index.html) for JavaScript and I wanted to include the link of the Netscape's official...
3
by: Darryn Ross | last post by:
Hi, I am trying to catch the KeyPress event on my datagrid but it isn't working... i have also tried registering the handler with the event like this... dgGLBatch.KeyPress += new...
0
by: Steph. | last post by:
Hi, I have made a new custom TextBox control to enable ENTER and TAB keys to be trapped in the "KeyPress" and "KeyDown" Events. to do that I have overridden the "IsInputKey" property in my...
3
by: Raul M. Colon | last post by:
Is possible to assign a click event to a button control in a Web form just pressing the return key? Something like windows forms where you can assign this action to a default control. For example,...
0
by: Thom Anderson | last post by:
I have seen web sites (mostly sharepoint portals) that integrate with MS Office Communicator. Our company uses Communicator and I'd like to integrate some of the communicator features with our...
0
by: mrsamii | last post by:
Hi all, I am working on a client application for "live communication server" using Microsoft asp .net 2.0 with c#. I have problem to pass on the current user's email address (SIP address) from...
0
by: mrsamii | last post by:
Hi all, Sorry about posting the problem again. But I thought that if I explain a little bit more clear, it would help to find out a solution. I am working on a client side web application of...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.