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
|
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!
|