Unplanned
Last Updated: 07 Apr 2020 16:26 by ADMIN

The same is observed with the Thumbnail images in the RadImageGallery, which actually use such BinaryImages.

Reproduction

Note: The attached image should be the only file in a "Images" in the root of the application

protected void Page_Load(object sender, EventArgs e)
{
    var binary = new RadBinaryImage();
    binary.AutoAdjustImageControlSize = false;
    binary.ResizeMode = BinaryImageResizeMode.Crop;

    binary.ID = "BinaryImage";
    binary.Width = Unit.Pixel(100);
    binary.Height = Unit.Pixel(100);

    var path = Directory.EnumerateFiles(Server.MapPath("~/Images")).First();
        
    binary.DataValue = File.ReadAllBytes(path);
    Form.Controls.Add(binary);
}

 

Why this is happening

This seems to be a known issue with some images and their EXIF information regarding the rotation. Detailed information on this matter and a solution could be found in the following forum thread:

Workaround

protected void Page_Load(object sender, EventArgs e)
{
    var binary = new RadBinaryImage();
    binary.ID = "BinaryImage1";
    binary.ResizeMode = BinaryImageResizeMode.Crop;

    binary.Width = Unit.Pixel(100);
    binary.Height = Unit.Pixel(100);

    var path = Directory.EnumerateFiles(Server.MapPath("~/Images")).First();
        
    binary.DataValue = ImagePathToByteArray(path);
    //binary.DataValue = File.ReadAllBytes(path);
    Form.Controls.Add(binary);
}
public byte[] ImagePathToByteArray(string path)
{
    System.Drawing.Image img = Bitmap.FromFile(path);
    if (Array.IndexOf(img.PropertyIdList, 274) > -1)
    {
        var orientation = (int)img.GetPropertyItem(274).Value[0];
        switch (orientation)
        {
            case 1:
                // No rotation required.
                break;
            case 2:
                img.RotateFlip(RotateFlipType.RotateNoneFlipX);
                break;
            case 3:
                img.RotateFlip(RotateFlipType.Rotate180FlipNone);
                break;
            case 4:
                img.RotateFlip(RotateFlipType.Rotate180FlipX);
                break;
            case 5:
                img.RotateFlip(RotateFlipType.Rotate90FlipX);
                break;
            case 6:
                img.RotateFlip(RotateFlipType.Rotate90FlipNone);
                break;
            case 7:
                img.RotateFlip(RotateFlipType.Rotate270FlipX);
                break;
            case 8:
                img.RotateFlip(RotateFlipType.Rotate270FlipNone);
                break;
        }
        // This EXIF data is now invalid and should be removed.
        img.RemovePropertyItem(274);
    }

    return ImageToByte(img);
}

public static byte[] ImageToByte(System.Drawing.Image img)
{
    System.Drawing.ImageConverter converter = new System.Drawing.ImageConverter();
    return (byte[])converter.ConvertTo(img, typeof(byte[]));
}

 

 

Unplanned
Last Updated: 02 Apr 2020 16:32 by ADMIN
Unplanned
Last Updated: 06 Apr 2020 07:42 by ADMIN
Created by: prateek
Comments: 1
Category: Editor
Type: Bug Report
0

Hello Telerik Team,

This is regarding The SpellCheck functionality in the Telerik Editor. Basically whenever a user activates the the SpellCheck from the "abc" button, the page automatically scrolls based on the position of the word. This does not give a good user experience and makes it difficult to work on the page. 

We have seen this issue in the demos you have on your site as well.

URL: https://demos.telerik.com/aspnet-ajax/editor/examples/spellchecker/defaultcs.aspx

To Replicate go to this URL and follow the process below: 

  • Click on the "abc" button at the top left corner of the editor (1 In Image).
  • Notice that the "Suggestion box" scroll the whole page. (2 In Image)
  • Also, if you click on any other word (marked in YELLOW) in the editor, the same issue can be replicated. (3 In Image)

For your reference, we have attached a screenshot of the editor we have in our website.

 

