How to set/get parent page values in child page in asp.net
Answers were Sorted based on User's Feedback
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 |
Answer / jsureshdotnet
get=var uid=document.getElementById('txtUserId').value;
set=document.getElementById('txtUserId').innerText=uid;
Is This Answer Correct ? | 7 Yes | 7 No |
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 |
How to handle errors in Web API?
Code for updating the database by entering the data into textboxes in aspx form?
How to write test case (Unit test plan)
I have got less marks in bsc it So how to get interview.tell me
Why is global asax is used?
what is mean by framework?
How can we Maintain more than on config file in one .Net web application and how?
What are the advantages of the code-behind feature?
What is asp.net response object?
Differentiate between namespace and assembly.
What are the advantages of passport authentication?
Is redux flux?