Welcome Guest Search | Active Topics | Sign In | Register

Callback questions Options
Darren
Posted: Monday, February 15, 2010 7:16:39 AM
Rank: Newbie
Groups: Member

Joined: 5/13/2009
Posts: 4
Hi

I have a couple of questions regarding the Callback/Callback panel controls:

1) I know the the MS AJAX Update panel doesn't update the session timeout value after every callback. Are the Callback/Callback panel controls session aware? ie do they restore the session timeout value back to the default timeout value after each callback as a normal Postback would?

2) I have a MasterPage setup on an app I am developing. I have a session timeout timer I have built, surrounded by a Callback panel. It has a refresh button which triggers a callback and resets the timer.

I also intend to have callback panels on the ContentPages inheriting from this Masterpage.

Can I add controls on the ContentPages to the MasterPage Callback panel triggers collection? If not, what is the best way to ensure the Callback panel on the MasterPage is updated when a button event is triggered by a control on a ContentPage?

Many thanks

Darren
eo_support
Posted: Monday, February 15, 2010 10:27:40 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

As to your questions:

1. We are not aware that MS UpdatePanel does not update session time out value. Both controls should be session aware. Both CallbackPanel/UpdatePanel are designed to be transparent so that you handle all the events as if they do not exist. In any case, we are not aware of anything regarding session that would work different with our CallbackPanel control;

2. You will not be able to add controls in ContentPages as triggers. There are two options:

2.1 Call eo_Callback JavaScript function to manually trigger the callback;
2.2 Put a second CallbackPanel inside your content page, then set both CallbackPanel's GroupName to the same value to group them together. You would then trigger the CallbackPanel inside your content page. Both CallbackPanel will be updated togehter because they have the same GroupName value;

Hope this helps.

Thanks!

Darren
Posted: Monday, February 15, 2010 10:44:02 AM
Rank: Newbie
Groups: Member

Joined: 5/13/2009
Posts: 4
Hi

Thanks for your quick response. I had made the assumption that MS Update panels didn't update session values based on some sites I had researched on. Clearly I need to do some more testing so thank you for the guidance.

I think I will probably go with the grouped Callback panels approach for the second question.

Thanks again!

Darren
eo_support
Posted: Monday, February 15, 2010 10:48:14 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
You are very welcome. Please feel free to let us know if you have any more questions.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.