G
Guest
Hi,
I have a datalist with a textbox control used for entering the qty for a
products, when I click it I would like the qty to clear. I added the
following in the ItemCreated sub of the datalist ;
Dim tmpTextBox As TextBox
tmpTextBox = CType(e.Item.FindControl("txtQty"), TextBox)
tmpTextBox.Attributes.Add("onfocus", "this.value='';")
This works fine in firefox , but not with internet explorer... is there any
reason why ?
Thanks
Neil
I have a datalist with a textbox control used for entering the qty for a
products, when I click it I would like the qty to clear. I added the
following in the ItemCreated sub of the datalist ;
Dim tmpTextBox As TextBox
tmpTextBox = CType(e.Item.FindControl("txtQty"), TextBox)
tmpTextBox.Attributes.Add("onfocus", "this.value='';")
This works fine in firefox , but not with internet explorer... is there any
reason why ?
Thanks
Neil