Telerik Forums
Community Forums Forum
0 answers
159 views

Hello! I've looked all over for a solution to my problem but couldn't find it. So, here's my issue:

This is my RadEditor with the options I need enabled. Right now, my browser has its zoom at 100%. When I click to change the color of the text or my back color, it shows up just fine under the icon. Plus, choosing the colors changes the text as it should.

 

 

 

The problem starts whenever I change my zoom. The options break, move to the extreme of the screen, and selecting colors doesn't change my text. It's completely random too; sometimes it'll break at 90%. Sometimes at 125%. It's an issue because my clients prefer not to use 100% in other pages and we don't know how to solve this problem.

 

Please help!

 

Saory
Top achievements
Rank 1
 asked on 15 Dec 2023
1 answer
136 views

As show in the screenshot the output is "1 of 0" in the pagination section of the telerik grid when Data is null or empty meaning no records available. 

 

I tried to make it 0 while its running but couldn't as the input field is allowing value > 0 only, I guess. Is there an easy or quick solution for this?

Or may be I am doing something wrong. below is my code.



@* Set initial page index, and keep it updated with the grid state to prevent it from resetting the grid page index on re-renders *@

<TelerikGrid Data="@MyData" Pageable="true" @bind-PageSize="@PageSize" Height="300px"
             FilterMode="Telerik.Blazor.GridFilterMode.FilterRow" @bind-Page="@PageIndex">
      <GridSettings>
        <GridPagerSettings InputType="PagerInputType.Input"
                           PageSizes="@PageSizes"
                           ButtonCount="10"
                           Adaptive="true"
                           Position="PagerPosition.Bottom">
        </GridPagerSettings>
    </GridSettings>
    <GridColumns>
        <GridColumn Field="ID"></GridColumn>
        <GridColumn Field="TheName" Title="Employee Name"></GridColumn>
    </GridColumns>
</TelerikGrid>

@code {
    protected List<int?> PageSizes { get; set; } = null; //new List<int?> { null, 15, 30, 50 };
    int PageIndex { get; set; } = 0;
    int PageSize { get; set; } = 10;

// I have tried it with Pagechanged event as well instead of 2-way data binding but it didn't worked. 
    async Task PageChangedHandler(int currPage)
    {
        if(MyData == null || !MyData.Any())
            PageIndex = 0;
        else 
            await Task.Run(() => PageIndex = currPage);
        // when using one-way binding for the Page parametr, make sure to update it in the PageChanged event
    }

    public IEnumerable<object> MyData = Enumerable.Empty<object>(); 
        
}

0 answers
131 views

<TelerikGrid Data="@GetRows()" TItem="DataRow" PageSize="5">
    <GridColumns>
        @foreach (DataColumn column in dataTable.Columns)
        {
            <GridColumn Field="@column.ColumnName" Title="@column.ColumnName" />
        }
    </GridColumns>
</TelerikGrid>

@code {
    private DataTable dataTable;

    protected override void OnInitialized()
    {
        dataTable = new DataTable("MyDataTable");
        dataTable.Columns.Add("ID", typeof(int));
        dataTable.Columns.Add("Name", typeof(string));
        dataTable.Rows.Add(1, "John");
        dataTable.Rows.Add(2, "Jane");
    }

    private IEnumerable<DataRow> GetRows()
    {
        return dataTable.Rows.Cast<DataRow>();
    }
}   

 

this code not working .Is there any other ways?

Nikilesh
Top achievements
Rank 1
 asked on 02 Dec 2023
1 answer
453 views

Hi,

I'm new to Telerik Web Reporting Designer (I finished implementing it today in my .NET Core project with Blazor) and realized I don't really know how to add a SQLite connection to it. The database is located in the .NET Core project folder but still doesn't work because apparently I'm missing an assembly called "System.Data.SQLite". To be honest I'm pretty lost so would appreciate a lot any kind of help. Also, I'm using Entity Framework Core.

I took one screenshot that might help you understand what's wrong:

 

https://gyazo.com/71df7aee22e405cdcdb96f0fb8adc549

 

Thanks a lot in advance.


UDPDATE: FIXED, I finally undertood the problem
Todor
Telerik team
 updated answer on 30 Nov 2023
0 answers
99 views
Hi everyone! I'm trying to replicate the slide animation from jQuery UI's hide function in plain jQuery. I want the flexibility to slide a div in any direction, regardless of its positioning or CSS. Using $('#somediv').animate({ width: 'hide' }) gives odd overflow issues and limits the hide/show directions. How does jQuery UI achieve this magic, and is there a way to do it in plain jQuery?
Jaswitha12
Top achievements
Rank 1
 asked on 30 Nov 2023
0 answers
141 views

Hello,

I'm not able to delete my account (the one with the customer ID FF8913644) myself.

I would like to have it deleted.

Cheers _

Missing User
 asked on 01 Nov 2023
1 answer
120 views

2023 R3 UI for ASP.NET AJAX has been out for a few weeks, but I can't find the documentation anywhere.

The old docs don't seem to be updates, and links all 404.

Am I doing something wrong?

