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

radconfirm on load once per session

1 Answer 32 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jason Bourdette
Top achievements
Rank 1
Jason Bourdette asked on 10 Jan 2015, 01:52 AM
http://www.telerik.com/forums/radconfirm-on-page-load

building on the post from above is there a way to change this so the window only appears the first time (per session). I want the user to see it the first time they start a new session on the site, but should they revisit the homepage i dont want them to see the confirm window again. Thanks

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 12 Jan 2015, 04:05 PM

Hi Jason,

There is no way to access the Session on the client, and this is where RadConfirm operates.

What I can suggest is to store a flag in a hidden field or in a global JavaScript object that will let you know whether you need to show the dialog.


Regards,

Marin Bratanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Window
Asked by
Jason Bourdette
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or