What I am looking for is to dynamically create two textboxes from the C# ASP.NET code (either normal textbox or HTML input text, I don’t mind).
And then I tried (and failed) to define an event that fires when the first textbox loses the focus, so, what is written in the first textbox should be copied to the second textbox.
I tried to use the
onblur() event, but I faced a problem…
Is there a way to write the body of onblur event in default.cs…? Or maybe I should find another way?
Try following code:
<asp:PlaceHolder runat="server" ID="textBoxPlaceHolder"></asp:PlaceHolder>
Answered By – Zain Shaikh
Answer Checked By – Clifford M. (BugsFixing Volunteer)