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 |
Can a master page have more than one contentplaceholder?
what is the differance between native code & managed code?
Which .NET framework supports Web API?
What are the various types of cookies in asp.net?
How to disable disable browser's Back button in asp.net (JavaScript)?
What is simple data binding?
what is mean by framework?
What are uri parameters?
Which library is used by the testers and developers to develop automated tests and create testing tools?
What are the event handlers that we can have in global.asax file?
Can we change the session timeout in ASP.NET, if yes then how and from where?
1. What is the difference between Cache and Session? 2. I cache limited to page like viewstate or it's accessible through out the application like session? 3. Which one is better when I've some data that is to be used across the application? Why is to better than the other?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)