Click here to Skip to main content
15,922,325 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionRe: dropdownchosen Pin
ZurdoDev1-Jan-14 15:31
professionalZurdoDev1-Jan-14 15:31 
AnswerRe: dropdownchosen Pin
Karthik_Mahalingam4-Jan-14 11:40
professionalKarthik_Mahalingam4-Jan-14 11:40 
QuestionAsp.net panel control Pin
Otekpo Emmanuel30-Dec-13 13:27
Otekpo Emmanuel30-Dec-13 13:27 
Questionscafolding Pin
Member 1049405229-Dec-13 19:59
Member 1049405229-Dec-13 19:59 
AnswerRe: scafolding Pin
thatraja29-Dec-13 23:17
professionalthatraja29-Dec-13 23:17 
QuestionASP.NET or ASP.NET MVC Pin
Ger Hayden29-Dec-13 9:52
Ger Hayden29-Dec-13 9:52 
AnswerRe: ASP.NET or ASP.NET MVC Pin
thatraja29-Dec-13 16:38
professionalthatraja29-Dec-13 16:38 
QuestionAsp.net: upload zip files and download Pin
Otekpo Emmanuel28-Dec-13 12:46
Otekpo Emmanuel28-Dec-13 12:46 
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 

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.