Hi Telerik,
We are facing an issue of Exporting to XSLS from RadGrid. We recently change our export functionality to XSXL. Currently, we are using
radgrid.ExportSettings.Excel.Format = GridExcelExportFormat.Xlsx;
Ihave a functionality to export selected records. When I select some of records from Grid and export them we are getting all the records are exported to xslx file NOT only selected.
The weird thing I faced is that when I change GridExcelExportFormat.Xlsx from GridExcelExportFormat.HTML, it works fine. (Only Selected Records are being exported)
I am using following code to export selected records.
if
(radgrid.SelectedItems.Count != 0)
{
foreach
(GridDataItem item
in
radEntityRecords.MasterTableView.Items)
item.Visible = item.Selected;
}
radgrid.ExportSettings.OpenInNewWindow =
true
;
radgrid.ExportSettings.ExportOnlyData =
true
;
radgrid.MasterTableView.IsFilterItemExpanded =
false
;
radgrid.ExportSettings.UseItemStyles =
true
;
radgrid.MasterTableView.GroupByExpressions.Clear();
radgrid.ExportSettings.Excel.Format = GridExcelExportFormat.Xlsx;
radgrid.MasterTableView.ExportToExcel();
Radtreeview onnodedrop event:
when i try to acess event argment SourceDragNode (e.SourceDragNode) is Null
I have a refresh button that seems to work on the browser reload but not on the actual refresh button reload. It's using a standard grid. What am I missing?
var gridRefresh = grid.dataSource.query({
sort: { field: "ProductName", dir: "desc" },
page: 2,
pageSize: 20
});
$('a.k-pager-refresh').on('click', function (){
gridRefresh.data("kendoGrid").dataSource.read();
});
I have a problem when using the args.set_cancel command (true), to cancel the upload.
Code RadAsyncUpload:
<telerik:RadAsyncUpload
ID="radFileUpload"
MaxFileSize="10000000"
OnClientFilesSelected="OnClientFilesSelected"
HttpHandlerUrl="~/UploadFiles.ashx"
TemporaryFolder="~/upload"
MaxFileInputsCount="1"
runat="server">
</telerik:RadAsyncUpload>
Code Javascript:
function OnClientFilesSelected(sender, args) {
if ((sender._uploadedFiles.length + args.get_count()) > sender._maxFileCount) {
args.set_cancel(true);
alert('The maximum number of file(s) to upload is: ' + sender._maxFileCount);
}
}
The problem is that when the seto args.set_cancel to TRUE, the upload component does not finciona more. By clicking on the button to upload, it does not respond anymore. This is the version 2016.2.504.45. In version 2015.1.401.45 it works normally.
Hi,
Wehave built an application for my company and the application is in production. The application is an ASP.NET Webforms application. We are using radgrid and all other controls on almost every page of the application. Recently we decided to implement knockout js in the project. We are learning knockout js and looking for some good learning resources, so that we can use radgrid and other controls to talk to knockout js code. Can anyone help?
HI there,
I am trying to do client-side manipulation of the scheduler. Can anyone tell me why it insists on doing Postbacks, even if I an doing everything through JavaScript? I have no postback events set up, but even if I just execute scheduler.insertAppointment() I catch the postbacks
Thanks in advance
Rob
It appears the Q3 2016 controls have broken client-side filtering in addition to the server-side filtering issue I read about in another thread. the tableview.get_filterExpressions() collection is empty when it shouldn't be.
I have downloaded and installed your internal build 2016.3.1004.40 and client-side filtering appears to work now. However, I don't want to install an internal build in a production environment unless I know its stable. Is it? I don't want to run into any more issues like I did with the filtering being broken all of a sudden.
I am getting Dual Check Box in GridCheckBoxColumn in radGrid (please find the attach image that describes the issue)
I am using RadFormDecorator because of this I got this issue when I remove RadFormDecorator it worked good.
Telerik Version is - (UI for ASP.NET AJAX R3 2016 (version 2016.3.914))
<
telerik:GridCheckBoxColumn
DataField
=
"Late"
HeaderText
=
"Late"
SortExpression
=
"Late"
UniqueName
=
"Late"
DataType
=
"System.Boolean"
FilterControlAltText
=
"Filter Late column"
StringTrueValue
=
"1"
StringFalseValue
=
"0"
></
telerik:GridCheckBoxColumn
>