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

When does the application ONEND event handler fire?

1 Answers   C Squared Systems, Verinon Technology Solutions,


what are the different ASP.NET Application Folders?

1 Answers   Wipro,


What is the function used for removing an event listener?

0 Answers  


What is cookies cache and session?

0 Answers  


Can we make a class with class with same;suppose public class abc { public class abc { } }

1 Answers  






Explain the advantages of caching?

0 Answers  


What are the benefits of Razor View?

0 Answers   NA,


Why the javascript validation not run on the asp.net button but run successfully on the html button?

0 Answers  


What is difference between asp.net and asp?

0 Answers  


Is react a template engine?

0 Answers  


Define session in asp.net.

0 Answers  


How many types of session state management options available in asp.net?

0 Answers  


Categories