Welcome Guest Search | Active Topics | Sign In | Register

Timer in Master Page Options
Peter B
Posted: Wednesday, October 21, 2009 5:52:48 AM
Rank: Advanced Member
Groups: Member

Joined: 8/2/2009
Posts: 39
Hi,
I have a 5 sec timer in my masterpage.

The appl.page has a Grid and AJAX-Uploader embedded in ScriptManagerProxy and CallbackPanel.

The CallbackPanel has UpdateMode="Conditional".
No postbacks defined yet.

Problem is, that the EditMode of the Grid is switched off with every timer tick.
What can I do, except to swich off the timer entirely?

Many thanks
Peter
eo_support
Posted: Wednesday, October 21, 2009 9:13:07 AM
Rank: Administration
Groups: Administration

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

The edit mode for a Grid is automatically switched off when your page post back. This behavior is not related to the timer, however because the timer does cause the page to post back, it causes the Grid to loses edit mode.

What you can do is to handle the Grid's ClientSideBeforeEditItem (if FullRowMode is true. If FullRowMode is false, you need to handle ClientSideBeginEdit on each column) to remember the last edit row/cell. You can then call the Grid's editItem/editCell client side function to restore the edit mode once your timer is done.

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.