Quantcast
Channel: Telerik Forums RSS
Viewing all 67686 articles
Browse latest View live

RadDataGrid 'StackOverflowException' When Binding to Custom Class

$
0
0

I have gone down the 'Custom Typed Column' route and I really like this. Now because I am using PropertyName the fields are not bound so if a property does update the column will not update. Is there a way to tell a column, row or cell to 'Refresh' in code?

Thanks Nasko


Deprecation of document.registerElement

$
0
0

Hi Alex,

I am getting the warning on kendo.all.js and the custom download generates kendo.custom.min.js

 

kendo.all.js:119632 [Deprecation] document.registerElement is deprecated and will be removed in M73, around March 2019. Please use window.customElements.define instead. See https://www.chromestatus.com/features/4642138092470272 for more details.
l @ kendo.all.js:119632

 

How do I get this file from custom download

 

Regards

Irtaza


Listview Icon View Problem

$
0
0
Hello Mark,

You can add the following setting to the SynchronizeProperties method:
this.GradientStyle = GradientStyles.Solid;

I hope this helps. Should you have any other questions do not hesitate to ask.
 
Regards,
Dimitar
Progress Telerik
Get quickly onboard and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.

Telerik on Mono

$
0
0
Hi Jefferson,

In the last years there isn't huge demand for integration with Mono, and so we dropped the initiative and the Mono support. It seems that the Mono project may have been renewed, yet we do not support it anymore. Perhaps some (or even all) things will work, but we have not tested that and we cannot guarantee compatibility.

If you are looking into hosting a web app under Linux, I can suggest you take a look at .NET Core and its Linux support. We also offer ASP.NET Core components, so you may find that useful as well.

Best regards,
Rumen
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.

Restore selected/expanded row under column grouping

$
0
0
Hello, Kun, 

I have tested the sample project from the referred feedback item. Note that RadGridView exposes two collections that contain data rows:

- Rows - contains all data rows that belong to RadGridView. Data operations such as grouping, sorting, filtering, etc. do not change the content of the collection or the order in which the row objects exist in the collection.
- ChildRows - returns the data rows that are currently represented by RadGridView in the order in which they appear. The collection is modified every time a data operation (grouping, sorting, filtering) occurs.

The Index property of the row uses internally the ChildRows collection of the respective parent to give you index. When you group the grid, a new level will be created for the groups and the index will be different since the ChildRows collection will be changed.

The possible solution that I can suggest is to store the GridViewRowInfo instance itself, not the index. Thus, once you store the expanded row objects, you can traverse the rows recursively and check whether the current row is already stored in the expanded collection and this restore the expanded state. Thus, you will not be worried about the grouping, filtering or sorting index changes that may occur.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.

Exporting more columns than displayed

$
0
0
Currently I display a grid that has X columns. I export it to Excel and it also exports X columns. How do I export Y columns and still only display X columns? Or export different columns than displayed? This would be for a "normal" grid and one that is grouped.

Complete Custom Filtering Example

$
0
0
Thank you for this.  I will take a look at the links.

Complete Custom Filtering Example

$
0
0
I just realized that that is a JavaScript approach.  I am using .NET Core MVC.  Are there any links showing an example of that?

Select a slot by right click

$
0
0
Hello Jason,

Could you confirm if the issue that you are facing is with initializing a ContextMenu over the Scheduler content as the initial post described? If this is the case, I would suggest referring to the following HowTo example that demonstrates a similar scenario:


Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.

How to hide toolbar, formula bar and worksheet tabstrip

$
0
0
this way I could use and hide;

<telerik:RadSpreadsheet runat="server" ID="ExcelImportPreviewSpreadsheet" ColumnWidth="64" Skin="Metro" Width="100%">
                            <Toolbar>
                                <telerik:SpreadsheetToolbarTab>
                                    <telerik:SpreadsheetToolbarGroup>
                                        <telerik:SpreadsheetTool Visible ="false" />
                                    </telerik:SpreadsheetToolbarGroup>
                                </telerik:SpreadsheetToolbarTab>
                            </Toolbar>
</telerik:RadSpreadsheet>

Stacked Columns - Y-axis grows logarithmically with each new series

$
0
0
Hi Dan,

