Click here to Skip to main content
15,890,185 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: how to find menu item selected in other web page Pin
ToddHileHoffer7-Dec-06 2:51
ToddHileHoffer7-Dec-06 2:51 
QuestionHelp with ASP.Net Pin
Orlando Ramos7-Dec-06 1:34
Orlando Ramos7-Dec-06 1:34 
AnswerRe: Help with ASP.Net Pin
ToddHileHoffer7-Dec-06 2:08
ToddHileHoffer7-Dec-06 2:08 
AnswerRe: Help with ASP.Net Pin
l0kke7-Dec-06 2:41
l0kke7-Dec-06 2:41 
AnswerRe: Help with ASP.Net Pin
ednrgc7-Dec-06 4:20
ednrgc7-Dec-06 4:20 
Questionhow to access session variables in javascript? Pin
krishna_mag7-Dec-06 1:24
krishna_mag7-Dec-06 1:24 
AnswerRe: how to access session variables in javascript? Pin
ToddHileHoffer7-Dec-06 2:20
ToddHileHoffer7-Dec-06 2:20 
AnswerRe: how to access session variables in javascript? Pin
Guffa7-Dec-06 5:33
Guffa7-Dec-06 5:33 
You can not access session variables from Javascript. The Javascript runs in the browser, and the session variables are on the server.

If you want to use the value from a session variable in the Javascript, you have to write code that uses the value from the session variable to create Javascript code that recreates the value in the browser.

Example:

Session["asdf"] = 42;<br />
<br />
Page.ClientScript.RegisterStartupScript(this.GetType(), "SessionAsdfDeclaration", "var asdf = " + Session["asdf"].ToString(), true);



---
b { font-weight: normal; }

QuestionPassing values between Aspx Asp page Pin
rahuljosh00720007-Dec-06 1:07
rahuljosh00720007-Dec-06 1:07 
AnswerRe: Passing values between Aspx Asp page Pin
ToddHileHoffer7-Dec-06 2:21
ToddHileHoffer7-Dec-06 2:21 
AnswerRe: Passing values between Aspx Asp page Pin
ullk7-Dec-06 23:53
ullk7-Dec-06 23:53 
QuestionPaging in asp Pin
Atithi7-Dec-06 0:43
Atithi7-Dec-06 0:43 
QuestionImportant Data Pin
Khan.Bangash7-Dec-06 0:42
Khan.Bangash7-Dec-06 0:42 
AnswerRe: Important Data Pin
M LN Rao7-Dec-06 0:49
M LN Rao7-Dec-06 0:49 
QuestionDisplay the current location's latitude and longitude on the mobile Pin
Ritika S7-Dec-06 0:42
Ritika S7-Dec-06 0:42 
QuestionDynamic Menu: Help needed! Pin
Simon Parzer7-Dec-06 0:31
Simon Parzer7-Dec-06 0:31 
AnswerRe: Dynamic Menu: Help needed! Pin
ToddHileHoffer7-Dec-06 2:31
ToddHileHoffer7-Dec-06 2:31 
GeneralRe: Dynamic Menu: Help needed! Pin
Simon Parzer7-Dec-06 3:38
Simon Parzer7-Dec-06 3:38 
GeneralRe: Dynamic Menu: Help needed! Pin
ToddHileHoffer7-Dec-06 3:47
ToddHileHoffer7-Dec-06 3:47 
QuestionVisual Studio and IIS Pin
Bulky Fellow7-Dec-06 0:17
Bulky Fellow7-Dec-06 0:17 
AnswerRe: Visual Studio and IIS Pin
M LN Rao7-Dec-06 0:43
M LN Rao7-Dec-06 0:43 
QuestionRemote Web Service Connection Error Pin
K.P.Kannan6-Dec-06 23:26
K.P.Kannan6-Dec-06 23:26 
Questionreplace not working Pin
Sushantc6-Dec-06 23:06
Sushantc6-Dec-06 23:06 
AnswerRe: replace not working Pin
Guffa6-Dec-06 23:15
Guffa6-Dec-06 23:15 
GeneralRe: replace not working Pin
Bulky Fellow7-Dec-06 0:20
Bulky Fellow7-Dec-06 0:20 

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.