in my current application. Intellisense says that these are not valid attributes of the CommandItemSettings element. I have looked at your example code in your demo site and they work there just fine. I copied your code into my grid definition and it does not work. What am I doing wrong? How do I get the Command item buttons to appear in my RadGrids CommandItemDisplay area?
9 Answers, 1 is accepted
Since the intellisence does not recognize the attributes, I strongly feel that the old version is not replaced with the new one and you are working with the old DLL. Check the version of the dll file in your web-application's bin folder. If it is not Q3, then try copying the new DLL (located in the /bin folder or /bin35 folder if you use the NET 3.5 build of the assembly) to your web-application's /bin folder in order to replace the old dll.
For your convenience I prepared a sample demo which is working as expected with Q3 2009. Please
give it a try and let me know if you need additional assistance.
the Telerik team
<a href="#" onclick="return ShowInsertForm();">Add New Record</a>
<CommandItemSettings ShowExportToWordButton="true" ShowExportToExcelButton="true"
ShowExportToCsvButton="true" ShowExportToPdfButton="true" />
However, the export settings for excel pdf does not display after this addition, any advice/workaround?
One suggestion to accomplish this appearance is by using default commanditem with export buttons (instead of using CommandItemTemplate) and invoking the client method on clicking the "Add New Record" button. You could access the "Add New Record" button from code behind and hook the "OnClientClick" event as shown below.
In the client handler, add the code for showing the window.
Thank you very much.
RadGrid has a property "OpenInNewWindow" under ExportSettings section. Set the property to "True" in order to show the exported file in new window.