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 |
which one is faster execute reader, scalar, execute non query ?
I need some questions regarding asp.net for 1.5yrs of Experience.
What is css and what is it used for?
Tell me what is the request flow used for asp.net mvc framework? : asp.net mvc
Which platform does Microsoft .NET use for exchanging data between applications?
What are the benefits of view state?
Define viewstate in .net?
What are the different kinds of assemblies?
About friend and Protected friend ?
Explain how do you validate the controls in an asp .net page?
What are the types of assemblies and where can u store them and how a private assembly is used only by a single application, and is stored in that application's install directory (or a subdirectory therein)?
What is the use of sessionstate tag in the web.config file?