Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET HTML VB.NET
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&amp ;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 Smile | :)
Posted 27-Dec-12 8:49am
besthms766
Comments
Zoltán Zörgő at 27-Dec-12 15:51pm
   
It's working for me.
Sheikh Muhammad Haris at 27-Dec-12 15:51pm
   
Why are you setting your iframe in a Label control ?

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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

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

  Print Answers RSS
0 Schatak 394
1 OriginalGriff 300
2 Abhijit Ghosh (Subho) 125
3 _Amy 115
4 Andreas Gieriet 100
0 OriginalGriff 7,107
1 Sergey Alexandrovich Kryukov 5,623
2 Maciej Los 3,504
3 Peter Leow 3,373
4 DamithSL 2,505


Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 27 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100