I'm having issues rendering the Gantt Control inside of a custom control. I've set up my control in line with the sample project for using a custom provider, which works outside of my project just fine. When I try and render it within my project, nothing but the divs seem to be rendered. I compared that to what was rendered by the sample project, and a lot of things seem to be missing. I've attached a image of the rendered html.
I get one JavaScript error "A.delayedClick is not a function". Any help would be greatly appreciated.
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