Click here to Skip to main content
15,125,547 members
Please Sign up or sign in to vote.
1.80/5 (2 votes)
See more:
Hi

please help on this.

I am using frame concept in my aspx page.

But after redirecting the page i am having problem for accessing that page contents properly.

i am using this code into code behind.


C#
frm2.ATTRIBUTES['SRC']="HTTP://GOOGLE.COM";


if possible please give some other solution for this..

code on aspx page

ASP.NET
<iframe id="frm2"  runat="server" frameborder="0" 
        style="left: -8px; width: 1439px; position: relative; top: 21px; height: 649px" 
        scrolling = "no" clientidmode="AutoID" enableviewstate="False"  >
   </iframe
Posted
Updated 11-Oct-13 21:39pm
v4
Comments
Mahesh Bailwal 10-Oct-13 8:34am
   
what error are you getting?
Ashwani Gusain 11-Oct-13 0:26am
   
i am unable to access redirected page properly buttons are accessable but text boxes in not working properly.
ZurdoDev 10-Oct-13 8:52am
   
That should work. What's your question?
Ashwani Gusain 11-Oct-13 0:26am
   
i am unable to access redirected page properly buttons are accessable but text boxes in not working properly.
ZurdoDev 11-Oct-13 7:37am
   
Use the improve question link and post the code you are using. If you can get 1 control then you should be able to get all.
Ashwani Gusain 11-Oct-13 9:20am
   
all controls i am getting but they are not working properly.

like textbox is not responding

please check i posted all needfull code
ZurdoDev 11-Oct-13 10:04am
   
You still have not posted relevant code.
Ashwani Gusain 12-Oct-13 2:40am
   
hi ryan please check

all code i posted.
ZurdoDev 12-Oct-13 10:02am
   
You have not posted the code where you are trying to access the controls.
Ashwani Gusain 14-Oct-13 23:55pm
   
from code behind using below statement iam accessing that frame.

frm2.ATTRIBUTES['SRC']="HTTP://GOOGLE.COM";

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900