Click here to Skip to main content
15,899,679 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Adding ButtonColumn to GridView Dynamiclly [modified] Pin
reem_saeed31-Jul-09 22:28
reem_saeed31-Jul-09 22:28 
Questiongoogle maps not working [modified] Pin
Member 468362029-Jul-09 3:28
Member 468362029-Jul-09 3:28 
AnswerRe: google maps not working Pin
Abhishek Sur29-Jul-09 4:19
professionalAbhishek Sur29-Jul-09 4:19 
GeneralRe: google maps not working Pin
Member 468362030-Jul-09 4:48
Member 468362030-Jul-09 4:48 
GeneralRe: google maps not working Pin
Abhishek Sur30-Jul-09 21:51
professionalAbhishek Sur30-Jul-09 21:51 
GeneralRe: google maps not working Pin
Member 468362031-Jul-09 5:04
Member 468362031-Jul-09 5:04 
GeneralRe: google maps not working Pin
Member 46836201-Aug-09 19:10
Member 46836201-Aug-09 19:10 
GeneralRe: google maps not working Pin
Member 46836204-Aug-09 2:28
Member 46836204-Aug-09 2:28 
finally, I sort of got it working, although I don't think it is the best practice. my next question is i want to create a button, when click the button, it passes the address and opens up a new page with google map ONLY and its controls. this is for user to have full control over the map. Can someone please show me how to achieve this?

<script type="text/javascript" language="javascript">
			var geocoder;
			var map;
			var place;

			
			function load()
			{
				var address = document.getElementById("<%=lblmap.ClientID%>").innerHTML;
				map = new GMap2(document.getElementById("map"));
				map.addControl(new GSmallMapControl());
				geocoder = new GClientGeocoder();
				geocoder.getLocations(address, addToMap);
			}
			
			function addToMap(response)
			{
				if (response.Placemark != null)
				{
					place = response.Placemark[0];
					point = new GLatLng(place.Point.coordinates[1],place.Point.coordinates[0]);
					map.setCenter(point,16);
					marker = new GMarker(point);
					map.addOverlay(marker);
					marker.openInfoWindowHtml(place.address);
				}
				else
				{
					alert("Sorry, map not available");
				}
			}
			</script>

AnswerRe: google maps not working Pin
Abhishek Sur29-Jul-09 4:31
professionalAbhishek Sur29-Jul-09 4:31 
QuestionHow to make Main Menu and Sub Menu Using Rpeater Control in asp.net ( not Main Menu only) Pin
blainzaw29-Jul-09 3:25
blainzaw29-Jul-09 3:25 
AnswerRe: How to make Main Menu and Sub Menu Using Rpeater Control in asp.net ( not Main Menu only) Pin
Vimalsoft(Pty) Ltd29-Jul-09 3:26
professionalVimalsoft(Pty) Ltd29-Jul-09 3:26 
Questionwhat is API Pin
Ashwini.dg29-Jul-09 3:21
Ashwini.dg29-Jul-09 3:21 
AnswerRe: what is API Pin
Manas Bhardwaj29-Jul-09 3:24
professionalManas Bhardwaj29-Jul-09 3:24 
AnswerRe: what is API Pin
Vimalsoft(Pty) Ltd29-Jul-09 3:25
professionalVimalsoft(Pty) Ltd29-Jul-09 3:25 
AnswerRe: what is API Pin
Victor.Ai.29-Jul-09 13:13
Victor.Ai.29-Jul-09 13:13 
QuestionProblem displaying Windows Control in ASP.net Web Site. Pin
VikashGohil29-Jul-09 3:19
VikashGohil29-Jul-09 3:19 
AnswerRe: Problem displaying Windows Control in ASP.net Web Site. Pin
Vimalsoft(Pty) Ltd29-Jul-09 3:23
professionalVimalsoft(Pty) Ltd29-Jul-09 3:23 
GeneralRe: Problem displaying Windows Control in ASP.net Web Site. Pin
VikashGohil29-Jul-09 3:50
VikashGohil29-Jul-09 3:50 
GeneralRe: Problem displaying Windows Control in ASP.net Web Site. Pin
Vimalsoft(Pty) Ltd29-Jul-09 4:35
professionalVimalsoft(Pty) Ltd29-Jul-09 4:35 
Questionscroll bar issue in fixed header Pin
indian14329-Jul-09 2:54
indian14329-Jul-09 2:54 
AnswerRe: scroll bar issue in fixed header Pin
Manas Bhardwaj29-Jul-09 3:22
professionalManas Bhardwaj29-Jul-09 3:22 
QuestionParser Error Pin
zeeShan anSari29-Jul-09 1:20
zeeShan anSari29-Jul-09 1:20 
AnswerRe: Parser Error Pin
Vimalsoft(Pty) Ltd29-Jul-09 1:57
professionalVimalsoft(Pty) Ltd29-Jul-09 1:57 
AnswerRe: Parser Error Pin
Sumit Kesarwani4-Oct-14 23:24
Sumit Kesarwani4-Oct-14 23:24 
QuestionBest discussion board Example Pin
kapkush29-Jul-09 1:18
kapkush29-Jul-09 1:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.