D
David C
What is the best way to read a section of html from the previous page? I
have used the example below for an individual control, but want to be able
to read the contents of a <div id="mydiv"></div> that was on the sending
page. Thanks.
David
If Not Page.PreviousPage Is Nothing Then
Dim SourceTextBox As TextBox
SourceTextBox = CType(PreviousPage.FindControl("userinfo"),
TextBox)
If Not SourceTextBox Is Nothing Then
userinfo.Text = SourceTextBox.Text
End If
End If
have used the example below for an individual control, but want to be able
to read the contents of a <div id="mydiv"></div> that was on the sending
page. Thanks.
David
If Not Page.PreviousPage Is Nothing Then
Dim SourceTextBox As TextBox
SourceTextBox = CType(PreviousPage.FindControl("userinfo"),
TextBox)
If Not SourceTextBox Is Nothing Then
userinfo.Text = SourceTextBox.Text
End If
End If