This is a migrated thread and some comments may be shown as answers.

[Solved] AJAX & Session

2 Answers 192 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Ana
Top achievements
Rank 1
Ana asked on 13 May 2008, 10:12 AM
Hi, I have RadAjaxManager, and ResponseScript for it, which I use to show a message in dialog box. Message is sent via Session (string) but it never refreshes (if there is no post back, which there isn't, because of the use of ajax).
How can I set a new value for Session in this case (when using ajax settings of rad ajax manager)?
I hope I've explained this well. Thanks, Ana

2 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 16 May 2008, 07:53 AM
Hello Ana,

The session variables are stored/handled on the server and are hence unavailable via JavaScript. Another approach you may choose is to use hidden inputs to store any data which may be needed on the client. Alternatively, you may make AjaxRequests to the server from the client, when needed. I hope this information helps.

Sincerely yours,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Ana
Top achievements
Rank 1
answered on 16 May 2008, 07:56 AM
Thanks for your answer, but the problem has been solved. It was enough to set ReloadOnShow property of RadWindowManager to true.
Thanks anyway, Ana
Tags
Ajax
Asked by
Ana
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Ana
Top achievements
Rank 1
Share this question
or