I want to create an apps to hide a word in a sentence and onclick a button shows the answer. I use Panel but it creates a line break:-
One apple plus One apple equals
<asp:Button ID="Button1" runat="server" Text="Show" onclick="Button1_Click" />
<asp:Panel ID="Panel1" runat="server" Visible="false">Two</asp:Panel> apples.
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Panel1.Visible = "true"
Button1.Visible="false"
End Sub
Onclick of button, it gives me a line break to become like this
One apple plus One apple equals Two
apples.
But my desired result is one line
O ...
Go to the complete details ...