Hello Divya,
An approach you can use to set the ToolBar to visible or invisible is to set its
CssClass property. So when you want to make it invisible you can set the following custom class:
and when you want to make it visible again the following one:
You will have to add the corresponding CSS rules which will set the visibility depending on the ToolBar's currently set custom class:
For accessing the ToolBar you can see
this forum thread, where it is shown how to access a control placed in a Grid's CommandItemTemplate.
Regards,
Ivan Danchev
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the
Telerik API Analyzer and share your thoughts.