Telerik Forums
UI for Blazor Forum
1 answer
60 views

Hi:

I am trying to use my Telerik Blazor 4.3.0 with a new Blazor 8 WebApp Server Global project.  I keep getting the error:

Microsoft.JSInterop.JSException: Maximum call stack size exceeded
RangeError: Maximum call stack size exceeded
    at t (https://blazor.cdn.telerik.com/blazor/4.3.0/telerik-blazor.min.js:50:1034368)

 

Can you help me?

 

Thanks,

Roger

Yanislav
Telerik team
 answered on 24 Jan 2024
0 answers
31 views

I´m trying to export a page as PDF in a Blazor application.

I found this example application that uses the kendo-drawing api with JS interop.

https://github.com/telerik/blazor-ui/tree/master/common/pdf-jpg-export-js

This works fine as long as you do not use a template. The template API is missing entierly.

I have for now copied over the entier kendo libs folder from a project that uses kendo MVC. It works, but I would rather just use the kendo-drawing api and not everything.

Is the kendo templating stuff available somewhere separately?

(NOTE: This is not an accessibility question but there is no tag that fits as far as I can tell and I cannot define a new one)

Max
Top achievements
Rank 1
 asked on 10 Jan 2024
0 answers
33 views

Hello, could you help me please. I have a problem with calling razor page (blazor) in HTML, sometime is work sometime isnt.

I try call only https://xzy.intra.cz/aktpoh/233 and press F5 and it was still working.

But if I call it in iframe or embed or object i.e. 

<tr>
          <td>X group</td>
          <td><iframe href="https://xzy.intra.cz/aktpoh/233" height="50" type="text/html" width="300"></iframe></td>
        </tr>
        <tr>
          <td>Y group</td>
          <td><embed src="https://xzy.intra.cz/aktpoh/30" height="50" type="text/html" width="300"></embed></td>
        </tr>
        <tr>
          <td>Z group</td>
          <td><object data="https://xzy.intra.cz/aktpoh/243" height="50" type="text/html" width="300"></object></td>
        </tr>
        <tr>         

sometime work but if I press F5 for refresh sometime isnt work.

How can I call it

Peter

 
Dimo
Telerik team
 updated question on 10 Jan 2024
0 answers
29 views

Greetings Forum Members,

I trust you're all doing well. I'm currently involved in a project at my company, where we are contemplating migrating an existing ASP.NET project (built with the old aspx and vb.net) to the newer ASP.NET Core. Our consideration involves using the Telerik code converter to transition the code from vb.net to c#.

I'm reaching out to the community to gather insights on whether the Telerik code converter takes into account libraries during the conversion process. If any of you have experience with this tool or similar migration scenarios, your guidance would be immensely valuable.

Thank you for your time and assistance. Looking forward to your knowledgeable responses.

Best regards,

EHallPass

Dimo
Telerik team
 updated question on 10 Jan 2024
1 answer
47 views
Hi, I'm trying to implement global error handling in my blazor application using Telerik ErrorBoundary. Implementation is very simple in the MainLayout.razor I have this code
<ErrorBoundary @ref="errorBoundary">
						<ChildContent>
							@Body
						</ChildContent>
						<ErrorContent Context="ex">
							@{
								OpenNotification("Unhandled exception ocurred. Please try again later.", ThemeColor.Error, CloseAfter.Success);
								// TODO: this code is called twice!

							}
						</ErrorContent>
					</ErrorBoundary>	

Open Notification it's a private method to show error message


private void OpenNotification(string text, string theme, int closeAfter)
	{
		Notification.Instance.Show(new NotificationModel
			{
				Text = text,
				ThemeColor = theme,
				CloseAfter = closeAfter
			});
	}

so when error happens notification is shown 2 times, I set console log in this code and it's logging two times execution.

Any idea what could be the problem?

Thanks

 

Svetoslav Dimitrov
Telerik team
 answered on 02 Jan 2024
0 answers
35 views
after creating account and validating email i wasn't returned back to visual studio. do i just close VS and start again?
Paul
Top achievements
Rank 1
 asked on 24 Dec 2023
1 answer
102 views

I have recently downloaded the latest Telerik.UI for blazor 5.0.1 commercial and I tried converting a dotnet 8 project to a telerik project using the context menu. 

Is there a plan to have support for the new .NET 8 project templates?

The option to also create a new blazor project from the Visual Studio 2022 project templates is gone. I cannot create a blazor project.

I saw the "Discover the Magic of .NET 8 and Beyond!" webinar and it seemed support for .NET 8 was ready

Momchil
Telerik team
 answered on 20 Dec 2023
0 answers
202 views

Hi,

I'm currently evaluating Telerik UI for Blazor using the new .NET 8 capabilities. 

I'm trying to have static pages (using the default SSR mode) with interactive islands of individual components on the page using RenderMode.InteractiveAuto

Looking at the setup documentation here https://docs.telerik.com/blazor-ui/getting-started/web-app#43-add-the-telerikrootcomponent it says that it's possible to set it only for specific pages and components, but then it says that <TelerikRootComponent> needs to wrap the entire view port (i.e. the whole <div class="page">)

Is there a way to create interactive islands at a component level with Telerik UI for Blazor?

 

Thanks

thing
Top achievements
Rank 1
 asked on 15 Dec 2023
1 answer
673 views

Hi all,

I've been trying to get new Blazor projects off the ground with Telerik 4.4, and had some luck with WASM but unfortunately Blazor Server I cannot get to work.

I have kept my projects simple, following the guidance set out in the Getting Started articles but every time run into the same error in the web client.

Error: Microsoft.JSInterop.JSException: Maximum call stack size exceeded
RangeError: Maximum call stack size exceeded
    at e.deepExtend (https://localhost:7144/_content/Telerik.UI.for.Blazor/js/telerik-blazor.js:50:1075205)
    at e.deepExtend (https://localhost:7144/_content/Telerik.UI.for.Blazor/js/telerik-blazor.js:50:1075502)
    at e.deepExtend (https://localhost:7144/_content/Telerik.UI.for.Blazor/js/telerik-blazor.js:50:1075440)
    at e.deepExtend (https://localhost:7144/_content/Telerik.UI.for.Blazor/js/telerik-blazor.js:50:1075440)
.... (repeats)

   at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
   at Telerik.Blazor.Components.TelerikMediaQuery.InitMediaQueryWidget()
   at Telerik.Blazor.Components.TelerikMediaQuery.OnAfterRenderAsync(Boolean firstRender)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

This stops any Telerik components from working, and leaves me a bit stuck!

Anyone seen similar? Or know of a workaround?

Dimo
Telerik team
 answered on 14 Dec 2023
2 answers
54 views

Only available template is "Blank" all other templates are disabled. When I change TARGET FRAMEWORK to .NET7 all other templates are available.

When will this feature will be available for .NET8?

Regards,

Djole

Djordje
Top achievements
Rank 1
Iron
Iron
 answered on 14 Dec 2023
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?