Click here to Skip to main content
15,903,175 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how do i create a frame like html in asp? Pin
enjoycrack8-Apr-07 19:30
enjoycrack8-Apr-07 19:30 
GeneralRe: how do i create a frame like html in asp? Pin
neodeaths8-Apr-07 19:51
neodeaths8-Apr-07 19:51 
GeneralRe: how do i create a frame like html in asp? Pin
enjoycrack8-Apr-07 20:03
enjoycrack8-Apr-07 20:03 
GeneralRe: how do i create a frame like html in asp? Pin
neodeaths8-Apr-07 20:55
neodeaths8-Apr-07 20:55 
GeneralRe: how do i create a frame like html in asp? Pin
enjoycrack9-Apr-07 1:21
enjoycrack9-Apr-07 1:21 
QuestionFindcontrol in Iframe from another Iframe with the same page Pin
jibcht8-Apr-07 16:12
jibcht8-Apr-07 16:12 
AnswerRe: Findcontrol in Iframe from another Iframe with the same page Pin
N a v a n e e t h8-Apr-07 18:20
N a v a n e e t h8-Apr-07 18:20 
AnswerRe: Findcontrol in Iframe from another Iframe with the same page Pin
Venkatesh Mookkan8-Apr-07 18:37
Venkatesh Mookkan8-Apr-07 18:37 
You can get the document object of the Iframe using contentWindow method. I can give you an example.

Lets as assume the main page with 2 Iframes would be main.html and the source of the Iframes would be page1.html and page2.html. The sourcecode will be,

main.html
<html><br />
<body><br />
<iframe id="ifrm1" src="page1.html"><br />
</iframe><br />
<iframe id="ifrm2" src="page2.html"><br />
</iframe><br />
</body><br />
</html>


page1.html
<html><br />
<body><br />
	<input type="checkbox" id="Chk1"> Click me<br />
</body><br />
</html>


page2.html
<html><br />
<head><br />
<br />
<script><br />
<br />
function getCheckValue(){<br />
	alert(parent.document.getElementById('ifrm1').contentWindow.document.getElementById('Chk1').checked);<br />
}<br />
<br />
</script><br />
<br />
</head><br />
<body><br />
	<input type="button" id="button1" value="Click here" onclick="getCheckValue()"><br />
</body><br />
</html>


When you click the button in the iframe 2, it will alert the checkbox status in the iframe 1.

I hope this would help you... Cool | :cool:


Regards,
Venkatesh Mookkan.
Software Engineer, India
My: Website | Yahoo Group

QuestionWeb Database Pin
hmklakmal8-Apr-07 11:04
hmklakmal8-Apr-07 11:04 
AnswerRe: Web Database Pin
Hesham Amin8-Apr-07 11:24
Hesham Amin8-Apr-07 11:24 
QuestionPassword Change Inplementation Pin
Ajeet mittal8-Apr-07 6:08
Ajeet mittal8-Apr-07 6:08 
AnswerRe: Password Change Inplementation Pin
Sathesh Sakthivel8-Apr-07 7:20
Sathesh Sakthivel8-Apr-07 7:20 
GeneralRe: Password Change Inplementation Pin
Ajeet mittal9-Apr-07 3:24
Ajeet mittal9-Apr-07 3:24 
Questionobjectdatasource and server side validation Pin
Gabriel.P.G8-Apr-07 5:53
Gabriel.P.G8-Apr-07 5:53 
QuestionPop Up Calendar in C#.net 2.0 Pin
customise8-Apr-07 5:45
customise8-Apr-07 5:45 
AnswerRe: Pop Up Calendar in C#.net 2.0 Pin
Abolfazl Sheikhloo8-Apr-07 5:58
Abolfazl Sheikhloo8-Apr-07 5:58 
GeneralRe: Pop Up Calendar in C#.net 2.0 Pin
customise9-Apr-07 19:27
customise9-Apr-07 19:27 
AnswerRe: Pop Up Calendar in C#.net 2.0 Pin
Vasudevan Deepak Kumar9-Apr-07 6:23
Vasudevan Deepak Kumar9-Apr-07 6:23 
QuestionLimiting potential users of a SOAP web service? Possible? Pin
Cormac M Redmond8-Apr-07 3:22
Cormac M Redmond8-Apr-07 3:22 
QuestionGridView Control Pin
Oga M8-Apr-07 2:53
Oga M8-Apr-07 2:53 
AnswerRe: GridView Control Pin
enjoycrack8-Apr-07 3:51
enjoycrack8-Apr-07 3:51 
AnswerRe: GridView Control Pin
Vinay Dornala8-Apr-07 19:56
Vinay Dornala8-Apr-07 19:56 
QuestionGridView Pin
Oga M8-Apr-07 2:52
Oga M8-Apr-07 2:52 
Questionplease help me which this code Pin
Oga M8-Apr-07 2:40
Oga M8-Apr-07 2:40 
AnswerRe: please help me which this code Pin
enjoycrack8-Apr-07 3:35
enjoycrack8-Apr-07 3:35 

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.