Wrox Programmer Forums
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 8th, 2008, 05:20 PM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 205
Thanks: 4
Thanked 0 Times in 0 Posts
Default 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

 
Old January 9th, 2008, 10:21 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

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

-Peter
 
Old January 9th, 2008, 11:28 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

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
================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
2 LINK CRITERIA Vision G Access 1 July 14th, 2006 10:33 AM
Using Mapquest link ebdeasy Javascript How-To 0 June 2nd, 2006 06:15 PM
where is the link? hagophs XSLT 0 January 28th, 2006 01:31 PM
alternate method of using MapQuest tennisdad1 Javascript How-To 2 January 23rd, 2006 08:06 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.