Telerik Forums
Community Forums Forum
1 answer
91 views
Hello,
 
Is there a control in planning that will make it possible to carry out a technical analysis? Something like the https://www.tradingview.com/chart. I still miss that in the Telerik kit. It would be a great new development for Maui, WPF and ASP.
Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 24 Aug 2023
1 answer
78 views

Hello,

Product: Telerk TestStudio, Version: 2023.1.329.1

Browser: Chrome, Version: 116.0.5845.97 (Official Build) (64-bit)

In automation, I need to navigate from start page to end page to complete the contract creation process which requires entering/selecting info and navigate to next pages by clicking on "Next" button. In this process after clicking on Next button, next page takes more than 30 secs to load (~40-50 secs). And automation fails at that moment with exception. Exception attached.

For instance, there are 3 pages to complete the process. I am selecting few values on the 1st page and clicking on the Next button. It navigates to the 2nd page immediately. But when click Next button on 2nd page, it is taking more than 30 seconds before it goes to 3rd page.

NOTE: I am clicking "Next" button on 2nd page. As soon as I click on Next, it is trying to go to 3rd page. But it takes more than 30 secs on 2nd page before it navigates to 3rd page.

I tried different ways to to solve this problem to wait until the next page is displayed.

1. By updating ClientReadyTimeout to 180000 milliseconds

            int  oldValue = Manager.Settings.ClientReadyTimeout;
            Manager.Settings.ClientReadyTimeout = 180000;
            ActiveBrowser.Window.SetFocus();
            Pages.EntrustPartnerPortal27.ProductConfigSubmitSubmit.ScrollToVisible(ArtOfTest.WebAii.Core.ScrollToVisibleType.ElementTopAtWindowTop);
            Pages.EntrustPartnerPortal27.ProductConfigSubmitSubmit.MouseClick(ArtOfTest.WebAii.Core.MouseClickType.LeftClick, 0, 0, ArtOfTest.Common.OffsetReference.AbsoluteCenter);
            Manager.Settings.ClientReadyTimeout = oldValue;

2. By updating Client Ready Time to 120000 from Test Ribbon. Screen shot attached

Question: How can I resolve the issue so automation wait until next page is displayed after clicking on Next button?

Please provide the solution to overcome this issue.

Regards,

Ashish Thakkar

Plamen Mitrev
Telerik team
 answered on 21 Aug 2023
2 answers
168 views

Hello Team,

We are developing a mobile application using Xamarin forms.

We need to edit the pdf form and show the edited form in Telerik pdf viewer.

we completed the pdf edit functionality and we can able to view edited details on 3rd party apps.

but, we cannot able to view edited details in Telerik pdf viewer control.

Kindly suggest viewing the edited details and editing the pdf form in pdf viewer.

regards,

Manikandan K

 

Didi
Telerik team
 updated answer on 14 Aug 2023
2 answers
100 views

Hi Team,

I am facing a strange issue.

I included all required scripts in _layout.cshtml head section.

 

In child page(Index.cshtml):

If I try to do remote call and assign data to grid, then it return KendoGrid is not a function error in console.

But if I try to create grid using a static data, grid is loading as expected.

 

As per my understanding, here issue is if i make a remote call or ajax call which can take some amount of time to fetch data, then I am facing this error otherwise with some static data, grid is working fine.

 

If anyone knows fix, please help

sandeep
Top achievements
Rank 1
 answered on 13 Aug 2023
0 answers
258 views

I am writing to raise an issue regarding a problem I encountered while upgrading our Sitefinity instance. We recently initiated an upgrade process to the latest version of Sitefinity, and we've encountered an issue related to the AjaxControlToolkit path not being found.

Despite following the standard upgrade procedure and ensuring that all necessary components and dependencies were properly migrated, we consistently encounter a "Could not find a part of the path '...\AjaxControlToolkit.3.0.20820.0'" error when attempting to use the AjaxControlToolkit features. The AjaxControlToolkit Package is present in the package folder but it is unable to locate it.

    • Previous Sitefinity Version: 11.0.6701
    • Target Sitefinity Version: 14.1.7800
    • AjaxControlToolkit Version: 3.0.20820.0
  1. Error Details:

    • Error Message: "Could not find a part of the path'...\AjaxControlToolkit.3.0.20820.0"

This happens when i try to upgrade all the process happens seemlessly only this creates the issue please provide the solution.

And after the fail upgrade it's not even rollbacking the updates. 

1 answer
370 views

Currently I have the below code that works when the "Notes" Column is the last column and is on screen.

If grid overflows and needs a scroll bar the CellLoaded method gets called indefinitely until user scrolls to make the "Notes" Column show on the screen. And needs to stay on screen while scrolling up/down to keep expected functionality.


private void radGridView_CellLoaded(object sender, CellEventArgs e)
{
    GridViewCellBase cellItem = e.Cell;
    // Only run once per row, after all cells are loaded [Notes is last loaded column]
    if (cellItem.Column.UniqueName == "Notes")
    {
        GridViewRowItem rowItem = cellItem.ParentRow;
        if (rowItem.Item != null && rowItem.Item is DataRowView)
        {
            _viewModel.ToggleHighlightingCells_BasedOn_CellSpecificHighlighting_Column(((DataRowView)rowItem.Item).Row, rowItem.Cells);
        }
    }
}

 

I have tried to use RowLoaded (see below), but the styling achieved is not applied correctly

