I have a Grid defined in the aspx file with a couple of CommandItemTemplate buttons as shown below.
Is there a way to reference one of the buttons in the OnGridPrerender in order to suppress its display?
Thanks.
Dan
Is there a way to reference one of the buttons in the OnGridPrerender in order to suppress its display?
Thanks.
Dan
<
CommandItemTemplate
>
<
asp:Button
ID
=
"btnAddCall"
CommandName
=
"AddCall"
runat
=
"server"
Text
=
"Add Call"
/>
<
asp:Button
ID
=
"btnBack"
CommandName
=
"Back"
runat
=
"server"
Text
=
"Back"
/>
</
CommandItemTemplate
>