How to set/get parent page values in child page in asp.net
Answer Posted / renganathan (divas)
If Not Page.PreviousPage Is Nothing Then
Dim SourceTextBox As TextBox
SourceTextBox = CType(PreviousPage.FindControl
("TextBox1"), _
TextBox)
If Not SourceTextBox Is Nothing Then
Label1.Text = SourceTextBox.Text
End If
End If
Is This Answer Correct ? | 6 Yes | 12 No |
Post New Answer View All Answers
Difference between response.redirect and server.transfer?
What are different types of authentication techniques that are used in connection strings to connect .net applications with microsoft sql server?
which one is more flexibility and reliability and durability asp.net (VS)php which one is best and which one we do nice to create dynamic websites
Explain Session state management options in ASP.NET.
How to disable disable browser's Back button in asp.net (JavaScript)?
Which browsers support the xmlhttprequest object?
What is localhost in asp.net?
What are the new login controls in asp.net 2.0?
What is manifest in .net framework?
How to set the pane area to transparent of a scrollPane component.?
Which namespace is used by ado.net?
Explain server-side scripting and client-side scripting.
What is difference between URL and URI?
Why mvc is better than asp.net? : Asp.Net MVC
What type of code, client-side or server-side, is found in a code-behind file of a Web page?