Validating controls in IFRAME in server side

harsha.cs

New member
Joined
Jan 9, 2011
Messages
3
Location
Chennai, India
Programming Experience
1-3
Hi...

I have designed a page in "example.aspx" page which has IFRAME in it. The IFRAME tag consists of another "anotherpage.aspx" page as a source. I was able to validate the controls in "anotherpage.aspx" in "example.aspx" by using javascript syntax to get the controls in iframe. My code in "example.aspx" is like below...

<form id="form1" runat="server">

<iframe runat="server" id="frameactivity" src="anotherpage.aspx" width="100%" height="600" frameborder="0"></iframe>

<table style="width: 1055px; height: 212px;">
<tr>
<input id="btnfinish" runat="server" type="button" value="Finish" onclick="validatepage()" style="border-style: none; border-color: inherit; border-width: 0; width: 90px;"/> </td></tr></table>

after clicking btnfinish in example.aspx, i am validating the anotherpage.aspx in client side by javascript. Similary how I can handle the controls in iframe in server side, i.e., in vb.net. I tried lot of methods like findcontrol, master and content page concept, but nothing worked, please help me.

Please find the attached screen shot of my simple application.
 

Attachments

  • simpleapp.JPG
    simpleapp.JPG
    134.3 KB · Views: 25
Last edited:
Top Bottom