Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
95 views

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 */
(function(a,m){Type.registerNamespace("Telerik.Web.UI");
Type.registerNamespace("Telerik.Web.UI.HtmlChart");
$telerik.toHtmlChart=function(n){return n;
};
$telerik.findHtmlChart=$find;
var b=Telerik.Web.UI,f=window,h=f.kendo,c=h.dataviz.ui.themes{},l=a.proxy,g=a.isFunction,k=f.parseInt,d=10,j="load",i="kendoWidgetInitializing";
HEIGHT="height",WIDTH="width",SPARKLINE="sparkline",DEFAULT_SPARKLINE_HEIGHT="20px",DEFAULT_CHART_HEIGHT=400,STOCK="stock",SERIES_CLICKED="seriesClicked",SERIES_HOVERED="seriesHovered",SERIES_SUPPORTING_GAP_AND_SPACING=["bar","column","radarColumn","candlestick","ohlc"],MISSING_RADCLIENTDATASOURCE="MissingRadClientDataSource";
var e="Default"; 
Fred
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 12 Aug 2022
0 answers
214 views
Hello, I am developing an ASP.NET Web Forms Application where I am using Telerik KendoGrid. The paging seems to work fine when I click on page numbers but the next, previous buttons and other advanced paging options are not working. Is there a way out?
SB
Top achievements
Rank 1
 asked on 12 Aug 2022
1 answer
280 views

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

Rumen
Telerik team
 updated answer on 12 Aug 2022
0 answers
165 views

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.

Stuart
Top achievements
Rank 1
 asked on 12 Aug 2022
0 answers
187 views

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.

 

Roger
Top achievements
Rank 2
Iron
Iron
Iron
 updated question on 11 Aug 2022
0 answers
145 views

When I click save, I want the grid to specify the column and pop up the required prompt box. Please!

zhe
Top achievements
Rank 1
Iron
Iron
 asked on 11 Aug 2022
0 answers
115 views

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!

zhe
Top achievements
Rank 1
Iron
Iron
 asked on 11 Aug 2022
4 answers
434 views

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!

Valentin Dragnev
Telerik team
 answered on 10 Aug 2022
0 answers
146 views

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) {
    var t = $find(n)
      , i = t.get_masterTableView();
    i.clearSelectedItems()

with n being the id of the radGrid, t returns null

If I load the page in it's own window instead of in the frame, the function is able to find the radGrid without issue. 

Has anyone seen anything like this that might be able to give me some guidance?

Thanks and let me know if I can provide any more info!
Patrick
Top achievements
Rank 1
 asked on 09 Aug 2022
1 answer
186 views

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.

Rumen
Telerik team
 answered on 09 Aug 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?