Hi there,
I've 2 textbox and a button. The 1st texbox 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 not 'disable IME' when set focus to the textbox?
Many Thanks,
Ben
<form id="form1" runat="server"><asp:ScriptManager ID="sm" runat="server" /><div><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"><ContentTemplate><asp:TextBox ID="TextBox1" runat="server" Width="150"/></ContentTemplate><Triggers><asp:AsyncPostBackTrigger ControlID="Button1" EventName="Click" /></Triggers></asp:UpdatePanel><br /><asp:Button ID="Button1" runat="server" Text="Time" onclick="Button1_Click" /></div></form> protected void Button1_Click(object sender, EventArgs e) { TextBox1.Text = DateTime.Now.ToString("dd MMM yyyy HH:mm:ss"); tbMsg.Focus(); }