private void radGridView_RowLoaded(object sender, RowLoadedEventArgs e)
{

    if (e.Row is GridViewRowItem rowItem && rowItem.Item is DataRowView dataRowView)
    {
        _viewModel.ToggleHighlightingCells_BasedOn_CellSpecificHighlighting_Column(dataRowView.Row, rowItem.Cells);
    }
}

 

 

Any thoughts of what I can do to make the RowLoaded method work like the CellLoaded?

Is Loaded methods ran first is there a trigger that happens after Load?

I am needing the data in the row to be populated and then the styling applied after, based on the data loaded in the row

Dimitar
Telerik team
 answered on 10 Aug 2023
1 answer
338 views

Hi

 

I am using raddatagridviews in vb.net. I want to check if particular item should  not be enter in raddatagridview.  So far I have done this but not working

  Private Sub ChkDuplicateItem()
        Dim Found As Boolean = False

        For i = 0 To Me.dgvCore.Rows.Count - 1
            If Convert.ToString(Me.dgvCore.Rows(i).Cells(3).Value.ToString.Contains("Core")) = txtItemName.Text.Trim() Then
                Found = True
                Exit For
            End If
        Next

        'Return Found

        If Not Found Then
            Me.fillGrid()
        End If
    End Sub

SrNoItemidItemNameQtyRateAmount
110KDM51050
210KDM1010100
320Core254100
420Core15375
This  Core Item should not repeat again

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Aug 2023
0 answers
240 views
Hello guys. I updated my kendo-grid package version from 4.8.0 to 5.1.0. However, I am facing the following problem:


Does anyone know what can it be? Maybe is a storybook error?
ane
Top achievements
Rank 1
 asked on 08 Aug 2023
1 answer
236 views
Hi,

I need some insights on whether to move to React or stick with jQuery. Currently, we are using Kendo UI with jQuery, and we heavily rely on Kendo grid for its custom functionality in terms of filtering, views, selection, etc. I wonder if the same level of customization can be achieved with React or Vue?

I am asking the above question because our team is comfortable with jQuery, and they will need to learn either React or Vue if we decide to go down that path.
Zornitsa
Telerik team
 answered on 08 Aug 2023
1 answer
235 views

Could someone tell me why the loader control does not hide and stays in the dialog indefinitely? Even after fetching the data and toggling the visibility of the control to false? I noticed that it disappears only after zooming out of the browser?

Here is my simple code:

@page "/fetchdata"
@using Telerik.Blazor;
@using Telerik.Blazor.Components;
@using Telerik.DataSource;
@using Telerik.FontIcons
@using Telerik.SvgIcons;
@using Telerik.DataSource.Extensions;

<TelerikButton OnClick="@OpenDialogRequestHandler">Click me to open dialog</TelerikButton>

<TelerikDialog
    @bind-Visible="@DialogVisibility"
    ShowCloseButton="true"
    CloseOnOverlayClick="true"
    Title="Test"
    Height="300">
    <DialogContent>
        <TelerikLoaderContainer
            OverlayThemeColor="light"
            Visible="@(ApiDataRequestInProgress)"
            Class="initial-data-loader"
            LoaderType="@LoaderType.InfiniteSpinner"
            Size="@(ThemeConstants.Loader.Size.Medium)">
        </TelerikLoaderContainer>
        <TelerikGrid 
            EnableLoaderContainer="false"
            Sortable="true"
            OnRead="@GridReadHandler"
            TItem="TestObject"
            Height="500px" 
            Width="300px" Data="_testData" 
            SelectionMode="GridSelectionMode.Single">
            <GridColumns>
                <GridColumn Field="@nameof(TestObject.Gid)" Visible="false" Width="0" />
                <GridColumn Field="@nameof(TestObject.TestProperty)" Title="Treść" Width="100%" />
            </GridColumns>
        </TelerikGrid>
    </DialogContent>
</TelerikDialog>

@code {
    bool _dataInitiated = false;
    bool _refreshing = false;
    List<TestObject> _testData = new List<TestObject>();

    async Task GridReadHandler(GridReadEventArgs args)
    {
        if (!_dataInitiated)
        {
            // I don't want to download data in the OnInitialized method because if the form contains a
            // lot of such fields, the page loading will slow down terribly. And this data is only needed
            // if the user opens a dialog box (clicks a button). Otherwise there is no point in downloading them.
            await MakeAPIRequestAsync();
            _dataInitiated = true;
        }

        DataSourceResult result = _testData.ToDataSourceResult(args.Request);
        args.Data = result.Data;
        args.Total = result.Total;
        StateHasChanged();
    }

    void OpenDialogRequestHandler()
    {
        DialogVisibility = true;
    }

    async Task MakeAPIRequestAsync(bool pCzyNieUzywacCache = false)
    {
        try
        {
            // Simulate API request
            await Task.Delay(1000);

            _testData.Clear();
            _testData.Add(new TestObject() { TestProperty = "Alice" });
            _testData.Add(new TestObject() { TestProperty = "Has" });
            _testData.Add(new TestObject() { TestProperty = "A" });
            _testData.Add(new TestObject() { TestProperty = "Cat" });
        }
        finally
        {
            ApiDataRequestInProgress = false;
        }
    }

    public bool ApiDataRequestInProgress { get; set; } = true;

    public bool DialogVisibility { get; set; } = false;

    internal class TestObject
    {
        public Guid Gid { get; set; } = Guid.NewGuid();
        public string TestProperty { get; set; } = string.Empty;
    }
}

Nadezhda Tacheva
Telerik team
 answered on 08 Aug 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?