Let us know if you require any further information to debug it.

 

Thank you,

Prateek Sanganeria

Unplanned
Last Updated: 26 Mar 2020 10:03 by ADMIN
The loaded into the ImageEditor image is not downloaded with its original extension if a query string is added to the end of the image name. It is saved as PNG instead:
 
Steps to reproduce:
 
1. Run the code below and open the SaveImage dialog
2. Chose the "Download image" option and click OK
 Result: The image is downloaded as PNG
 
         <telerik:RadImageEditor RenderMode="Lightweight" ID="RadImageEditor1" runat="server"
            ImageUrl="~/images_1/test.jpg?test123" Width="100%" Skin="Silk">
        </telerik:RadImageEditor>   
Unplanned
Last Updated: 16 Mar 2020 07:46 by ADMIN
There are no issues when the user makes changes to the imported Blank XLSX document.
Unplanned
Last Updated: 09 Mar 2020 14:38 by ADMIN
Created by: Van
Comments: 0
Category: FileExplorer
Type: Bug Report
0
The folder pane scrolling position is not persisted when the first child folder is selected.
 
 
Steps to reproduce:
1. Open https://demos.telerik.com/aspnet-ajax/fileexplorer/examples/overview/defaultcs.aspx
2. Add several folders to the last node
3. Scroll down to the bottom and select the first child folder of the last node
 
Result: The tree is scrolled to top.
Unplanned
Last Updated: 06 Mar 2020 13:09 by ADMIN
Created by: Dan
Comments: 0
Category: Editor
Type: Bug Report
1

When opening in MS Edge the Table Wizard, the items in Table Layouts tab, Select Table Style dropdown are not populated

 

WORKAROUND:

As a temporary workaround, you can use the attached script and loaded to the DialogsScriptFile property of the Editor:

<telerik:RadEditor runat="server" DialogsScriptFile="~/dialogscript.js"></telerik:RadEditor>

 

Unplanned
Last Updated: 05 Mar 2020 16:32 by ADMIN
The horizontal scrollbar is not visible in iOS when the grid is empty.

Code to reproduce the problem:
<style>
        html, body, body > form {
            height: 100%;
            padding: 0;
            margin: 0;
        }
    </style>
...
        <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" Width="100%"
            AutoGenerateColumns="true"
            OnNeedDataSource="RadGrid1_NeedDataSource">
            <ClientSettings>
                <Scrolling AllowScroll="true" />
            </ClientSettings>
            <MasterTableView Width="1500px">
            </MasterTableView>
        </telerik:RadGrid>

    protected void RadGrid1_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
    {
        (sender as RadGrid).DataSource = GetData();
    }

    private object GetData()
    {
        DataTable dt = new DataTable();
        dt.Columns.Add("column1");
        dt.Columns.Add("column2");
        dt.Columns.Add("column3");
        dt.Columns.Add("column4");
        dt.Columns.Add("column5");
        dt.Columns.Add("column6");
        dt.Columns.Add("column7");
        dt.Columns.Add("column8");

        //dt.Rows.Add(1, 2, 3, 4, 5, 6, 7, 8);

        return dt;
    }
Unplanned
Last Updated: 04 Mar 2020 12:47 by ADMIN

When items with different values have the same text, a postback is not triggered when selecting another item with the same text as the current selection. The workaround is to place the following script under the ScriptManager:

Telerik.Web.UI.RadMultiColumnComboBox.prototype._shouldPostbackOnChange = function myfunction() {
    return true;
}

Reproduction code:

<telerik:RadMultiColumnComboBox ID="RadMultiColumnComboBox1" DataKeyNames="Additional" runat="server" DropDownWidth="Auto" AutoPostBack="true" >
    <ClientEvents OnSelect="OnSelect" />
    <ColumnsCollection>
        <%--<telerik:MultiColumnComboBoxColumn Field="ID"></telerik:MultiColumnComboBoxColumn>--%>
        <telerik:MultiColumnComboBoxColumn Field="Name"></telerik:MultiColumnComboBoxColumn>
        <telerik:MultiColumnComboBoxColumn Field="Additional"></telerik:MultiColumnComboBoxColumn>
    </ColumnsCollection>
