Click here to Skip to main content
16,007,111 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionAdd menu like winApplication Menu.... Pin
mostafa_h20-Aug-07 8:06
mostafa_h20-Aug-07 8:06 
QuestionSql Server 2005 required? Pin
Richard Jones20-Aug-07 7:57
Richard Jones20-Aug-07 7:57 
Questionglobal database connection Pin
PaulaM20-Aug-07 5:47
PaulaM20-Aug-07 5:47 
AnswerRe: global database connection Pin
Eduard Keilholz20-Aug-07 6:01
Eduard Keilholz20-Aug-07 6:01 
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 
Yes, this way jsVar will be availeble on the page, and can be accessed in javascript. Since, this variable is declared on page so, its scope will be page.

In case you have two javascript variables that you want to initialized based on you database value, you will have to follow second approach.

By doing this you are generating javascript code on the server side that will be available on the page once loaded.

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

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.