How to set/get parent page values in child page in asp.net

Answers were Sorted based on User's Feedback



How to set/get parent page values in child page in asp.net..

Answer / sumit guglani

using context handler we can retrieve read only public
members(property) of parent page.

Is This Answer Correct ?    4 Yes 3 No

How to set/get parent page values in child page in asp.net..

Answer / jsureshdotnet

get=var uid=document.getElementById('txtUserId').value;
set=document.getElementById('txtUserId').innerText=uid;

Is This Answer Correct ?    7 Yes 7 No

How to set/get parent page values in child page in asp.net..

Answer / 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

More ASP.NET Interview Questions

How do you bind array to gridview? Will it works?

4 Answers   HP,


What is application in asp net?

0 Answers  


.Net Doesn't offer Deterministic Distruction ? a) True b) False

4 Answers   CTS,


Difference between ByVal and ByRef?

2 Answers   Microsoft,


What are the differences between clr & cts?

0 Answers  


What Are Different Types of Debbugers

2 Answers   Accenture, TCS, Wipro,


How many types of validation are there?

0 Answers  


Explain automatic memory management in .net.

0 Answers  


What is a web api endpoint?

0 Answers  


What is a web farm?

0 Answers  


what is the Difference between Dim Object as object AND dim obj as myform?

1 Answers   Microsoft,


What is session mode in asp.net?

0 Answers  


Categories