When i tried to bound Grid to a ExpandoObject or DataTable I can't use filter properties .It throws unhandling Exception error. How to sort out this issue.
I'm in need for an OnRendered event (or similar) for a TelerikWindow component. Actually, it would be nice to have for all Telerik blazor components. I this particular case I need to know when a specific <div> is avaible to the browser DOM so that I can call some javascript interop on it. In this case I need to show I leaflet map in the modal window.
I solved it for now, using a javascript timeout of 0.1 second, but that is bad coding.
Hi
Is there a better way to add an automated permission than replacing an existing component type?
How else can I automatically check permissions on the base component "TelerikButton" instead of "MyTelerikButton"?
With a large number of thousands of fields, it does not want to fill the Enable/Visible per field.
My question is not only about permissions, but also about the ability to extend TelerikButton with its my additional [Parameter] which is not included in the basic set.
I would be grateful if you could suggest a better solution.
@foreach (var item in ListOfItemNames.Take(200))
{
<div class="row">
<div class="col">
<label for="@item">@item</label>
<MyTelerikButton Id="@item" Form="Device" Icon="SvgIcon.Stop" Title="@item" OnClick="@ButtonAction" ButtonType="ButtonType.Button" />
<MyTelerikTextBox Id="@item" Name="Device" Value="@item"></MyTelerikTextBox>
@* ...<Telerik...> etc *@
</div>
</div>
}
My Component
public class MyTelerikButton: TelerikButton
{
[CascadingParameter (Name = "Privileges")]
public required List<Privilege> Privileges { get; set; } = [];
protected override void OnInitialized()
{
base.OnInitialized();
var buttonName = Form + Id;
Enabled = Privileges.Any(x=>x.Code == buttonName);
}
}
Hi,
I try to use Telerik.UI.for.Blazor in Docker.
I have added a nuget.config file and also add the corresponding line as explained here
https://docs.telerik.com/aspnet-core/knowledge-base/docker-build-nuget
But when running the docker build command there is this error
"error NU1301: Unable to load the service index for source https://nuget.telerik.com/v3/index.json."
What is wrong ?
Best regards.
My app showed no icons after upgrading to 4.6.0. :(
I tried the KB suggestions to fix it. Went from no icons to getting the hamburger back and blank boxes!
See:
In _Host.cshtml I added:
<link href="_content/Telerik.UI.for.Blazor/css/kendo-font-icons/font-icons.css" rel="stylesheet" />
In _Imports.razor I added:
@using Telerik.FontIcons
In codebehind page I have:
public TelerikDrawer<DrawerItem> Drawer { get; set; }
public DrawerItem SelectedItem { get; set; }
public IEnumerable<DrawerItem> Data { get; set; } =
new List<DrawerItem>
{
new DrawerItem
{
Title = "Home",
Text = "Home",
Icon = "home",
Url="./"
},
new DrawerItem { Separator = true},
new DrawerItem
{
Title = "CostTN Search",
Text = "CostTN Search",
Icon = "eye",
Url="TNSearch"
},
new DrawerItem
{
Title = "RevIOTN Search",
Text = "RevIOTN Search",
Icon = "search",
Url="RevIOTNSearch"
},
new DrawerItem
{
Title = "TN Mapping",
Text = "TN Mapping",
Icon = "subreport",
Url="TNMapping"
},
new DrawerItem
{
Title = "Load Stats",
Text = "Load Stats",
Icon = "subreport",
Url="LoadStats"
},
new DrawerItem
{
Title = "UnMapped Lines",
Text = "UnMapped Lines",
Icon = "subreport",
Url="UnMappedLines"
},
new DrawerItem { Separator = true},
// new DrawerItem
//{
// Title = "Crtls Demo",
// Text = "Crtls Demo",
// Icon = "subreport",
// Url="ControlsDemo"
//},
};
I am not sure what I am missing.
I want to separate Wizard or Stepper into separate Blazor components.
Someone that can guide me how to separate the Wizard steps into different components? I struggle to make validation work and the step logic work with parameter or cascading value.
I cannot just follow Wizard Form Integration because I need more steps and my own UI in each step so my file will be too big.
I can only show the wizard right now with sending it from ""parent" to "child" but validation and step logic doesnt work.
Should i looking at Stepper instead of Wizard? or have someone an example?
TelerikWizard @bind-Value="@Value" OnFinish="@OnFinishHandler" >
<WizardSteps>
<PersonalInformationTwo
applicationModel="@applicationModel"
personalInformationForm="@personalInformationForm"/>
I'm using the bootstrap theme with CSS static content.
<link rel="stylesheet" href="_content/Telerik.UI.for.Blazor/css/kendo-theme-bootstrap/all.css" />
I would like to change the theme to dark but I can't find the name of the bootstrap dark theme. Is it available for the static content CSS?
If I use the CDN it works fine with both normal and dark modes but I'd prefer to use the static content.
+ Menu - Navigation Page Load to div "Desktop" + div desktop + Toolbar + Splitter Vertical +Splitterpane -Overview Grid +Splitterpane - Detail +TelerikEditForm -lot of stuff-
Greetings,
When adding the TelerikRootComponent to the MainLayout.razor, the App.razor is initialized multiple times. If I remove the TelerikRootComponent, then App.razor is initialized once as expected.
The problem is within App.razor, we use the NavigationManager to navigate to a login endpoint when a user is not authorized. The navigation now gets triggered multiple times before actually completing. What change do I need to make in order to have the App.razor initialize once while still using TelerikRootComponent?
I followed the guide wrapping @Body with TelerikRootComponent and then tried creating the TelerikLayout which had the same result. This is in a .NET 7 Blazor Server app. Thanks in advance for the help.