Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/33.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net 单击iframe链接并在iframe中显示网页_Asp.net_Sharepoint_Iframe - Fatal编程技术网

Asp.net 单击iframe链接并在iframe中显示网页

Asp.net 单击iframe链接并在iframe中显示网页,asp.net,sharepoint,iframe,Asp.net,Sharepoint,Iframe,嗨,我想问点事。我希望我在iframe上单击的链接显示在该iframe中。我已经放置了一个iframe名称,并且我确实将链接指向了iframe名称。但问题是它根本不起作用 例如: <a href="etc.com" TARGET="_theiframe"> 我们在这里使用asp.net和sharepoint。 我是新手,我已经在这上面浪费了20天。有人能帮我吗。要针对相同的iframe使用: <a href="etc.com" target="_self">

嗨,我想问点事。我希望我在iframe上单击的链接显示在该iframe中。我已经放置了一个iframe名称,并且我确实将链接指向了iframe名称。但问题是它根本不起作用

例如:

   <a href="etc.com" TARGET="_theiframe">

我们在这里使用asp.net和sharepoint。
我是新手,我已经在这上面浪费了20天。有人能帮我吗。

要针对相同的iframe使用:

<a href="etc.com" target="_self"> 


尝试使用动态iframe创建并添加到页面。这可能会奏效!!!框架/iframe中的链接(没有目标)将始终在该框架内打开,因此您的问题一定在其他地方…我希望下面的解决方案会起作用…@Madhu它不起作用,我尝试了每个“目标”,但结果是samethanks@christophe,但它不总是起作用。我认为sharepoint是这个问题的原因