473,394 Members | 1,155 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

IE crashes and IME language bar locks for HTC with viewLinkContent & tabStop = true

Hi all,

I have a asp.net web page that hosts some htcs with input boxes on it. The viewLinkContent and tabStop properties are defaulted to true so that users can add text and tab through the input boxes within the HTCs. I have attached event "onfocus" to focus the first input box of the htc. Things work fine until users tab through or click anywhere within the web page. However, if users are focusing on one of the text boxes within htc and then decide to click somewhere outside the current web page and then try to click on input box again, then the IE crashes.

I found an alternative way - using "onactivate" to focus the input box. That worked fine and did not crash IE, however, now I have found out that the IME control bar locks if users tab out of the input box.

If anybody has any idea about this, your help with this will be greatly appreciated.

Sep 12 '07 #1
5 1658
16,027 Expert Mod 8TB
Post some code or a link to a test page.
Sep 13 '07 #2
Anja N
Post some code or a link to a test page.
The htc "field.htc" is as follows:
<PUBLIC:COMPONENT tagName="field">
<PUBLIC:DEFAULTS viewLinkContent="true" tabStop="true"/>
<public:property name="value" />
<!-- *** Attached Events *** -->
<PUBLIC:ATTACH EVENT="ondocumentready" ONEVENT="_init()" />
<PUBLIC:ATTACH EVENT="onfocus" ONEVENT="_focus()" />


<link id="lnkStyle" rel="stylesheet" type="text/css" href="">

function _init()
_input().value = element.value;

function _input()
return document.getElementById("input1");

function _focus()
function setfocus()



<body leftMargin="0" topMargin="0" bottommargin="0" rightmargin="0" scroll="no" width="100%" height="100%">
<input id='input1' onfocus='setfocus()' style='height:100%; width:100%' >



************************************************** *******
The html page that hosts the htc is as follows

[HTML]<html XMLNS:test>
<table width="100%">
<tr width="100%">
<td width="50%" ><test:field value="Input field1" /> </td><td width="50%"><test:field value="Input field2" /></td>
<tr width="100%">
<td width="50%" ><test:field value="Input field3" /></td><td width="50%" ><test:field value="Input field4" /></td>

#1 - Language setting: Open the web page in browser and make sure that you can tab through the fields property and if you have language bar on the top and "Japanese" language is selected with "Hirangana" input mode while you were in first field, the setting stays like that until you get in field4.

#2 IE crashes - Now while in field1, you click on some window other than this html page, then click on field2 then again on some other window then again on field1 and you will notice that in 3 to 4 clicks, your IE crashes.

Now in field.htc change the "onfocus" shown in bold event to "onactivate" and you will see that problem#2 does not occur, however, while in field1 if you tab to the next field, then the Input Mode for Hirangana on IME language bar changes and if you try to click on "Input Mode", it does not respond until you click on either field2 or some other input field. This happens only if you try to tab through fields. Mouse clicks do not lock Language Input Mode.
Sep 13 '07 #3
5,390 Expert Mod 4TB
hi ...

please make use of the code tags when posting code ... example:

... your code goes here ...

kind regards
Sep 13 '07 #4
Anja N
Thanks for bringing that to my notice. Also, thanks for fixing my message.
Sep 14 '07 #5
Anja N
Anybody out there who could help me with this???
Sep 17 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

by: w.p. | last post by:
Hello! I want change default tab traversing in my app. But i don't know how to do it :( Belowe i include simple example - i want change default tab order: radiobutton "mode11" -> radiobutton...
by: John Baro | last post by:
Where is my TabStop property. I want to prevent tabbing to a label. In the MSDN it shows Label.TabStop Property This member supports the .NET Framework infrastructure and is not intended to be...
by: Geoff Cox | last post by:
Hello, Can I separately declare and initialize a string array? How and where would I do it in the code below? It was created using Visual C++ 2005 Express Beta 2 ... In C# I would have ...
by: Rob Mayo | last post by:
I am working in an environment with 4 developers. 2 groups of 2 people working on the same server on the same web project with no version control management on the web server. Programmers A & B...
by: Doru Roman | last post by:
Hi, What is the fastest way to evaluate manually the result in this case: int a, b, c; a = 255; b = 122; c = a & b; The only way I know is transforming each number into the binary value...
by: Mike S | last post by:
Hi all, I noticed a very slight logic error in the solution to K&R Exercise 1-22 on the the CLC-Wiki, located at http://www.clc-wiki.net/wiki/KR2_Exercise_1-22 The exercise reads as...
by: BigAl.NZ | last post by:
Hi Guys, I am trying to write/copy some code that uses events with a GPS. Everytime the GPS position updates the event fires. The GPS code is from a SDK Library that I got called GPS Tools...
by: robert | last post by:
I get python crashes and (in better cases) strange Python exceptions when (in most cases) importing and using cookielib lazy on demand in a thread. It is mainly with cookielib, but remember the...
by: janki | last post by:
When through one webservice we are doing "update" operation and before doint "commit" , that instance crashes..now if i want to create some recovery service..i need to release locks ..but when i try...
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...

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.