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 do you bind array to gridview? Will it works?
What is application in asp net?
.Net Doesn't offer Deterministic Distruction ? a) True b) False
Difference between ByVal and ByRef?
What are the differences between clr & cts?
What Are Different Types of Debbugers
2 Answers Accenture, TCS, Wipro,
How many types of validation are there?
Explain automatic memory management in .net.
What is a web api endpoint?
What is a web farm?
what is the Difference between Dim Object as object AND dim obj as myform?
What is session mode in asp.net?