Click here to Skip to main content
16,006,768 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionPassing VB variables to Javascript code Pin
beish120-Aug-07 5:00
beish120-Aug-07 5:00 
AnswerRe: Passing VB variables to Javascript code Pin
peacefulmember20-Aug-07 6:06
peacefulmember20-Aug-07 6:06 
GeneralRe: Passing VB variables to Javascript code Pin
beish120-Aug-07 6:44
beish120-Aug-07 6:44 
GeneralRe: Passing VB variables to Javascript code Pin
peacefulmember20-Aug-07 6:57
peacefulmember20-Aug-07 6:57 
GeneralRe: Passing VB variables to Javascript code Pin
beish120-Aug-07 12:59
beish120-Aug-07 12:59 
AnswerRe: Passing VB variables to Javascript code Pin
Michael Sync20-Aug-07 7:09
Michael Sync20-Aug-07 7:09 
GeneralRe: Passing VB variables to Javascript code Pin
beish120-Aug-07 13:01
beish120-Aug-07 13:01 
AnswerRe: Passing VB variables to Javascript code Pin
Rama Krishna Vavilala20-Aug-07 7:16
Rama Krishna Vavilala20-Aug-07 7:16 
Another Easy option might be to use inline tags. Some people like it some hate it. If you feel that it is cleaner than the other options you can do something like this.

<script type="text/javascript>
.
.
var point = new GLatLng(<%= Lat%>,<%= Lng%>) ;
.
.
</script>




Co-Author ASP.NET AJAX in Action

GeneralRe: Passing VB variables to Javascript code Pin
beish120-Aug-07 13:02
beish120-Aug-07 13:02 
AnswerRe: Passing VB variables to Javascript code Pin
Christian Graus20-Aug-07 10:56
protectorChristian Graus20-Aug-07 10:56 
GeneralRe: Passing VB variables to Javascript code Pin
Guffa20-Aug-07 10:58
Guffa20-Aug-07 10:58 
GeneralRe: Passing VB variables to Javascript code Pin
beish120-Aug-07 13:00
beish120-Aug-07 13:00 
AnswerRe: Passing VB variables to Javascript code Pin
Guffa20-Aug-07 22:43
Guffa20-Aug-07 22:43 
QuestionHow to call 2 javascript function on Page Laod Pin
Sandeep Akhare20-Aug-07 4:39
Sandeep Akhare20-Aug-07 4:39 
AnswerRe: How to call 2 javascript function on Page Laod Pin
Talal Sultan20-Aug-07 5:02
Talal Sultan20-Aug-07 5:02 
AnswerRe: How to call 2 javascript function on Page Laod Pin
Guffa20-Aug-07 11:10
Guffa20-Aug-07 11:10 
GeneralRe: How to call 2 javascript function on Page Laod Pin
Sandeep Akhare20-Aug-07 19:23
Sandeep Akhare20-Aug-07 19:23 
QuestionAccess User Control property from Main page Pin
peacefulmember20-Aug-07 4:12
peacefulmember20-Aug-07 4:12 
AnswerRe: Access User Control property from Main page Pin
Talal Sultan20-Aug-07 4:59
Talal Sultan20-Aug-07 4:59 
GeneralRe: Access User Control property from Main page Pin
peacefulmember20-Aug-07 5:59
peacefulmember20-Aug-07 5:59 
Questionsession giving error Pin
saumitratamrakar20-Aug-07 3:54
saumitratamrakar20-Aug-07 3:54 
AnswerRe: session giving error Pin
Talal Sultan20-Aug-07 4:47
Talal Sultan20-Aug-07 4:47 
QuestionHow to set trust level Pin
swapnilek20-Aug-07 3:45
swapnilek20-Aug-07 3:45 
AnswerRe: How to set trust level Pin
Sathesh Sakthivel20-Aug-07 3:51
Sathesh Sakthivel20-Aug-07 3:51 
GeneralRe: How to set trust level Pin
swapnilek20-Aug-07 4:12
swapnilek20-Aug-07 4:12 

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.