Telerik Forums
UI for Blazor Forum
1 answer
210 views
Even on the demo page, the start and end date fields are way too wide.   I figured they only need to be around 110px for my needs, but I don't see a way to control the width of those.  
Marin Bratanov
Telerik team
 answered on 08 Jul 2021
1 answer
997 views

I have an EditForm with a couple fields followed by a TabStrip.  Each TabStripTab has multiple fields.  The Tabstrip is followed by a final couple of fields and the usual Submit/Cancel buttons.

How do I control the sequence of fields if I tab through the form?  First couple of fields, fine.  TabStripTab it jumps over and goes right to the final fields and buttons.  Keyboard tabbing will not enter the TabStrip.

How do we get this to work properly?

Nadezhda Tacheva
Telerik team
 answered on 08 Jul 2021
1 answer
213 views

Hello everyboy!

 

I use a Splitter with two panes. In every pane is a grid. The second pane ist about 35% high. If I click on the Column-Menu, a popup appears - usually it drops down... but then I can not use the filter anymore, because it is to less space to show the filter, the buttons and so on.. at the moment I enlarge the popup in height (css) and the popup always pops up in the right direction. But this ist just a workaround and looks pretty ugly :-) - Has anyone an idea? 

Have a look at the attachment...

Thanks!

 

Dimo
Telerik team
 answered on 08 Jul 2021
2 answers
344 views
Do not use keyboard navigation in Window,Thank you for your help!
Svetoslav Dimitrov
Telerik team
 answered on 08 Jul 2021
2 answers
2.6K+ views

I receive from other developer workable application with Blazor and Telerik UI. I have installed Telerik UI successfully to my machine, then install package Telerik.UI.for.Blazor.Trial. Site successfully compiled and started. But Blazor UI don't working.

 

Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
 answered on 08 Jul 2021
1 answer
695 views

Can i use Panelbar ContentTemplate as a dynamic template in a view?

Example: i want different ContentTemplate to render depending on a property.value?

code is from Telerik's own example with my addition

<TelerikPanelBar Data="@FlatData" @bind-ExpandedItems="@ExpandedItems">
    <PanelBarBindings>
        <PanelBarBinding>
@{ var _c = context as object

@if(_c.GetType() = Type)
{
            <ContentTemplate>
                <div class="panelbar-template">
                    <h2 class="k-text-primary">Custom Template:</h2>
                    @(((PanelBarItem)context).Text)
                </div>
            </ContentTemplate>
}
else
{
 <ContentTemplate>
                <div class="panelbar-template">
                    <h2 class="k-text-primary">Custom Template 2:</h2>
                    @(((PanelBarItem)context).Text)
                </div>
            </ContentTemplate>
}
}
            <HeaderTemplate>
                <strong>@(((PanelBarItem)context).Text.ToUpper())</strong>
            </HeaderTemplate>
        </PanelBarBinding>
    </PanelBarBindings>
</TelerikPanelBar>


Marin Bratanov
Telerik team
 answered on 07 Jul 2021
1 answer
205 views

I have a problem when I tried to add a control on the TreeListCommandButton
the context is not resolved
Telerik version: 2.17.0

<TreeListCommandColumn Width="220px">
                @{
                    var modelHierarchyInfo = (ModelHierarchyInfo)context;
                     if (modelHierarchyInfo.DepthLevel < 2)
                     {
                    <TreeListCommandButton Command="Add" Icon="add"></TreeListCommandButton>
                     }
                }
                <TreeListCommandButton Command="Edit" Icon="edit"></TreeListCommandButton>
                <TreeListCommandButton Command="Delete" Icon="delete"></TreeListCommandButton>
                <TreeListCommandButton Command="Save" Icon="save" ShowInEdit="true"></TreeListCommandButton>
                <TreeListCommandButton Command="Cancel" Icon="cancel" ShowInEdit="true"></TreeListCommandButton>
   </TreeListCommandColumn>
Dimo
Telerik team
 answered on 07 Jul 2021
1 answer
157 views

Hi Team,

Is that possible to add column name for draggable row in Telerik grid.

Please find the attached screen shot for your reference.

Thank you.

Lakshmipathi K

Dimo
Telerik team
 answered on 07 Jul 2021
1 answer
645 views

I have a Telerik Blazor Grid where I am doing a custom OnRead event to get the data.

I am trying to detect within that event handler when the grid filters have changed as I need to request extra data if someone changes the grid filters in anyway.

I have tried comparing the previous filters with the new request filters but it says they are always different even when just requesting a new page in the grid.

My code looks like this:

protected override async Task OnReadHandler(GridReadEventArgs e)
{
    if (!ReHydrateGridFromPersistedState)
    {
        //no grid state exists so call the database for data
        var filtersHaveChanged = GridRequest != null && !GridRequest.Filters.Equals(e.Request.Filters);

        GridRequest = e.Request;

        if (filtersHaveChanged)
        {
            ExtraData = await GetExtraDataAsync();
        }

        await base.OnReadHandler(e);
    }
    else
    {
        GridRequest = e.Request;
    }
}
var filtersHaveChanged = GridRequest != null && !GridRequest.Filters.Equals(e.Request.Filters);

/* filtersHaveChanged is ALWAYS true */

Marin Bratanov
Telerik team
 answered on 06 Jul 2021
1 answer
3.0K+ views
I use data annotations heavily in my view models. I understand that if I let the Telerik form tag I can get the labels to generate and display from my data annotations but I am not auto generating my forms.   How do I make use of the Data Annotations with hand crafted forms?
Marin Bratanov
Telerik team
 answered on 06 Jul 2021
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?