'IME is disabled' when set focus on TextBox

Oct 22, 2012
Reaction score
I've 2 textbox and a button. The 1st textbox is for entry, the 2nd textbox displayed the time when the button is clicked.

When the page is first loaded, I'm able to select non-default language - Chinese and entered in the 1st textbox. But when the button is clicked, tbMsg.Focus() causes 'IME is Disabled' at the language bar. Though the input language still shows Chinese, it can no longer be entered.

Tried setting the 1st textbox style="ime-mode:active" but still the same.

Is it possible at all to continue the selected non-default language entry when the textbox is foucs?

Many Thanks.

<form id="form1" runat="server">
  <asp:ScriptManager ID="sm" runat="server" />
    <asp:TextBox ID="tbMsg" runat="server" Rows="6" TextMode="MultiLine"
                 Width="329px" style="ime-mode:active" />
    <br />
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
            <asp:TextBox ID="TextBox1" runat="server" Width="150"/>
            <asp:AsyncPostBackTrigger ControlID="Button1" EventName="Click" />
    <br />

    <asp:Button ID="Button1" runat="server" Text="Time" onclick="Button1_Click" />

protected void Button1_Click(object sender, EventArgs e)
    TextBox1.Text = DateTime.Now.ToString("dd MMM yyyy HH:mm:ss");

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question