Posted on: 9/12/2012 1:31:12 AM | Views : 239

Hi - I'd like to take the text entered into a textbox and assign this as the target to a linkbutton, that when clicked will open in a new window.
<tr> <td class="label"><label for="">PDF Datasheet Path</label></td> <td class="control" colspan="2" ><asp:TextBox ID="txtPDFDatasheetPath" runat="server" Width="520px" Font-Names="Arial, Helvetica, sans-serif"></asp:TextBox></td> <td class="control"><asp:LinkButton ID="lnkTest" runat="server" OnClick="lnkTest_Click"></asp:LinkButton></td> </tr> protected void test_Click(object sender, EventArgs e) { Response.Redirect(txtPDFDatasheetPath.Text); }


...

Go to the complete details ...