Click here to Skip to main content
15,886,664 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
can i do this to view iframe in lable:
main idea to view GPS coordinate in google maps ,
VB
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 tried to apply this , frame fitted in page , but map not shown please help :)
Posted
Comments
Zoltán Zörgő 27-Dec-12 15:51pm    
It's working for me.
[no name] 27-Dec-12 15:51pm    
Why are you setting your iframe in a Label control ?

1 solution

i guess you *could* but you should use a literal instead: http://www.w3schools.com/aspnet/control_literal.asp[^]
 
Share this answer
 

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