I am using a custom provider for file explorer control that gets folders from a database. The folders number in the 40 000s. I am facing the problem of now the page taking too long to load because the file explorer is trying to get the subfolders for the 40000 something folders in the root directory in the the ResolveRootDirectoryAsTree Method. The page now takes hours to load.
Public Overrides Function ResolveRootDirectoryAsTree(ByVal path As String) As DirectoryItem
Dim directory As DirectoryItem = dataServer.GetDirectoryItem(path, True)
If directory Is Nothing Then
Return Nothing
End If
directory.Permissions = GetPermissions(path)
If directory.Directories IsNot Nothing Then
For Each dir As DirectoryItem In directory.Directories
dir.Permissions = GetPermissions(path)
Next
End If
Return directory
End Function
Public Function GetDirectoryItem(ByVal path As String, ByVal includeSubfolders As Boolean) As DirectoryItem
Dim item As DataRow = Me.GetItemRowFromPath(path)
Return If(item IsNot Nothing, Me.CreateDirectoryItem(item, includeSubfolders), Nothing)
End Function
Private Function CreateDirectoryItem(ByVal item As DataRow, ByVal includeSubfolders As Boolean) As DirectoryItem
'correct permissions should be applied from the content provider
Dim directory As New DirectoryItem(item("Description").ToString(), Me.GetLoaction(item), Me.GetFullPath(item), [String].Empty, PathPermissions.Read, Nothing,
Nothing)
directory.Attributes.Add("CategoryID", item("CategoryID"))
If includeSubfolders Then
Dim subDirItems As DataRow() = GetChildDirectories(item)
Dim subDirs As New List(Of DirectoryItem)()
For Each subDir As DataRow In subDirItems
subDirs.Add(CreateDirectoryItem(subDir, False))
Next
directory.Directories = subDirs.ToArray()
Else
directory.Directories = (New List(Of DirectoryItem)).ToArray()
End If
Return directory
End Function
Is there a way to stop the initial load of the subfolders of the folders in the root folder and load them on demand? Or what can i do to make it more efficient in loading the too many folders?

I'm tasked with upgrading our Telerik suite to the latest Progress Telerik UI for ASP.NET AJAX (I downloaded Telerik_UI_for_ASP.NET_AJAX_2022_2_622) from a version a decade ago (2013.3.1114.45 - Telerik.Web.Design; 2011.2.712.35 - Telerik.Web.UI; 2012.3.1205.35 - Telerik.Web.UI.Skins). The website uses web form and a lot of grids, radtreeview, radwindows and tabs. I'd like deployment to be as easy as possible so not to have to install anything but rather deploy as part of the bin folder.
Please give me any guidance for this. I'd really appreciate it. Is there a nuget package that I can simply install?
Thank you very much!
Best regards
I'm using the ASP.NET Ajax version 2022.2.613.4.0 HTML Chart. Its been working fine. I have not changed any code or settings. Suddenly my application started throwing the JavaScript error below. I have verified that my data sources are returning the required data. Attached are the code pages.
Grateful for any help troubleshooting and resolving this issue.
/* START Telerik.Web.UI.HtmlChart.RadHtmlChart.js */
For example, in the documentation's demo (below), if George's work schedule on Monday was both 8:00-14:00 AND 16:00-18:00, could those two bars be on the same line?
Telerik Web UI HtmlChart Range Bar Chart Demo | Telerik UI for ASP.NET AJAX

I am writign a scheduler program that handles drag and drop appointment from a RadGrid. I need to pass a certain amount of data to the AdvancedInsert form via custom attributes, but I can't figure out how. I have tried using ISchedulerTimeSlot.FormContainer.Appointment.Attributes and ISchedulerTimeSlot.Appointments[0].Attributes but in both cases null is returned and crash the program. I am trying to use the AdvancedInsertTemplate inline rather than via a usercontrol and controlling the form via the FormCreated method.
My current code:
protected void AppointmentList_RowDrop(object sender, GridDragDropEventArgs e)
{
GridDataItem dataItem = e.DraggedItems[0];
string id = (string)dataItem.GetDataKeyValue("ID");
string customer = (string)dataItem.GetDataKeyValue("Customer");
string title = (string)dataItem.GetDataKeyValue("Title");
string jobtype = (string)dataItem.GetDataKeyValue("JobType");
string targetSlotIndex = TargetSlotHiddenField.Value;
if (targetSlotIndex != string.Empty)
{
HandleSchedulerDrop(id, title, customer, jobtype, targetSlotIndex);
TargetSlotHiddenField.Value = string.Empty;
}
ISchedulerTimeSlot slot = AdeoJobScheduler.GetTimeSlotFromIndex(targetSlotIndex);
AdeoJobScheduler.ShowAdvancedInsertForm(slot.Start);
// Pass extra details for JobType, Subject here
}
protected void AdeoJobScheduler_FormCreated(object sender, SchedulerFormCreatedEventArgs e)
{
RadScheduler scheduler = (RadScheduler)sender;
if (e.Container.Mode == SchedulerFormMode.AdvancedInsert || e.Container.Mode == SchedulerFormMode.AdvancedEdit)
{
RadDateTimePicker startInput = (RadDateTimePicker)e.Container.FindControl("StartInput");
startInput.SelectedDate = AdeoJobScheduler.DisplayToUtc(e.Appointment.Start);
RadDateTimePicker endInput = (RadDateTimePicker)e.Container.FindControl("EndInput");
endInput.SelectedDate = AdeoJobScheduler.DisplayToUtc(e.Appointment.End);
RadMultiSelect fitterlist = (RadMultiSelect)e.Container.FindControl("SelectFitters");
foreach (Fitter.Result fitter in GetFitters().GetAwaiter().GetResult().results)
{
MultiSelectItem newFitter = new MultiSelectItem() { Text = $"{fitter.properties.firstname} {fitter.properties.lastname}", Value = fitter.properties.id };
fitterlist.Items.Add(newFitter);
}
}
}
Any help greatly appriciated.
I have a RadGridView that fits my page as expected utilizing the width property.
But when I set the AllowFilteringByColumn to "True" the grid now expands past the width property.
It first draws on the screen in proper width, then at the end expands way past width.
Using Version 2019.2.514.40
I have tried setting render mode to "Classic", "Lightweigt" but get exact same problem.
See picture below. You can see all columns when I set to False, but when I set to True, you cannot see all columns, you
now have to scroll a lot to see them all.
When I click save, I want the grid to specify the column and pop up the required prompt box. Please!
If shown, I want to modify the data source and click Save to send the parameters in the text box above to the background. How to achieve this!
Hello everyone,
I've been trying to find a way to add my company's logo to the RadMenu, on the left side, just like we see on almost every website. You check the attached image to have a better idea about what do I exactly mean.
Thank you!