Rumen
Telerik team
 answered on 24 Oct 2023
1 answer
170 views

I want to dynamically display template.  I have one report template, but I want to able to change dynamically what should display in the template. If it is 10 columns table or 20 columns table without having to regenerate the report template.  Is there a way to programmatically control the report template content.

Todor
Telerik team
 answered on 18 Oct 2023
1 answer
136 views

Hello,

We are building an iOS application in which we are using Telerik's Xamcontrols. On a page we have used a RadDatagrid control, to it a observersable collection/list is binded. When the page is launched the data in the list is displayed properly on the RadDatagrid. We have a functionality such that user can delete the records from the list. On deleting the records are removed from the Observable collection, also the collection shows correct data. However on the Rad Data grid, the updated collection list is not showing, it shows the blank list.  Is there any method to refresh or rebind the collection to the grid?

steve
Top achievements
Rank 1
 answered on 06 Oct 2023
0 answers
157 views

we are integration ARCGIS SDK  with KENdo UI latest version, both components working without having any issues, when i intergate it is thoring below error ,  please help me here.

 

Cannot destructure property 'spans' of 's' as it is null.
TypeError: Cannot destructure property 'spans' of 's' as it is null.
    at o.update (http://localhost:3000/static/js/vendors-node_modules_arcgis_core_renderers_support_heatmapUtils_js-node_modules_arcgis_core_v-6c8ef0.chunk.js:1990:16)
    at p.update (http://localhost:3000/static/js/vendors-node_modules_arcgis_core_renderers_support_heatmapUtils_js-node_modules_arcgis_core_v-6c8ef0.chunk.js:3531:432)
    at p.processUpdate (http://localhost:3000/static/js/vendors-node_modules_arcgis_core_views_2d_layers_LayerView2D_js-node_modules_arcgis_core_view-212c73.chunk.js:120:163)
    at a._updateLayerView (http://localhost:3000/static/js/bundle.js:81319:220)
    at Array.forEach (<anonymous>)
    at p.forEach (http://localhost:3000/static/js/bundle.js:50584:119)
    at c.update (http://localhost:3000/static/js/bundle.js:81288:9)
    at http://localhost:3000/static/js/bundle.js:57103:229
    at l.forAll (http://localhost:3000/static/js/bundle.js:52085:35)
    at Object.D [as executeFrameTasks] (http://localhost:3000/static/js/bundle.js:57100:7)
ERROR
Cannot destructure property 'spans' of 's' as it is null.
TypeError: Cannot destructure property 'spans' of 's' as it is null.
    at o.update (http://localhost:3000/static/js/vendors-node_modules_arcgis_core_renderers_support_heatmapUtils_js-node_modules_arcgis_core_v-6c8ef0.chunk.js:1990:16)
    at p.update (http://localhost:3000/static/js/vendors-node_modules_arcgis_core_renderers_support_heatmapUtils_js-node_modules_arcgis_core_v-6c8ef0.chunk.js:3531:432)
    at p.processUpdate (http://localhost:3000/static/js/vendors-node_modules_arcgis_core_views_2d_layers_LayerView2D_js-node_modules_arcgis_core_view-212c73.chunk.js:120:163)
    at a._updateLayerView (http://localhost:3000/static/js/bundle.js:81319:220)
    at Array.forEach (<anonymous>)
    at p.forEach (http://localhost:3000/static/js/bundle.js:50584:119)
    at c.update (http://localhost:3000/static/js/bundle.js:81288:9)
    at http://localhost:3000/static/js/bundle.js:57103:229
    at l.forAll (http://localhost:3000/static/js/bundle.js:52085:35)
    at Object.D [as executeFrameTasks] (http://localhost:3000/static/js/bundle.js:57100:7)
ERROR
Cannot destructure property 'spans' of 's' as it is null.
TypeError: Cannot destructure property 'spans' of 's' as it is null.
    at o.update (http://localhost:3000/static/js/vendors-node_modules_arcgis_core_renderers_support_heatmapUtils_js-node_modules_arcgis_core_v-6c8ef0.chunk.js:1990:16)
    at p.update (http://localhost:3000/static/js/vendors-node_modules_arcgis_core_renderers_support_heatmapUtils_js-node_modules_arcgis_core_v-6c8ef0.chunk.js:3531:432)
    at p.processUpdate (http://localhost:3000/static/js/vendors-node_modules_arcgis_core_views_2d_layers_LayerView2D_js-node_modules_arcgis_core_view-212c73.chunk.js:120:163)
    at a._updateLayerView (http://localhost:3000/static/js/bundle.js:81319:220)
    at Array.forEach (<anonymous>)
    at p.forEach (http://localhost:3000/static/js/bundle.js:50584:119)
    at c.update (http://localhost:3000/static/js/bundle.js:81288:9)
    at http://localhost:3000/static/js/bundle.js:57103:229
    at l.forAll (http://localhost:3000/static/js/bundle.js:52085:35)
    at Object.D [as executeFrameTasks] (http://localhost:3000/static/js/bundle.js:57100:7)

 

 

 

Dastagiri
Top achievements
Rank 1
 asked on 14 Sep 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?