Click here to Skip to main content
11,635,098 members (74,565 online)
Rate this: bad
Please Sign up or sign in to vote.
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= " & 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
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
Please Sign up or sign in to vote.

Solution 1

i guess you *could* but you should use a literal instead:[^]

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

  Print Answers RSS
0 OriginalGriff 8,736
1 Sergey Alexandrovich Kryukov 8,419
2 Mika Wendelius 6,845
3 F-ES Sitecore 2,354
4 Suvendu Shekhar Giri 2,205

Advertise | Privacy | Mobile
Web01 | 2.8.150728.1 | Last Updated 27 Dec 2012
Copyright © CodeProject, 1999-2015
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