Click here to Skip to main content
15,887,676 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionRe: Asp.net: upload zip files and download Pin
ZurdoDev1-Jan-14 15:33
professionalZurdoDev1-Jan-14 15:33 
QuestionAsp.net: Count number of records in sql table Pin
Otekpo Emmanuel28-Dec-13 4:13
Otekpo Emmanuel28-Dec-13 4:13 
AnswerRe: Asp.net: Count number of records in sql table Pin
Peter Leow28-Dec-13 4:29
professionalPeter Leow28-Dec-13 4:29 
GeneralRe: Asp.net: Count number of records in sql table Pin
Otekpo Emmanuel28-Dec-13 6:32
Otekpo Emmanuel28-Dec-13 6:32 
GeneralRe: Asp.net: Count number of records in sql table Pin
Peter Leow28-Dec-13 7:33
professionalPeter Leow28-Dec-13 7:33 
GeneralSolved: Asp.net: Count number of records in sql table Pin
Otekpo Emmanuel28-Dec-13 10:07
Otekpo Emmanuel28-Dec-13 10:07 
GeneralRe: Solved: Asp.net: Count number of records in sql table Pin
Peter Leow29-Dec-13 3:48
professionalPeter Leow29-Dec-13 3:48 
Questioni want to get LatLng based on textbox value. Pin
Ya Rasoolallah28-Dec-13 1:45
Ya Rasoolallah28-Dec-13 1:45 
hello
i want to get LatLng (in google map) based on the textbox value.
what do i do?

i have an error when run this cod:

the error is:
Microsoft JScript runtime error: Object required


JavaScript
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key=AIzaSyDY0kkJiTPVd2U7aTOAwhc9ySH6oHxOIYM&sensor=false">
</script>

<script  type="text/javascript">
 var a=parseInt(document.getElementById("Text1").value);
   var b=parseInt(document.getElementById("Text2").value);
  
var myCenter=new google.maps.LatLng(a,b);
function initialize()
{
var mapProp = {
  center:myCenter,
  zoom:15,
  mapTypeId:google.maps.MapTypeId.ROADMAP
  };
var map=new google.maps.Map(document.getElementById("googleMap")
  ,mapProp);
  var marker=new google.maps.Marker({
  position:myCenter,
  animation:google.maps.Animation.BOUNCE
  });

marker.setMap(map);

}

google.maps.event.addDomListener(window, 'load', initialize);
</script>


C#
<input id="Text1" type="text" value="36"/>
        <input id="Text2" type="text" value="59"/>
<div id="googleMap" style="width:800px;height:500px;"></div>


modified 28-Dec-13 7:57am.

AnswerRe: i want to get LatLng based on textbox value. Pin
Peter Leow28-Dec-13 2:26
professionalPeter Leow28-Dec-13 2:26 
GeneralRe: i want to get LatLng based on textbox value. Pin
Ya Rasoolallah31-Dec-13 11:11
Ya Rasoolallah31-Dec-13 11:11 
QuestionAsp.net and dropdown menus Pin
Otekpo Emmanuel27-Dec-13 10:30
Otekpo Emmanuel27-Dec-13 10:30 
AnswerRe: Asp.net and dropdown menus Pin
Tom Marvolo Riddle27-Dec-13 19:06
professionalTom Marvolo Riddle27-Dec-13 19:06 
Questionweb cam chat between 2 systems project Pin
Member 1048885126-Dec-13 5:24
Member 1048885126-Dec-13 5:24 
AnswerRe: web cam chat between 2 systems project Pin
Richard MacCutchan26-Dec-13 5:32
mveRichard MacCutchan26-Dec-13 5:32 
Questionhow to access the last modified time of the blob uploaded Pin
Trilok M Chowdary25-Dec-13 0:24
professionalTrilok M Chowdary25-Dec-13 0:24 
QuestionRe: how to access the last modified time of the blob uploaded Pin
ZurdoDev27-Dec-13 10:54
professionalZurdoDev27-Dec-13 10:54 
QuestionSession state handling in asp.net Pin
Otekpo Emmanuel24-Dec-13 2:39
Otekpo Emmanuel24-Dec-13 2:39 
AnswerRe: Session state handling in asp.net Pin
thatraja24-Dec-13 3:06
professionalthatraja24-Dec-13 3:06 
GeneralSolved: Session state handling in asp.net Pin
Otekpo Emmanuel24-Dec-13 6:00
Otekpo Emmanuel24-Dec-13 6:00 
JokeRe: Solved: Session state handling in asp.net Pin
thatraja25-Dec-13 22:49
professionalthatraja25-Dec-13 22:49 
QuestionAsp.net datalist control Pin
Otekpo Emmanuel24-Dec-13 0:44
Otekpo Emmanuel24-Dec-13 0:44 
AnswerRe: Asp.net datalist control Pin
joginder-banger25-Dec-13 15:12
professionaljoginder-banger25-Dec-13 15:12 
GeneralSolved: Asp.net datalist control Pin
Otekpo Emmanuel27-Dec-13 5:05
Otekpo Emmanuel27-Dec-13 5:05 
Questionnot able to connect to remote server with filezilla Pin
ank17098922-Dec-13 21:55
ank17098922-Dec-13 21:55 
QuestionRe: not able to connect to remote server with filezilla Pin
ZurdoDev27-Dec-13 10:55
professionalZurdoDev27-Dec-13 10:55 

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.