473,520 Members | 2,794 Online
Bytes | Software Development & Data Engineering Community
+ 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 4937
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
4157
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 then the "find as you type" starts. You can disable it, of course, but what if someone else uses the web page and hasn't disabled the feature? Do you...
0
1367
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 word2003, the button event has been tiggered twice. After i click, it run the code inside the button click, then run again. so annoying. code...
2
2079
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 JavaScript manuals in the reference section. JavaScript Guide http://developer.netscape.com/library/documentation/communicator/jsguide4/index.htm
3
7326
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 KeyPressEventHandler(dgGLBatch_KeyPress); but nothing changed. I was wondering wether a custom table and column style might have an effect on how this works???
0
4266
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 new control (derived from the TextBox control)(see code below). I can now manage the KeyPress/Down event raised by TAB and ENTER keys, but I...
3
8454
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, if I press Return, I want to fire the button_click event even when the button is not in focus. Any thoughts? Thanks! Raul
0
1358
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 department's portal, but it's 1.1 of the DNF. The portal web site says there are download examples but they're 2.0. Does anyone have any code,...
0
1019
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 office communicator to my asp application. any suggestion would be really appreciated. Thanks, mrsamii
0
1142
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 Live Communications Server using ASP .NET 2.0 with C#. In office communicator 2005, I added a button which links to aspx web page of the application. In...
0
7304
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7560
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5742
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5127
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4788
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3282
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3280
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
837
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
506
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.