Click here to Skip to main content
15,913,919 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to build RPC BASED WEB SERVICE IN ASP.NET 2.0 Pin
Jim Conigliaro29-Sep-06 2:12
Jim Conigliaro29-Sep-06 2:12 
QuestionChange value on Page1 from Page2 Pin
Nitin198128-Sep-06 1:29
Nitin198128-Sep-06 1:29 
AnswerRe: Change value on Page1 from Page2 Pin
ToddHileHoffer28-Sep-06 2:25
ToddHileHoffer28-Sep-06 2:25 
GeneralRe: Change value on Page1 from Page2 Pin
Nitin198128-Sep-06 2:59
Nitin198128-Sep-06 2:59 
AnswerRe: Change value on Page1 from Page2 Pin
Not Active28-Sep-06 2:29
mentorNot Active28-Sep-06 2:29 
GeneralRe: Change value on Page1 from Page2 Pin
Nitin198128-Sep-06 3:01
Nitin198128-Sep-06 3:01 
GeneralRe: Change value on Page1 from Page2 Pin
Not Active28-Sep-06 3:10
mentorNot Active28-Sep-06 3:10 
AnswerRe: Change value on Page1 from Page2 Pin
Guffa28-Sep-06 3:02
Guffa28-Sep-06 3:02 
What you need is a reference to the window of the page that you want to access.

If Page2 is a window opened by Page1, you get a reference to the window containing Page2 as the return value of the call to the window.open method. You get a reference to Page1 by using window.opener.

Let's say that the variable win contains a reference to the window, then you can access the document property of the window, and use that to access it's content. Example:
win.document.getElementById('SomeControl').value = 'Hello world!';

In some cases it might not work well to directly access elements of a different page. Then you can call a function in the page that accesses the element:
win.document.someFunction('Hello world!');

function someFunction(text) {
   document.getElementById('SomeControl').value = text;
}



---
b { font-weight: normal; }

QuestionIs there Any library in ASP.net 2.0 for email Pin
sabby200628-Sep-06 0:45
sabby200628-Sep-06 0:45 
AnswerRe: Is there Any library in ASP.net 2.0 for email Pin
Kevin McFarlane28-Sep-06 0:58
Kevin McFarlane28-Sep-06 0:58 
QuestionRequired Help ... Its Urgent Pin
Dotnetjunkie1528-Sep-06 0:40
Dotnetjunkie1528-Sep-06 0:40 
AnswerRe: Required Help ... Its Urgent Pin
Guffa28-Sep-06 1:21
Guffa28-Sep-06 1:21 
GeneralRe: Required Help ... Its Urgent Pin
Keith Barrow28-Sep-06 2:42
professionalKeith Barrow28-Sep-06 2:42 
Questionpassing array to javascript Pin
vijay258328-Sep-06 0:25
vijay258328-Sep-06 0:25 
AnswerRe: passing array to javascript Pin
Guffa28-Sep-06 1:36
Guffa28-Sep-06 1:36 
QuestionWhy my messagebox not appear? Pin
cheeken2u27-Sep-06 23:44
cheeken2u27-Sep-06 23:44 
AnswerRe: Why my messagebox not appear? Pin
_AK_27-Sep-06 23:46
_AK_27-Sep-06 23:46 
GeneralRe: Why my messagebox not appear? Pin
cheeken2u27-Sep-06 23:59
cheeken2u27-Sep-06 23:59 
GeneralRe: Why my messagebox not appear? Pin
_AK_28-Sep-06 0:08
_AK_28-Sep-06 0:08 
AnswerRe: Why my messagebox not appear? Pin
surshbabuk27-Sep-06 23:55
surshbabuk27-Sep-06 23:55 
AnswerRe: Why my messagebox not appear? Pin
Paddy Boyd28-Sep-06 0:23
Paddy Boyd28-Sep-06 0:23 
AnswerRe: Why my messagebox not appear? Pin
Guffa28-Sep-06 1:40
Guffa28-Sep-06 1:40 
AnswerRe: Why my messagebox not appear? Pin
cheeken2u28-Sep-06 0:32
cheeken2u28-Sep-06 0:32 
Questionwhat is the easiest way of learning asp.net Pin
brardavi27-Sep-06 23:27
brardavi27-Sep-06 23:27 
AnswerRe: what is the easiest way of learning asp.net Pin
_AK_27-Sep-06 23:28
_AK_27-Sep-06 23:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.