Telerik Forums
UI for Blazor Forum
1 answer
194 views

Hello,

I am using TelerikGrid with the FilterMode and OnRead property, but when I try to filter by a column that the data type in SQL is Text, it does not bring me results.

Timothy J
Top achievements
Rank 2
Bronze
Iron
Iron
 answered on 22 Sep 2022
1 answer
291 views

Hi,

I want to localize "filter", "search","select all" and clear inside grid filtering.

I have found this example, but this is intended more to create your own personalized filter.

https://demos.telerik.com/blazor-ui/grid/overview

Is it possible to just modify those elements?

Stamo Gochev
Telerik team
 answered on 22 Sep 2022
1 answer
429 views

Hi,

I have this code...

protected void OnRead(GridReadEventArgs args)
{
    DataTable oDataTable = TiMain.DataSource.ToTable();
    DataSourceResult oDataSourceResult = oDataTable.ToDataSourceResult(args.Request);

    args.Data = (oDataSourceResult.Data as IEnumerable<Dictionary<string, object>>)
        .Select(oRow => oRow.ToDictionary(
            oCell => oCell.Key,
            oCell => (oCell.Value == DBNull.Value ? null : oCell.Value)
        ))
        .ToList();

    args.Total = oDataTable.Rows.Count;
}

According to my understanding of the documentation ToDataSourceResult should return only with rows that fit the page. But it always return all - sever hundred - of rows regardless of the current page...

Have I missed something?

Tsvetomir
Telerik team
 answered on 22 Sep 2022
1 answer
201 views
When I try to open a ContextMenu or a DropDownList within a Dialog the x and y coordinates of the dropdown have offsets. It seems to me that they still refer to the main "window". Is there any way to avoid that problem ? 
Joana
Telerik team
 answered on 22 Sep 2022
1 answer
570 views

When I upgraded to 3.6.0 my TelerikGrid pager stopped rendering correctly.

The first image below is after the page has been rendered and the data source contains 10 rows.  Paging is enabled using a server-side data source/database repository.  The second image below is simply what it looks like when I click on the dropdown.

 

If I hit refresh I see the normal-looking pager with 7 buttons horizontal as expected.  Like the one that works with version 3.5.0, included below.
But it only appears for a second and then it changes back to the one above.

The grid OnReadHandler looks like this:

protected async Task OnReadHandler(GridReadEventArgs args)
{
InquiryResponse<Drug> response = await _drugAdapter.FindByDataSourceRequestAsync(args.Request, true);
if (response.ResponseData.Any())
{
args.Data = response.ResponseData;
}
args.Total = response.AvailableTotalItems;
}

All downstream methods are async and await is used on all method calls just like I have seen in the demos for using remote data service.

The grid is defined as follows:

<TelerikGrid @ref="@DrugListGridRef"
TItem="@Drug"
OnRead="@OnReadHandler"
Sortable="true"
SortMode="@SortMode.Multiple"
EnableLoaderContainer="false"
FilterMode="@GridFilterMode.FilterMenu"
Pageable="true"
PageSize="@PageSize"
Resizable="true">


<GridSettings>
<GridPagerSettings InputType="PagerInputType.Buttons"
PageSizes="@PageSizes"
ButtonCount="7"
Adaptive="true">
</GridPagerSettings>
</GridSettings>

If I downgrade to 3.5.0 everything works as expected.

Thanks,
Ed

 

Joana
Telerik team
 answered on 22 Sep 2022
1 answer
163 views
How can I fix this accessibility issue? 

Hristian Stefanov
Telerik team
 answered on 21 Sep 2022
1 answer
146 views

The filter list item menu defined as follows do not have accessible name.  Please provide work around or fix that I can implement.

                            <TelerikGrid Data="@ViewModel.RouterAndDataLossInformation" TItem="TrafficLossSummary"
                                                        Pageable="true" 
                                                        Sortable="true" 
                                                        Groupable="false"
                                                        FilterMode="Telerik.Blazor.GridFilterMode.FilterRow"
                                                        Resizable="true" 
                                                        Reorderable="true"
                                                        Height = "100%">

Hristian Stefanov
Telerik team
 answered on 21 Sep 2022
2 answers
179 views

I have a TelerikGrid that I set the filter state using the OnStateInit method. This work fine and the menu item shows up blue to indicate that it is in use, but when I choose that column menu and the Filter option an unhandled exception occurs.

I have produced a demo and been able to reproduce the issue, located here - https://blazorrepl.telerik.com/wcYDwFbw26v6wIqr52

I'm guessing that there is some setup missing, but from reading the documentation, I can't seem to find it.

Coops
Top achievements
Rank 1
Iron
 answered on 21 Sep 2022
3 answers
1.4K+ views

Can't find css class for hide this border
Border displayed after click on tab content.

Phuc
Top achievements
Rank 1
Iron
 answered on 21 Sep 2022
1 answer
195 views

Hi.

I want to use the TelerikPanelBar with two different Datasources. For the Header, I have a List "Articles" and for the Content I have an object "ArticleDetails", that will be loaded "lazy" if someone opens the accordion.

I want to use also the HeaderTemplate and ContentTemplate Feature.

The Samples show only PanelBarItem within a list of PanelBarItems, but I need a total different Object in the Content Area. The Idea is to load a list of Articles, and then when a user clicks on a panel the Details of the Article will be loaded and displayed.

Thanks and Regards

Dominik

Dominik
Top achievements
Rank 2
Iron
Iron
 answered on 21 Sep 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?