Telerik Forums
Community Forums Forum
1 answer
408 views

How can I get the number of seconds between NOW() and also a date in the database? I am following this article here to get a better idea about the concept of the date difference in SQL but am unable to understand it in a good way can someone here please guide me?

Thanks in advance!

Wissam
Telerik team
 answered on 29 Sep 2022
0 answers
126 views

Using the trial version.

I have a grid in my application that is structured like this.

            <telerikGrid:RadDataGrid x:Name="SearchGrid" 

                                            ItemsSource="{x:Bind ViewModel.Results, Mode=TwoWay }"
                                             AutoGenerateColumns="False"
                                             RowHeight="25"
                                             SelectionMode="Single"
                                             SelectionUnit="Row"
                                             UserGroupMode="Disabled"
                                             ScrollViewer.VerticalScrollBarVisibility="Auto"
                                             ScrollViewer.HorizontalScrollBarVisibility="Auto">
                <telerikGrid:RadDataGrid.Columns>
                    <telerikGrid:DataGridTextColumn PropertyName="_BoClientId" Header="BO Client ID" Width="25"/>
                    <telerikGrid:DataGridTextColumn PropertyName="_BOName" Header="BO Name" Width="80"/>
                </telerikGrid:RadDataGrid.Columns>
            </telerikGrid:RadDataGrid>

When I load the Results ObservableCollection with 1000 or so rows it handles quickly. However, when I do several thousand (in my test about 8200) its very slow and takes several seconds to even select a different row. The demo takes a different approach and binds in this fashion:

ItemsSource="{Binding Data, Source={StaticResource Model}}"

When I try that no data appears at all. I modified the demo to display 24K+ rows and its handles very quickly

What am I doing wrong?

Thanks

Carl

 

 

Carl
Top achievements
Rank 1
 asked on 28 Sep 2022
0 answers
121 views
Migration from less to Sass theme has slowed down the page load. Page load takes 1.5 seconds to load where as while using LESS it took 1/100. Please let me know what is that I am missing.
Sudha
Top achievements
Rank 1
 asked on 28 Sep 2022
1 answer
109 views
Hello Guys,
I need your assistance, which automation tool for desktop applications should I use? I'm working on a project with a desktop application designed in C++.
Ralitsa
Telerik team
 answered on 28 Sep 2022
1 answer
172 views



Want to plot something like this. the graph is plotted based on the the range of time.
Eg. from 9 AM to 9:10 AM some value and based on the status, the color is decided.

I have tried restructuring bullet chart with number range as below

but I want to pass time and date as input instead. May I get some suggestion on this?

like which chart would match this requirement

Vessy
Telerik team
 answered on 27 Sep 2022
2 answers
1.0K+ views

I've been receiving intermittent 500s and other errors when connecting to the Telerik NuGet feed (via an azure service connection) recently and it's been worse today (thus constantly breaking CICD pipelines).

Is the https://www.telerik.com/blogs/azure-devops-and-telerik-nuget-packages still current? specifically the part about "Using a Service connection is our recommend approach."?

Thanks,

Phil

Aleksandar
Telerik team
 answered on 23 Sep 2022
1 answer
134 views

Hi ,

 I will need help on the following Telerik issue . I am currently using Telerik version 2012.3.1016.35 and some of my user will tend to remove the statement with hyperlink to some file. When it is being submitted and I view the html script, the link is still showing although it is not shown on the script. Is there any solution to remove the ahref totally from the html script since is not supposed to be there ?  This is because we have some jobs that will scan through the HTML script and export out those files that are listed in the hyperlink. 

Thank you.

James
Top achievements
Rank 1
 answered on 21 Sep 2022
2 answers
330 views

We have a legacy component that uses OpenAccess and I cannot run or compile the project.  We need to make a small change to the component.
I am not sure what forum to post my question, since this project references an older Telerik product.
I found several web articles referencing a similar error.
Some suggested that OpenAccess_ORM was not installed, but when I run the .msi to install this product, I receive a message that newer version is already installed.
Another suggested that file C:\Program Files (x86)\MSBuild\OpenAccess.targets was not present.  This was the case for me, but adding this file to that location did not solve my issue.

What else can I check?

James
Top achievements
Rank 1
 answered on 21 Sep 2022
1 answer
143 views

I am using a "RadTreeView" control where I have declared an event which handles the formatting of the node and also have NodeExpandedChanged event.

The main purpose of the NodeFormatting event is to control the Expander image

private void tvwDocuments_NodeFormatting(object eventSender, TreeNodeFormattingEventArgs eventArgs) { RadTreeNode Node = eventArgs.Node; //Check if Node is the root node, else check if it has no children, and set expand/collapse state accordingly if (Node.Parent == null) { eventArgs.NodeElement.ExpanderElement.Visibility = Telerik.WinControls.ElementVisibility.Collapsed; //Collapsed hides the element completely, hidden just makes it not visible but maintains spacing for it } else if (Node.Nodes.Count == 0) { //Disable drawing of the sign image, then set its size to 0 so that the lines are drawn underneath. eventArgs.NodeElement.ExpanderElement.SignImage = null; eventArgs.NodeElement.ExpanderElement.SignSize = new Size(0, 0); }

 

In my application I have a tree that looks something like the attached image (Tree Structure.png). From the image it will be evident that all nodes are expanded.

The issue what I am facing is, when all nodes are expanded and when the very first node of the parent is collapsed; all the respective nodes "ExpanderImage" is blank. (please refer attached screenshot (UpdatedTreeStructure.png))

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Sep 2022
1 answer
118 views

Hello I am trying to make the column that gets data from a database have a linkable modal. For privacy reasons full copy of the code isn't available. However I have cropped up this segment in particular since this is the issue I am trying to fix. I can already bind data from the datasource to a column and data displays correctly when I remove the parts to make it "linkable". hence this is why you might notice some of the parts are in comments. Simply put I need to make the column display the data from the database then make it linkable pointing to a view and a controller. Hopefully someone will be able to answer the soonest. Thanks in advance!

                                .Name("MarkOutGrid")
                                .Columns(columns =>
                                {
                                columns.Bound(p => p.MarkOutId)
                                .ClientTemplate("<input name=\"checkedRecords\" type=\"checkbox\" primaryId=\"#=MarkOutId#\" value=\"MarkOutId\" title=\"checkedRecords\" />")
                                .Width(30).Groupable(false).Sortable(false).Filterable(false)
                                .Title(" ");
                                //columns.Bound(p => p.UnitsSoldPerDay).ClientTemplate("<a href='" +
                                //    Server.UrlDecode(Url.Action("AddNewMarkOut", "MarkOut")) + "'>TEST</a >")
                                //    .Width(500).Groupable(false);
                                columns.Bound(p => p.UnitsSoldPerDay).Title("Units Sold Per Day")
                                    .ClientTemplate("<a href='AddNewMarkOut','MarkOut'></a>")
                                    .Width(500).Groupable(false);
                                columns.Bound(p => p.MarkOutGoal).Title("Mark Out Goal (%)").Width(500).Groupable(false);

                                    @*(p => p.ProductID).Template(@< text >
                                    @Html.ActionLink("Show Product Details", "ProductDetails", new { id = @item.ProductID }) >
                                     </ text >); *@
                                    //kendo telerik sample url action code
                                    //columns.Bound(p => p.ProductID).ClientTemplate(
                                    //    "<a href='" +
                                    //        Url.Action("ProductDetails", "Product") +
                                    //        "/#= ProductID #'" +
                                    //    ">Show Product Details</a>"
                                    //);
                                })

Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?