or
protected void HeaderContextMenu_ItemCreated(object sender, RadMenuEventArgs e) { switch (e.Item.Value) { case "GroupBy": case "UnGroupBy": case "bottomGroupSeperator": case "BestFit": case "bestFitSeparator": case "ColumnsContainer": case "filterMenuSeparator": e.Item.Attributes.Add("style", "display: none"); break; default: break; } }<asp:ScriptManager id="scriptmanager1" runat="server"/> <asp:content id="content1" contentplaceholder="contentplaceholder1" runat="server"> <asp:updatepanel id="up1" runat="sever"<telerik:RadGrid id="radgrid1"...> <exportSetting ignorePaging="true" openInNewWindow="true"> <pdf pageheight="297mm" pagewidth="210mm" </exportSetting> <masterTableView commanditemdisplay="top"> <command itemtemplate> <asp:imagebutton id="downloadpdf" runat="server" commandname="exporttopdf" imageurl="pdf.jpg" backcolor="white"> </command itemtemplate> ...... </asp:updatepanel> </asp:content>



)
