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!
Hi all,
So I'm trying to reconfigure a page to load ASP.NET content inside an ajaxed tabstrip instead of reloading the page every time the tab is changed.
Unfortunately, the built in Telerik function is having trouble finding the radgrid on the page when it is within the AJAX frame:
function RadGridDeselectAllRows(n) {
We have a strange issue where when we copy and paste from Word to the Telerik Editor (2018.3.910.45) using Firefox on a Mac (running 12.4). that the editor inserts a large <style> tag with a font face element inside. See Attached Screenshot. This is only the case when using a Mac and Firefox. I can recreate the issue on the Telerik Demo page. https://demos.telerik.com/aspnet-ajax/editor/examples/cleaningwordformatting/defaultcs.aspx
Any thoughts on how to fix this would be most appreciated. Thanks! We tried utilizing the ConvertFontToSpan and ConvertInLineStylesToAttributes options in the content filter.
Hello,
I am building a couple different user controls that nest other user controls inside of them. They are all coming together to live on a single control that is placed in a page. Without posting everything I have, a rough outline of my setup is below and a description of the problem is under that.
User Control name radcombo:
<table>
<tr>
<td>
<radcombobox id="radComboBox1" runat="server"/>
</td>
</tr>
</table>UserControl2: UpdateObject2
<radButton id="OpenRadWindowToUpdate" etc.../>
<radwindow id="window1">
<contentTemplate>
<radlabel/>
<radtextField/>
<userControl:radCombo1 id="customRadCombo1"/>
</contentTemplate>
</radWindow>UserControl3: MultiDropDown
<radMultiColumnDropDown />
<userControl:UpdateObject2 id="customUpdateObject2"/>Final destination: .aspx page
<radgrid/>
<radwindow id="controlsLiveInHere"/>
<userControl:MultiDropDown id="multiDropDown1"/>
</radwindow>
I am aware that I can set up javascript on the radwindow's onClientClose/Resize/Move events and understand how to implement that. What I am looking for is how to utilize those events in a way that I can touch a dropdown control that may be 2-3 levels away from where the event is happening and I'll also have 4-7 dropdowns to close. I considered exposing client IDs through properties however that seemed like a stretch. I am working in VB.net and all of the other functionality of the controls operate as designed currently. Any input is appreciated! If more code is needed I can provide it, however its quite a few controls and I've tried to boil it down to its essence above.
After some contemplation this weekend, I considered another few options but would love to hear if anyone has implemented them and if there is a best way to do so.
Public WriteOnly Property HideDropDowns
Public readonly property DropDownsToClose
Any parent controls would need to expose this and could even go as far as to simply build upon the string of clientIDs if necessary. I think I prefer this approach if it is feasible. Anyone else done this before? Something like the below...
Public ReadOnly Property DropDownsToClose as String
Get
Return String.Concat(radComboBox1.ClientID,"||",radComboBox2.ClientID)
End Get
End Property<telerik:RadWindow ID="Window1" runat="server" OnClientDragStart="CloseDropDowns" OnClientResize= >
<contentTemplate>
<radlabel/>
<radtextField/>
<userControl:RadCombo id="customRadCombo1"/>
</contentTemplate>
</radWindow>
<Script>
function CloseDropDowns(sender, args) {
//find the string of clientIds in the userControl's DropDownsToClose property
var ddls = $find("<%= customRadCombo1.ClientID %>").DropDownsToClose
ddls.split("||").forEach(comboClientID => $find("<%= comboClientID %>").HideDropDown());
}
</Script>
Thanks for any help!