Hi,
I am running an asp.net website with a grid with an custom toolbar item which calls an javascript in the scriptcontent section for refreshing the grid. When I add the Toolbar item "printGrid", it just makes the same action as the Refresh button. Is there any chance to get this running?
This is a part of the
[...]
<ej:Grid ID="Test" runat="server" AllowSelection="True" AllowPaging="True" AllowSorting="True" AllowScrolling="True" AllowFiltering="True" AllowResizeToFit="True">
<ClientSideEvents ToolbarClick="onToolBarClick" />
<ToolbarSettings ShowToolbar="True" ToolbarItems="printGrid">
<CustomToolbarItem>
<ej:CustomToolbarItem TemplateID="#Refresh" />
</CustomToolbarItem>
</ToolbarSettings>
[...]
and in the scripts section there is:
[..]
<script id="Refresh" type="text/x-jsrender">
<a class="e-toolbaricons refresh" />
</script>
<script type="text/javascript">
function onToolBarClick(sender, args) {
....following some code....
[..]
So is there any chance to get this printgrid running?
Thank you very much for your help!
Michael