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

What is viewstate?

6 Answers   Abacus, Microsoft, Sopra,


What is the life-span of the items in the viewstate?

0 Answers  


What is a postback in asp net?

0 Answers  


Explain the difference between inline and code behind - which is best in?

0 Answers  


What are merge modules?

0 Answers  






Web API supports which protocol?

0 Answers  


Where is the session stored?

0 Answers  


What are Master Pages in ASP.NET? or What is a Master Page?

0 Answers   MCN Solutions,


which scripting is used browser by server when we use validation controls. 1.javascript 2.vbscript 3.jscript 4.perl

8 Answers   Satyam,


relacement of websevices in .net 3.0?

1 Answers   Mind Tree,


what are the ihttphandler and ihttphandlerfactory interfaces ?

0 Answers  


What is view state and how this can be done and was this there in asp ?

3 Answers   Accenture, BirlaSoft, CTS, Mphasis,


Categories