asp.net标签中的iframe [英] iframe in asp.net label
本文介绍了asp.net标签中的iframe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以这样做来查看标签中的iframe:
在Google地图中查看GPS坐标的主要想法,
can i do this to view iframe in lable:
main idea to view GPS coordinate in google maps ,
lblMap.Text = "<iframe width=100% height=300 frameborder=0 scrolling=no marginheight=0 marginwidth=0 src=https://maps.google.com/maps?q= " & lblLocation.Text & "&num=1&t=m&ie=UTF8& ;spn=0.023397,0.025749&z=14&output=embed ></iframe><br />"
i尝试过要应用这个,框架在页面中,但地图未显示请帮助:)
i tried to apply this , frame fitted in page , but map not shown please help :)
推荐答案
我猜你*可以*但你应该使用文字代替: http://www.w3schools.com/aspnet/control_literal.asp [ ^ ]
i guess you *could* but you should use a literal instead: http://www.w3schools.com/aspnet/control_literal.asp[^]
这篇关于asp.net标签中的iframe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文