p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 2.0 Basics (http://p2p.wrox.com/forumdisplay.php?f=136)
-   -   Link to MapQuest (http://p2p.wrox.com/showthread.php?t=65119)

snufse January 8th, 2008 05:20 PM

Link to MapQuest
 
Not sure if I can do it this way, but I am trying to use the LinkButton and the PostBackUrl property to allow users to locate an address. When I click the control it displays the MapQuest page without the map. When I paste the URL into IE it works fine. Any ideas?

Here is the link:
http://www.mapquest.com/maps/map.adp...&name=&dtype=s


planoie January 9th, 2008 10:21 AM

Sorry, but you are going to need to provide more detail than this.

-Peter

dparsons January 9th, 2008 11:28 AM

This is kind of a hack the way you are doing it. It can be achieved but, IMHO, its unmanageable because that URL has to be formatted very specifically and the exclusion of one %, for example, will cause your entire link to not work as expected!

I might suggest using the MapQuest API instead:
http://www.programmableweb.com/api/mapquest


================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor :.
Wrox Books 24 x 7
================================================== =========


All times are GMT -4. The time now is 05:47 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.