I currently have a multiline textbox for users to input text. I want to give them the option to switch this textbox to a grid layout when they click a button labeled "Switch to Grid". How can I replace the textbox with a grid layout in the same location when the button is clicked? If the user has already entered text into the textbox or grid layout, I'm fine with their inputs being reset.
<asp:TextBox ID="txtvalue" ValidationGroup="g1" TextMode="MultiLine" runat="server" style="width:100%; max-width:100%; overflow-x:scroll; height:110px; white-space:nowrap; word-wrap:break-word;"></asp:TextBox>