</telerik:RadMultiColumnComboBox>
<script>
    function OnSelect(sender, args) {
        //alert("selection changed");
    }
    // Workaround
    Telerik.Web.UI.RadMultiColumnComboBox.prototype._shouldPostbackOnChange = function myfunction() {
        return true;
    }
</script>

public class MyClass
{
    public int ID { get; set; }
    public string Name { get; set; }
    public string Additional { get; set; }
}
protected void Page_Load(object sender, EventArgs e)
{
    if (!IsPostBack)
    {
        RadMultiColumnComboBox1.DataSource = Enumerable.Range(1, 20).Select(x => new MyClass()
        {
            ID = x,
            Name = "Same Item text" ,
            Additional = "DataKey#" + x
        });
        RadMultiColumnComboBox1.DataTextField = "Name";
        RadMultiColumnComboBox1.DataValueField = "ID";
        RadMultiColumnComboBox1.DataBind();
    }
}

 

 

Unplanned
Last Updated: 28 Feb 2020 14:10 by ADMIN

Replicated when the ClickToOpen is enabled: 

protected void Page_Load(object sender, EventArgs e) { RadGrid1.HeaderContextMenu.ClickToOpen = true; }

WORKAROUND: Loading the following script under the script manager

<script>
    var original = Telerik.Web.UI.GridColumn.prototype._onContextMenuItemClicking;
    Telerik.Web.UI.GridColumn.prototype._onContextMenuItemClicking = function (sender, args) {
        original.call(this, sender, args);
                
        var item = args.get_item();
        var itemValue = item.get_value();
        if (itemValue == "FilterList" || itemValue == "FilterMenuContainer" ||
            itemValue == "AggregatesContainer" || itemValue == "FilterMenuParent" || itemValue == "ColumnsContainer" ||
            (Telerik.Web.UI.RadMenuItem.isInstanceOfType(item.get_parent()) && item.get_parent().get_value() == "ColumnsContainer")) {
            if (sender.get_clickToOpen()) {
                args.get_item().open();
            }
        }
    }
</script>

 

 

 

 

Declined
Last Updated: 05 Mar 2020 15:34 by ADMIN

I am using a component (GoogleMapControl) that inherit IExtenderControl . when i add it in to radajaxmanager updated controls or if i use it in dynamically loaded usercontrol by RadTab & RadMultiPage i am getting error of Unable to cast object of type 'GoogleMaps.Markers.GoogleMarkers' to type 'System.Web.UI.ExtenderControl'.

When i check the error detail by AsyncPostBackError event, i found that error comes from Telerik.Web.UI.ProxyScriptControl.GetChildScriptDescriptorsRecursive(Control parent, ArrayList scriptDescriptors).

Someones lived same problem old but same... As in https://dnntracker.atlassian.net/browse/DNN-25819

Unplanned
Last Updated: 24 Feb 2020 09:42 by ADMIN

We are using CDN and combined scripts as much as possible, and have run into an issue with the RadEditor and applying custom CSS Classes break, e.g. the applied CSS class on the selected content gets stripped for example from 

 

.laystyle

to

.l

In Development
Last Updated: 26 Feb 2020 16:10 by ADMIN
Scheduled for R2 2020

ConvertWordLists errors out when pasting bullets in a nested table inside another table from Word. 

Test with the attached word doc in the https://demos.telerik.com/aspnet-ajax/editor/examples/cleaningwordformatting/defaultcs.aspx demo and you'll get the following error:

RadEditor.js:17416 Uncaught TypeError: Cannot read property 'appendChild' of null
    at b.WordListConverter.insertList (RadEditor.js:17416)
    at b.WordListConverter.convert (RadEditor.js:17570)
    at Object.convertWordLists (RadEditor.js:257)
    at Object.cleanPastedContent (RadEditor.js:146)
    at c.RadEditor._onAfterPaste (RadEditor.js:10229)
    at c.RadEditor.afterPasteDelegate (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_QsfScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3ad28568d3-e53e-4706-928f-3765912b66ca%3aea597d4b%3ab25378d2:6)

 

