如何从c#页面设置iframe内容。是不是有可能。 [英] how to set iframe content from c# page . is it possible any how .?

查看:95
本文介绍了如何从c#页面设置iframe内容。是不是有可能。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友....我想从c#设置iframe内容。不想给任何网址的src。请支持我......并告诉我如何才能这样做。这怎么可能?请告诉我 。非常紧急。

hello friends .... i want to set iframe content from c#. do not want to give src of any url. please support me ... and tell how i can do so . is it possible any how ? please tell me . its very urgent.

推荐答案

你不能把内容放在iframe中,你只能给它一个src,并且src中的页面被加载到它里面。这就是iframe的工作原理,如果你想把内容放在其中,那么就改用div。
You can't put content inside an iframe, you can only give it a src and the page at that src is loaded inside it. That's just how an iframe works, if you want to put content inside it then use a div instead.


这篇关于如何从c#页面设置iframe内容。是不是有可能。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