ATLAS / AJAX question

  • Thread starter Thread starter CK
  • Start date Start date
C

CK

Hi All,
Is there any way to disable controls when doing an atlas callback? We have a
webform with controls like drop downs that are in Atlas Update Panels. When
you make a selection in the drop down, it updates other control values on
the page. The problem is when a user makes a change, then the callback
starts, if the user like scrolls the drop down during the callback, the
values get all messed up and the controls are not properly updated. I need
to be able to disable controls in a row of a grid view until the callback
and settings occur. Does anyone know how to do this?

Thanks In Advance,
~CK
 
in client script

var e = document.getElementById('panelid').getElementsByTagName('select');
for (var i =0; i < e.length; ++i) e.disabled = true;

-- bruce (sqlwork.com)
 
That makes sense, but how can I fire the code before the callback? And after
to reenable the controls??? Thanks for the help.
~CK

bruce barker (sqlwork.com) said:
in client script

var e = document.getElementById('panelid').getElementsByTagName('select');
for (var i =0; i < e.length; ++i) e.disabled = true;

-- bruce (sqlwork.com)

CK said:
Hi All,
Is there any way to disable controls when doing an atlas callback? We
have a webform with controls like drop downs that are in Atlas Update
Panels. When you make a selection in the drop down, it updates other
control values on the page. The problem is when a user makes a change,
then the callback starts, if the user like scrolls the drop down during
the callback, the values get all messed up and the controls are not
properly updated. I need to be able to disable controls in a row of a
grid view until the callback and settings occur. Does anyone know how to
do this?

Thanks In Advance,
~CK
 
Back
Top