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 can we make sure that Web API returns JSON data only?
What is the namespace to create thread in .net?
Does google crawl redirects?
Types of caching ?
1 Answers Digital GlobalSoft, MicroSec, Wipro,
what is state management,what is the purpose of it,how it will be implemented in real time?
What is meant by role based security? when we use this one
Explain authorization levels in .net ?
Define ViewState and how can it be used?
How do I upload a file from my ASP.NET page?
Explain the difference between sql invalidation and sql notification.
Have u used webcontrols?Tell me something about these?
What is autopost?
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)