Hi peoples. I have a button: <asp:Button ID="nextView4" runat="server" Text="View Summary" CommandName="NextView" /> ...a label... <asp:Label ID="LastNameResult" runat="server" Text=""> ...and a textbox... <asp:TextBox ID="TextBoxLastName" runat="server"> </asp:TextBox> And basically i need to get the text written in the textbox into the label when the button is pressed. As you can probably see, the button goes to the next view. Also, I'm using VB if there is any coding required.

Many thanks to those who can help (or even attempt to help)

Recommended Answers

All 2 Replies

Is this "nextView4" button is child control? If so, then handles event of parent control.

A segment of javascript is more appropriate, as I see.
No server side exchange is needed.

Just handle the button event, assign text to the dest control.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.