I've setup a TextBox and wanted to enable the IME at the language bar when it is on focus. However, it encountered the following error: Microsoft JScript runtime error: Invalid procedure call or argument
<asp:TextBox ID="TextBox1" runat="server" Width="150"/>
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
TextBox1.Attributes.Add("onfocus", "this.style.imeMode='enabled';");
}
}
Is the syntax incorrect?
Thanks,
Ben
...
Go to the complete details ...