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

What is asp.net and how it works?

517


What parameters can you pass in the url of the api? Can get and post use the same url?

558


Define page fragment caching?

528


What are Caching techniques in .NET

600


How do I open an ashx file in windows 7?

575






What is difference between web config and global asax?

443


What are validator? Name the validation controls in asp.net?

507


What is the advantage of using Windows authentication in a Web application?

563


Hi All, Im an MCA holder with 3+ years of experience in asp.net. Now i want to move to some good government job. I have no idea about different categories of exams held & which one can be applicable for my education background. I have done B.A with MCA. Please help me out with your valuable suggestions. I would be very grateful. Thanks Anuj

2843


Describe the application event handlers in ASP.NET?

550


How to Separate background image and front image from original picture....

559


what are the security certificates used in webservices?

1504


What does clearing cache?

540


What is the use of global.asax file?

551


what is DLL Hell and how it is solved in .NET? please explain clearly??

1889