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


Please Help Members By Posting Answers For Below Questions

Differentiate between a page theme and a global theme?

508


From which base class all web forms are inherited?

479


What do you mean by authorization?

504


What is semantic gap?

595


What is cache in asp net?

509






When cookie will expire?

566


Differentiate between client-side and server-side validations in web pages.

532


What is the server of asp.net?

483


What is the differences between a primary key and a unique key in sql server?

511


Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?

502


Explain advantages of caching?

507


What is the use of HttpHandlers? When to use this?

607


What is the importance of aspnet_isapi.dll, inetinfo.exe andaspnet_wp.exe in the page loading process.

569


Which two new properties are added in asp.net 4.0 page class?

497


What are the advantages of asp.net?

516