Hello,
I have a Radgrid control on a webpage where I have defined EditFormType="Template" for the MasterTableView. There are few controls in this template for which I want to set the visibility to false depending on some conditions. I can set the visiblility of these controls to false in ItemDataBound Event but in these case the datasource associated with the control is still executed. i.e. even though the control is invisible the stored procedure associated with that control is still executed.
How can I set the control in the edit form to invisisble and not have the datasource associated with that control to be executed.
Please help.
Thanks,
Rajiv
I have a Radgrid control on a webpage where I have defined EditFormType="Template" for the MasterTableView. There are few controls in this template for which I want to set the visibility to false depending on some conditions. I can set the visiblility of these controls to false in ItemDataBound Event but in these case the datasource associated with the control is still executed. i.e. even though the control is invisible the stored procedure associated with that control is still executed.
How can I set the control in the edit form to invisisble and not have the datasource associated with that control to be executed.
Please help.
Thanks,
Rajiv