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 9:49am
besthms767
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 OriginalGriff 7,355
1 DamithSL 5,199
2 Sergey Alexandrovich Kryukov 4,942
3 Maciej Los 4,906
4 Kornfeld Eliyahu Peter 4,514


Advertise | Privacy | Mobile
Web03 | 2.8.141223.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