C
Cathie
Hi All,
I am having a problem enabling and disabling toolbar buttons from client
side script. I have tried the following:
var btnDelete = document.getElementsByName("btnDelete")[0];
but this does not find the button at all.
I can find the outside toolbar container:
var tbrNewReport = document.getElementsByName("tbrNewReport")[0];
but this doesn't seem to help me as I can't find a way to retrieve the
buttons contained within the toolbar.
I am enabling and disabling the buttons based on the number of items
selected by a client. I really would prefer not to PostBack to do this as
the extra round trips seem worthless.
Can anyone help me?
Thanks in advance,
Cathie
I am having a problem enabling and disabling toolbar buttons from client
side script. I have tried the following:
var btnDelete = document.getElementsByName("btnDelete")[0];
but this does not find the button at all.
I can find the outside toolbar container:
var tbrNewReport = document.getElementsByName("tbrNewReport")[0];
but this doesn't seem to help me as I can't find a way to retrieve the
buttons contained within the toolbar.
I am enabling and disabling the buttons based on the number of items
selected by a client. I really would prefer not to PostBack to do this as
the extra round trips seem worthless.
Can anyone help me?
Thanks in advance,
Cathie