Valentin,
As Vlad mrentioned in a response, you need to make sure the textbox is given an id and then use that id in the Find portion of the code I provided.
>Thamnks for replay.
>Cathi it not working. It siply saying reference is no an object.
>How I can set it directly as you mentioned?
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi