Click here to Skip to main content
15,921,295 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionsessionState Pin
MWRivera11-Feb-11 6:43
MWRivera11-Feb-11 6:43 
AnswerRe: sessionState Pin
Not Active11-Feb-11 8:54
mentorNot Active11-Feb-11 8:54 
GeneralRe: sessionState Pin
MWRivera11-Feb-11 9:03
MWRivera11-Feb-11 9:03 
GeneralRe: sessionState Pin
Not Active11-Feb-11 10:14
mentorNot Active11-Feb-11 10:14 
GeneralRe: sessionState Pin
MWRivera11-Feb-11 10:22
MWRivera11-Feb-11 10:22 
GeneralRe: sessionState Pin
Pete O'Hanlon11-Feb-11 11:38
mvePete O'Hanlon11-Feb-11 11:38 
GeneralRe: sessionState Pin
MWRivera12-Feb-11 7:41
MWRivera12-Feb-11 7:41 
GeneralRe: sessionState Pin
Pete O'Hanlon12-Feb-11 9:16
mvePete O'Hanlon12-Feb-11 9:16 
In your aspx, just declare your javascript variable and assign a value to it. As the other javascript file runs inside the same page instance, it can access the variable with ease.
<script language="javascript" type="text/javascript">
var myvalue = <%= DateTime.Now %>
</script>
Then, in your javascript file you can do
alert(myvalue);

I'm not a stalker, I just know things. Oh by the way, you're out of milk.

Forgive your enemies - it messes with their heads


My blog | My articles | MoXAML PowerToys | Onyx


GeneralRe: sessionState Pin
MWRivera12-Feb-11 10:35
MWRivera12-Feb-11 10:35 
GeneralRe: sessionState Pin
MWRivera11-Feb-11 11:25
MWRivera11-Feb-11 11:25 
AnswerRe: sessionState Pin
Shameel13-Feb-11 8:10
professionalShameel13-Feb-11 8:10 
QuestionHow can Remoting Obj Uri be gernated at runtime at subscriber's end? Pin
glitteringsound9-Feb-11 4:44
glitteringsound9-Feb-11 4:44 
QuestionGeneric class with reference to another generic class Pin
lukeer9-Feb-11 3:47
lukeer9-Feb-11 3:47 
AnswerRe: Generic class with reference to another generic class Pin
Manfred Rudolf Bihy9-Feb-11 4:13
professionalManfred Rudolf Bihy9-Feb-11 4:13 
AnswerRe: Generic class with reference to another generic class Pin
Dave Kreskowiak9-Feb-11 4:16
mveDave Kreskowiak9-Feb-11 4:16 
GeneralRe: Generic class with reference to another generic class Pin
lukeer9-Feb-11 22:40
lukeer9-Feb-11 22:40 
GeneralRe: Generic class with reference to another generic class Pin
Dave Kreskowiak10-Feb-11 2:27
mveDave Kreskowiak10-Feb-11 2:27 
GeneralRe: Generic class with reference to another generic class Pin
lukeer10-Feb-11 3:11
lukeer10-Feb-11 3:11 
GeneralRe: Generic class with reference to another generic class Pin
Dave Kreskowiak10-Feb-11 6:32
mveDave Kreskowiak10-Feb-11 6:32 
AnswerRe: Generic class with reference to another generic class Pin
Pete O'Hanlon9-Feb-11 4:22
mvePete O'Hanlon9-Feb-11 4:22 
AnswerRe: Generic class with reference to another generic class Pin
Luc Pattyn9-Feb-11 5:11
sitebuilderLuc Pattyn9-Feb-11 5:11 
GeneralRe: Generic class with reference to another generic class Pin
lukeer9-Feb-11 22:58
lukeer9-Feb-11 22:58 
GeneralRe: Generic class with reference to another generic class Pin
Nitin Singh India26-Mar-11 10:02
Nitin Singh India26-Mar-11 10:02 
GeneralRe: Generic class with reference to another generic class Pin
lukeer28-Mar-11 9:10
lukeer28-Mar-11 9:10 
QuestionHow publsiher-subscriber configurations can be included in a single app.config? Pin
glitteringsound8-Feb-11 6:59
glitteringsound8-Feb-11 6:59 

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.