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 to handle errors in Web API?

0 Answers  


Code for updating the database by entering the data into textboxes in aspx form?

2 Answers   TCS, Wipro,


How to write test case (Unit test plan)

1 Answers   Syntel,


I have got less marks in bsc it So how to get interview.tell me

1 Answers  


Why is global asax is used?

0 Answers  






what is mean by framework?

3 Answers  


How can we Maintain more than on config file in one .Net web application and how?

1 Answers   USi,


What are the advantages of the code-behind feature?

0 Answers  


What is asp.net response object?

0 Answers  


Differentiate between namespace and assembly.

0 Answers  


What are the advantages of passport authentication?

0 Answers  


Is redux flux?

0 Answers  


Categories