Unplanned
Last Updated: 17 Feb 2020 15:08 by ADMIN
Endless Loading screen is shown over RadPane when the set_showContentDuringLoad(false) method before changing the contentUrl of a RadPane (which is already showing another external page).
 

Workaround: Set the ShowContentDuringLoad="false" property of the RadPane in the markup initially

 

Code to reproduce the bug:

        <script>
            function loadNewPage() {
                var contentPane = $find("RadPane2");
                contentPane.set_showContentDuringLoad(false);
                contentPane.set_contentUrl("newContentPage.aspx");
            }
        </script>
 
        <telerik:RadSplitter ID="RadSplitter1" runat="server" Width="100%" Orientation="Horizontal" Height="800px">
            <telerik:RadPane ID="RadPanel1" runat="server" Height="30px">
                <asp:Button Font-Italic="true" runat="server" Text="Load New Page" OnClientClick="loadNewPage(); return false;" />
            </telerik:RadPane>
            <telerik:RadPane ID="RadPane2" runat="server" ContentUrl="https://www.wikipedia.com">
            </telerik:RadPane>
        </telerik:RadSplitter>

Unplanned
Last Updated: 08 Apr 2020 14:20 by ADMIN
We have found a problem, which is that the filters do not seem to take the EnableEmbeddedBaseStylesheet settings from the Grid.
Unplanned
Last Updated: 08 Apr 2020 14:52 by ADMIN

Issue #1. When the Grid is not having any records (i.e. when the grid is initialized for the first time), if we define the Detail Item Template than the item template is shown 10-11 times. 

Issue#2: When we have the pagination enabled in the grid and the records are fully filled on the first page and suppose the second page is half-filled with records, then in this scenario On the second page even the records of the first page are hidden but the data item template for those rows are visible which is not correct. Screenshot is attached.

Issue #3: The same scenario is happening when we searched the grid first with 10 records and then we search for 2 records, In this case also 8 records will be removed but there data item templates will still be visible on the grid.

Completed
Last Updated: 12 Feb 2020 11:21 by ADMIN
Release R1 2020 SP1
Created by: david
Comments: 1
Category: MediaPlayer
Type: Bug Report
0
WAVE accessibility evaluation tool reports numerous errors with player button. How can we configure to avoid? Please attached image. 
 

 <telerik:RadMediaPlayer RenderMode="Lightweight" ID="RadMediaPlayer1" Skin="Bootstrap" runat="server" Width="340" BackColor="Black" AutoPlay="true" MimeType="video/mp4" EnableAriaSupport="true"
                        StartVolume="80" Height="200px">
                    </telerik:RadMediaPlayer>
Unplanned
Last Updated: 08 Apr 2020 14:24 by ADMIN

With no filtering applied, the filter menu still highlights the filter-function defined in the CurrentFilterFunction property of the column.

Completed
Last Updated: 19 Feb 2020 12:57 by ADMIN
Release R1 2020 SP1

I issue is replicated consistently with the following simple setup, when the page is scrolled so the grid is on the top and right-clicking the column, to open the menu 

<div style="height: 200px"></div>
<telerik:RadGrid ID="RadGrid2" runat="server" AllowFilteringByColumn="true" EnableHeaderContextMenu="true">
</telerik:RadGrid>

<script runat="server">
    protected void Page_Load(object sender, EventArgs e)
    {
        RadGrid2.DataSource = Enumerable.Range(1, 3).Select(x => new { ID = 1, Desc = "Some text" });
        RadGrid2.DataBind();
    }
</script>
<div style="height: 4000px"></div>

Unplanned
Last Updated: 19 Feb 2020 12:46 by ADMIN

When trying to drag and drop an appointment over the All Day slot, the ghost element is not positioned properly. This is easily observed when the browser is zoomed.

Replicated on the Overview demo

1 2 3 4 5 6