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 |
What is viewstate?
6 Answers Abacus, Microsoft, Sopra,
What is the life-span of the items in the viewstate?
What is a postback in asp net?
Explain the difference between inline and code behind - which is best in?
What are merge modules?
Web API supports which protocol?
Where is the session stored?
What are Master Pages in ASP.NET? or What is a Master Page?
which scripting is used browser by server when we use validation controls. 1.javascript 2.vbscript 3.jscript 4.perl
relacement of websevices in .net 3.0?
what are the ihttphandler and ihttphandlerfactory interfaces ?
What is view state and how this can be done and was this there in asp ?
3 Answers Accenture, BirlaSoft, CTS, Mphasis,