The following sentence from your ticket on the same topic:

"Still having this issue with my data (not the generic data though)"

makes us think that something breaks the serialization. 

This is probably due to some special characters in the field names - as the special symbols in the series names we found in the other ticket.

Since you are using Linq, what you can do is call .Take (n) as a debugging technique. The Take method, returns a specified number of contiguous elements from the start of a sequence and so you'll begin to take only the first "n" lines and this will show on which row starts the problem. 

If that does not help, the other most likely reason for the problem could be the names of the fields. Make sure that all of them start with a letter (not a number or special character) and that there aren't dashes in them.

Best regards,
Rumen
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.

Listview Icon View Problem

Virtual Scrolling Grid re-positioned after datasource read

$
0
0
Hello, Mikhail,

Thank you for the provided example. 

Unfortunately, this is a limitation of the Kendo UI virtually scrollable grid and it is outlined in the documentation:

https://docs.telerik.com/kendo-ui/controls/data-management/grid/scrolling/virtual-scrolling#known-limitations

If you want to refresh the entire data in the grid, the suggestion is to move the scroll to the top. This is outlined in the known limitations above.

Alternatively, it might be better to implement serverPaging which forces the grid to make a read request during scrolling, without causing it to jump. 

https://demos.telerik.com/kendo-ui/grid/virtualization-remote-data

Let me know in case you have further questions.

Kind Regards,
Alex Hajigeorgieva
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.

Error when editing the properties of the type size

$
0
0
Hello, Valery, 

I have followed the provided information and setup a sample project to test the specific scenario. Indeed, when you edit the Size property and leave only the width part, an error will occur. Note that the Size property expects (width,height) format. Otherwise, the entered input wouldn't be able to parse to a valid Size. 

The possible solution that I can suggest is either to handle the PropertyValidating event and ensure that the newly entered value is valid and can be parsed to a valid Size or disable entering edit mode for the Size property itself bu edit only the width and height parts of the size. For this case it is necessary to cancel the Editing event. You can find below a sample code snippet: 

private void radPropertyGrid1_Editing(object sender, Telerik.WinControls.UI.PropertyGridItemEditingEventArgs e)
{
    if (e.Item.Label == "PicSize")
    {
        e.Cancel = true;
    }
}

Feel free to use this approach which suits your requirement best.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.

Replace Empty Cells With Zeros

$
0
0
Hi Zack,

You can try the Group Filtering feature and see if it helps.

Regards,
Martin Ivanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.

Treeview Context Menu sub-menu alignment

$
0
0

Hi Ivan,

All my problems were solved. For the js errors, I found out that the cause is our really old version of jquery. When I used the latest jQuery version, kendo 2019.1.220 works on my end.

 

Thanks a lot for your help.

 

Ollie dG.

Help implementing ExportToDOCX in toolbar

$
0
0

I'm trying to figure out how to make a custom button in the toolbar that will allow users to export the content.  I have a custom button that does reach the code behind, but since it is tied to "fireAjaxRequest" I suspect that it isn't working since the export requires a full postback.  Is there any way to implement an export button in the menu, or does it have to be a button external to the menu (asp button with ID "ExportDOCX2" in the snippet below)?

 

I suppose I could hide the asp button, and have the custom menubutton click that using javascript, but I'm hoping for something more elegant.

 

