I have a grid with bound columns of numeric fields, when we go to edit mode and try to paste the any formatted numbers (e.g. 1,234,567.89), its not getting pasted.
urgent solution is required to accomplish this task.
Hi we have been trying to utilise the TelerikTooltip dynamically for a number of different reasons across various controls and buttons. We notice part of the tooltip icon will still display if the controls tooltip property is either null or empty (see the code snippit from the REPL below.
Is there an existing way with the TelerikTooltip (without too much hacking) that it will NOT show the tooltip if the target title is null or empty or whitespace?
With this snippit you may also notice an issue with trying to use dynamic tooltips in that the tooltip on the button does not update when pressed. Similar to the question found here: https://feedback.telerik.com/blazor/1460642-the-tooltip-should-be-able-to-re-evaluate-targets-tooltip-not-working-for-elements-not-present-at-first-rendering
@if (RepaintTooltipFlag)
{
<TelerikTooltip TargetSelector=".tooltip-target">
</TelerikTooltip>
}
<TelerikButton class="tooltip-target" title="@buttonTooltip" OnClick="@AddMoreContent">show more content</TelerikButton>
@code{
string buttonTooltip {get;set;} = "";
bool AllContentVisible { get; set; }
//part of workaround
bool RepaintTooltipFlag { get; set; } = true;
async Task AddMoreContent()
{
AllContentVisible = true;
buttonTooltip = "More Content Tip";
//workaround
RepaintTooltipFlag = false;
await Task.Delay(30);
RepaintTooltipFlag = true;
}
}
I dont' understand why I need to buy "UI for .NET MAUI", if I have already "UI for Blazor"? Could you me explain ?
With Hybrid option I can creare Windows, MAC, Ios and Android, using only "UI for Blazor".
Thanks.
Andrea
(.Net 8, Telerik Blazor 6.0.0)
Adding GridAggregates to a detail template when running in InteractiveServer mode appears to cause it not to render the detail grid, although the rows are "there". The attached example has grouping activated on the detail grid. Grouping by a column, the rows appear.
I tested this on Telerik.UI.for.Blazor.Trial 5.1.1 and it works fine (rows always render), so it seems to be a problem on 6.0.0. We have quite a few DetailTemplates with GridAggregates so would appreciate feedback on this.
Attaching an example taken from Telerik examples.
Many thanks,
Michael.
Hello,
We are using the PDF viewer to display a report that we made with Telerik Reporting.
When we display it on the screen, everything work great, the format is correct (landscape) and the margin are correct (custom margin)
When we click on the print button (made with <PdfViewerToolBarPrintTool />), the preview window show our report in "portrait" and with "default margin". Because of that, our report take 5 pages instead of 2. If we manually change the settings to "landscape" and "no margin" in the print preview, the print is correct.
Is there a way to change that ? Change the default page orientation and the default margin so that our client doesn't have to do it themselve?
We tried using the new release from may 2024 (blazor 6.0), the quality of the print went up, but I dont see any option which would let me do that.
Thank you
David
I have added 3 Custom buttons to my toolbar in the editor. I would like to use Spacer similar to ToolbarSpacer and would like the clear and save comment buttons to be right justified. How would I do that or if I can't, can it be added?
I've got a Blazor WebApp and want to open a page (with several Telerik components) in a new tab. Unfortunately I can't use NavLink or NavigationManager.NavigateTo(url) as they won't open in a new tab/window.
After googling I realized the general consensus is to use javascript: await JS.InvokeVoidAsync("open", <url>, "_blank");
This works fine as long as the page url doesn't contain any parameters (url "/TestPage") but whenever I pass along a parameter (url "/TestPage/dummyParam") the page loads but the styling for the Telerik components are wrong (missing?)
As a sidenote, I get exactly the same weird behavior with a <a href="/TestPage/dummyParam" target="_blank"> so not an option.
Depending on what kind of Telerik components I've added to the opened page I get different errors.
A TelerikButton simply looks ugly but if I add a TelerikTextBox I get an exception "Error: Microsoft.JSInterop.JSException: Could not find 'TelerikBlazor.initTextBox' ('TelerikBlazor' was undefined)."
Were thinking maybe components were rendered too early so tried to show them only after OnAfterRender(), but still the same problems. Changing to prerender: false ( @rendermode="new
InteractiveServerRenderMode(prerender: false) ) didn't help at all but
I'm mostly grabbing at straws at this time..
I've made a very simple sample app demonstrating this problem, see zip.
1. Start page, all looks ok.
2. Pressing "open in new tab, no param" button, the TestPage is opened in new tab and everything looks fine, correct visuals etc.
3. Back to Home, press "open in new tab, one param" button, exactly the same TestPage is opened in a new tab but styles are now missing, layout is wrong and exceptions reported depending on what controls have been added.
4. Back to Home, pressing the href link, same behavior as nr 3.
Does the "open in new tab" break the SPA boundaries? The answer to my problem is probably obvious, but I just can't see it at the moment.