How to replace value of text box?
I think u need to use javascript for this. 
on the keypress event handler for the first textbox, u can get the text of the first textbox and update the second textbox using javascript itself