NOTE: Not sure if this changes anything, but the page containing the AJAX editor is being rendered inside of an IFrame so it can be integrated with our existing MVC application. The MVC version of the editor does not currently have all of the same functionality as the AJAX version (which is required for our situation), so we took this approach.

 

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="StandardEditor.aspx.cs" Inherits="FIS.Presentation.EWAPPM.DocumentScreens.DocEditor" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 
    <scripttype="text/javascript">
        function OnClientLoad(editor, args)
        {
            editor.fire("ToggleScreenMode");
        }
 
    </script>
 
    <headrunat="server">
        <linkhref="../Content/Telerik/styles.css"rel="stylesheet"type="text/css"/>
        <linkhref="./Telerik/styles.css"rel="stylesheet"/>
        <title></title>
    </head>
  
    <body>
        <formid="form1"runat="server"><asp:ButtonText="Export to DOCX"runat="server"ID="ExportDOCX2"OnClick="ExportDocx_Click"/>
            <telerik:RadScriptManagerrunat="server"ID="RadScriptManager1"/>
            <telerik:RadSkinManagerID="RadSkinManager1"runat="server"ShowChooser="false"/>
            <divclass="demo-containers">
                <divclass="demo-container">
                    <telerik:RadEditorRenderMode="Lightweight"Skin="MetroTouch"ID="theEditor"EnableTrackChanges="true"EnableComments="true"runat="server"Width="100%"ToolsFile="./EditorTools/StandardEditorTools.xml"EnableResize="False"ContentAreaMode="Div"DialogHandlerUrl="~/Telerik.Web.UI.DialogHandler.axd"ToolbarMode="RibbonBar"OnClientLoad="OnClientLoad"ContentFilters="DefaultFilters,PdfExportFilter">
                        <TrackChangesSettingsCanAcceptTrackChanges="true"UserCssId="reU0"></TrackChangesSettings>                       
                         
                        <ExportSettingsOpenInNewWindow="false"FileName="EWAPPM_DOC">
                            <DocxDefaultFontName="Arial"DefaultFontSizeInPoints="12"HeaderFontSizeInPoints="8"PageHeader="Some header text for DOCX documents"/>
                            <PdfPageTitle="Some page title for PDF documents"/>
                        </ExportSettings>
 
                        <ImageManagerEnableAsyncUpload="true">
                        </ImageManager>
 
                        <Content>
                        </Content>
 
                        <Modules>
                            <telerik:EditorModuleName="RadEditorHtmlInspector"Enabled="false"/>
                            <telerik:EditorModuleName="RadEditorNodeInspector"Enabled="false"/>
                            <telerik:EditorModuleName="RadEditorDomInspector"Enabled="false"/>
                            <telerik:EditorModuleName="RadEditorStatistics"Enabled="false"/>
                        </Modules>
 
                    </telerik:RadEditor>
                    <scripttype="text/javascript">
                        Telerik.Web.UI.Editor.CommandList["ExportPDF"] = function (commandName, editor, oTool)
                        {
                            fireAjaxRequest("ExportPDF");
                        }
 
                        Telerik.Web.UI.Editor.CommandList["ExportDOCX"] = function (commandName, editor, oTool)
                        {
                            fireAjaxRequest("ExportDOCX");
                        }
 
                        Telerik.Web.UI.Editor.CommandList["Save"] = function (commandName, editor, oTool)
                        {
                            fireAjaxRequest("Save");
                        }
 
                        Telerik.Web.UI.Editor.CommandList["Submit"] = function (commandName, editor, oTool)
                        {
                            fireAjaxRequest("Submit");
                        }
                    </script>
                </div>
            </div>
            <telerik:RadAjaxManagerrunat="server"ID="RadAjaxManager1"OnAjaxRequest="RadAjaxManager1_AjaxRequest">
                <AjaxSettings>
                    <telerik:AjaxSettingAjaxControlID="ConfiguratorPanel1">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControlControlID="theEditor"LoadingPanelID="RadAjaxLoadingPanel1"/>
                            <telerik:AjaxUpdatedControlControlID="ConfiguratorPanel1"/>
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManager>
            <telerik:RadScriptBlockID="RadScriptBlock1"runat="server">
                <scripttype="text/javascript">   
                    function fireAjaxRequest(operation)   
                    {      
                        var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");      
                        ajaxManager.ajaxRequest(operation);   
                    }   
                </script>
            </telerik:RadScriptBlock>
            <telerik:RadAjaxLoadingPanelrunat="server"ID="RadAjaxLoadingPanel1"Visible="False">
            </telerik:RadAjaxLoadingPanel>
        </form>
    </body>
</html>

How do I get the value of an Editor with HTML markup?

Critical problem with RadTouchExtender on mobiles

$
0
0

Hello,

 understand, I'll fix styling for small screen devices to be truly responsive.

But could you please tell me what exactly is wrong? Different sizing should not prevent me focusing element, or not? Is there something hardcoded in RadTouchExtender?

Best Regards

René

 

Size of Diagram for AutoLayout

Viewing all 67686 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>