RadGrid1.ExportSettings.OpenInNewWindow =
true;
RadGrid1.ExportSettings.ExportOnlyData = true;
RadGrid1.ExportSettings.IgnorePaging = true;
RadGrid1.MasterTableView.ExportToCSV();
I have paging switched on and PageSize set to 10.
I have over 10 pages of data but when I click to export it only exports the first page.
Please can someone help. I'm sure its probably something really simple but I cannot see it.
Many thanks
| UserControl - Popup1: |
| --------------------------- |
| <uc1:ContactDtls ID="uctlLocationDtls1" ValidationGroup="ADDRESS" Title="Address" |
| runat="server" /> |
| <asp:Button ID="btn_Save" runat="server" Text="Save" CommandName="PerformInsert" |
| Visible='<%# DataItem is Telerik.Web.UI.GridInsertionObject %>' ValidationGroup="ADDRESS" OnClientClick="ShowAlert2()" /> |
| UserControl - Popup2: |
| --------------------------- |
| <telerik:RadTextBox ID="txt_ContactLName" runat="server" Width="100" MaxLength="50" ValidationGroup = "CONTACT" onkeypress="return isCharKey(event);" CausesValidation="true"> |
| </telerik:RadTextBox> |
| <asp:RequiredFieldValidator ID="rfv_txt_LastName" ControlToValidate="txt_ContactLName" ValidationGroup="CONTACT" ErrorMessage="Last Name required" Text="*" runat="server"></asp:RequiredFieldValidator> |
| <asp:Button ID="btn_Save" runat="server" Text="Save" CommandName="PerformInsert" |
| Visible='<%# DataItem is Telerik.Web.UI.GridInsertionObject %>' CausesValidation="true" ValidationGroup="CONTACT" OnClientClick="ShowAlert1()" /> |
| <asp:ValidationSummary ID="ValidationSummary1" ShowMessageBox="false" ShowSummary="true" runat="server" ValidationGroup="CONTACT" /> |
| Client.aspx: (File containing the Grid) |
| --------------------------------------------- |
| <script language="javascript" type="text/javascript"> |
| function ShowAlert1() { |
| var valGroup = Page_ClientValidate("CONTACT"); |
| var summary = document.getElementById('divSummary1'); |
| if (!valGroup) { |
| radalert(summary.innerHTML, 400, 100, 'Summary'); |
| return false; |
| } |
| else |
| return true; |
| } |
| function ShowAlert2() { |
| var valGroup = Page_ClientValidate("ADDRESS"); |
| var summary = document.getElementById('divSummary2'); |
| if (!valGroup) { |
| radalert(summary.innerHTML, 400, 100, 'Summary'); |
| return false; |
| } |
| else |
| return true; |
| } |
| function isCharKey(evt) { |
| //debugger; |
| var charCode = (evt.which) ? evt.which : event.keyCode |
| if ((charCode > 64 && charCode < 91) || (charCode > 96 && charCode < 123) || charCode == 39 ) { |
| return true; |
| } |
| else { |
| return false; |
| } |
| } |
| </script> |
<iframe src='EditPage.aspx' name='hFinderUpload' id='Iframe2' style="width:0;height:0;border:0px solid #fff;" ></iframe>
<form action="<%=Url.Action("UploadAttachment", "PageContent")%>" method="post" enctype="multipart/form-data" target='hFinderUpload'>
<fieldset>
<div id='Div1'>
<label for='hFinderUploadFile'>File:</label>
<input type='file' name='hFinderUploadFile'id='File1' size='40' />
</div>
<div id='Div2'>
<input type='submit' id='Submit1' name='hFinderButton' value='Upload File' />
</div>
</fieldset>
</form>
The problem is that when the mouse is passed over the submit buttons, the controller/action url that appears at the bottom of the browser is correct for one but not for the other view. The view that doesn't work shows Edit?rwndrnd=some decimal number, where some number varies with the execution of the app. And then ofcourse, the action in the controller does not get called when the browser shows Edit?rwndrnd=somenumber.
Is this something that cannot be done or is this an issue with RadWindow / RadMultiPage ?
Thanks in advance,
Eugene
| <telerik:RadListBox ID="RadListBox1" |
| runat="server" |
| Height="190px" |
| Width="230px" |
| AllowTransfer="true" |
| TransferToID="RadListBox2" |
| TransferMode="Move" |
| AutoPostBackOnTransfer="true" |
| AllowTransferDuplicates="false" |
| AllowTransferOnDoubleClick="true" |
| EnableDragAndDrop="false"> |
| </telerik:RadListBox> |
| <telerik:RadListBox ID="RadListBox2" |
| runat="server" |
| Height="190px" |
| Width="200px" |
| AutoPostBackOnReorder="true" |
| AllowReorder="true" |
| ButtonSettings-ShowReorder="true" |
| ButtonSettings-ReorderButtons="Common"> |
| </telerik:RadListBox> |