or
Me.RadGrid1.ExportSettings.OpenInNewWindow = True
Me.RadGrid1.ExportSettings.ExportOnlyData = False
Me.RadGrid1.ExportSettings.IgnorePaging = True
Me.RadGrid1.MasterTableView.ExportToPdf() but it only exports the 1 employee record and not the detail tables.
Any possible solutions would be helpful
Thanks,
Paul
I have grid that uses EditForm for the edit mode. Inside the edit form, I have a button that sends email from the server:
| <asp:Button ID="EmailButton" Text="Email" OnClick="EmailButton_Click" OnClientClick="javascript:radconfirm('Are you sure you want to send the email?', emailConfirmCallback); return false;" runat="server" /> |
| function emailConfirmCallback(arg) |
| { |
| if (arg) |
| { |
| var eButton = $find('<%# ((GridItem)Container).FindControl("EmailButton").ClientID %>'); |
| eButton.click(); |
| } |
| } |
| function OnClientSomeControlDidSomething(sender, args) { |
| TellServerAboutSelectedElement("Someparam"); |
| } |
| function TellServerAboutSelectedElement(argument) { |
| var ajaxManager = $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>"); |
| ajaxManager.ajaxRequest(argument); |
| } |
| string strExistingHanlder = aM.ClientEvents.OnResponseEnd; |
| string strMyHandler; |
| if (!string.IsNullOrEmpty(strExistingHanlder)) { |
| strMyHandler = "function OnMyResponseEnd(sender,args) {"; |
| strMyHandler += strExistingHanlder + "(sender, args); DoMyHandling(sender, args); }"; |
| } |
| else { |
| strMyHandler = "function OnMyResponseEnd(sender,args) { DoMyHandling(sender, args); }"; |
| } |
<telerik:RadToolBarButton runat="server"
ImageUrl="~/Portals/icons/help1/Copyright.png" Text="About"
NavigateUrl=http://www.xyz.com Target="_blank">
</telerik:RadToolBarButton>
With the code above in toolbar. The parent page also refresh to the new website url.