Unplanned
Last Updated: 03 Jun 2020 10:25 by ADMIN

 

 

 

<telerik:RadGrid ID="RGTimesheet" runat="server" OnNeedDataSource="RGTimesheet_NeedDataSource" RenderMode="Mobile"
    AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowAutomaticDeletes="True"
    Skin="MetroTouch"
    Width="100%" AllowSorting="True" GroupPanelPosition="Top">
    <ClientSettings>
        <Scrolling AllowScroll="True" UseStaticHeaders="True"></Scrolling>
    </ClientSettings>
    <MasterTableView AutoGenerateColumns="False" CommandItemDisplay="Bottom" DataKeyNames="OrderID" ShowFooter="True">
        <Columns>
            <telerik:GridEditCommandColumn ButtonType="FontIconButton">
            </telerik:GridEditCommandColumn>
            <telerik:GridClientDeleteColumn ButtonType="FontIconButton">
            </telerik:GridClientDeleteColumn>

            <telerik:GridDateTimeColumn DataField="Start" DataType="System.TimeSpan" EditDataFormatString="hh:mm:ss tt" HeaderText="Start" SortExpression="Start" UniqueName="Start" PickerType="TimePicker">
            </telerik:GridDateTimeColumn>
            <telerik:GridDateTimeColumn DataField="Finish" DataType="System.TimeSpan" HeaderText="Finish" SortExpression="Finish" UniqueName="Finish" PickerType="TimePicker">
            </telerik:GridDateTimeColumn>

        </Columns>
        <EditFormSettings>
            <EditColumn UniqueName="EditCommandColumn1" ButtonType="PushButton">
            </EditColumn>
        </EditFormSettings>
    </MasterTableView>
</telerik:RadGrid>

 

 

private DataTable OrdersTable()
{
    DataTable dt = new DataTable();

    dt.Columns.Add(new DataColumn("OrderID", typeof(int)));
    dt.Columns.Add(new DataColumn("Start", typeof(TimeSpan)));
    dt.Columns.Add(new DataColumn("Finish", typeof(TimeSpan)));

    dt.PrimaryKey = new DataColumn[] { dt.Columns["OrderID"] };

    for (int i = 0; i < 70; i++)
    {
        int index = i + 1;

        DataRow row = dt.NewRow();

        int hours = DateTime.Now.Hour;
        int minutes = DateTime.Now.Minute;
        int seconds = DateTime.Now.Second;

        row["OrderID"] = index;
        row["Start"] = new TimeSpan(hours, minutes, seconds);
        row["Finish"] = new TimeSpan(hours+index, minutes, seconds);

        dt.Rows.Add(row);
    }

    return dt;
}


protected void RGTimesheet_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
{
    RGTimesheet.DataSource = OrdersTable();
}

Unplanned
Last Updated: 29 May 2020 16:00 by ADMIN
Simple reproducible is attached to illustrate the problem.

A workaround may be replacing RadButtons that invokes such postbacks with regular buttons and using a form decorator

Alternatively, you can simply disable the handler URL encryption

You can also put the following in the global.asax file to prevent the version from rendering on the page markup
        protected void Application_BeginRequest(object sender, EventArgs e)
        {
			System.Web.HttpContext.Current.Items["_!TelerikVersionStampRendered"] = true;
        }
or you can add the same line in a global Page_Load handler (e.g., in a base page class or in the master page your project uses)
Unplanned
Last Updated: 29 May 2020 15:58 by ADMIN
ADMIN
Created by: Peter Milchev
Comments: 0
Category: Grid
Type: Bug Report
0
If AllowPaging, AllowScroll and UseStaticHeaders are set to true, then there will be 2 empty <th> elements

workaround: 
    <ClientSettings>
...
        <ClientEvents OnGridCreated="OnGridCreated" />
    </ClientSettings>

<script>
    function OnGridCreated(sender, args) {
        var emptyth = $telerik.$(sender.get_element())
            .find("th").filter(function (ind, item) { return item.textContent == "" });
        // alert(emptyth.length)
        emptyth.append("<span style='display:none'>Hidden empty table header</span>")
    }
</script>
Unplanned
Last Updated: 29 May 2020 15:53 by ADMIN
ADMIN
Created by: Attila Antal
Comments: 0
Category: UI for ASP.NET AJAX
Type: Bug Report
1
Images that reside in the grid will get resized (scaled down with about 3-5 %) which might cause issues, specially if exporting bar-codes, thus the bar-code scanners won't be able to read them.

Current workaround is to use the Telerik Documents Processing Library  and build the table manually where the images are inserted without changing the size.

Here is an example:

        protected void RadGrid1_InfrastructureExporting(object sender, GridInfrastructureExportingEventArgs e)
        {
            Telerik.Web.UI.ExportInfrastructure.Table table = e.ExportStructure.Tables[0];

            Workbook workbook = new Workbook();
            workbook.Worksheets.Add();

            Worksheet worksheet = workbook.ActiveWorksheet;


            foreach (var row in table.Rows)
            {
                if (row.Index > 1)
                {
                    worksheet.Rows[row.Index - 1].SetHeight(new RowHeight(55, true));
                }

                foreach (var cell in row.Cells)
                {
                    if (row.Index == 1 || cell.ColIndex != 2)
                    {
                        worksheet.Cells[cell.Index.Y - 1, cell.Index.X - 1].SetValue(cell.Value.ToString());
                    }
                    else
                    {
                        FloatingImage image = new FloatingImage(worksheet, new CellIndex(cell.Index.Y - 1, cell.Index.X - 1), 0, 0);
                        Stream stream = File.Open(Server.MapPath(cell.Value.ToString()), FileMode.Open);
                        using (stream)
                        {
                            image.ImageSource = new Telerik.Windows.Documents.Media.ImageSource(stream, "jpg");
                        }
                        worksheet.Shapes.Add(image);
                    }
                }
            }

            byte[] data;

            using (MemoryStream ms = new MemoryStream())
            {
                XlsxFormatProvider xlsProvider = new XlsxFormatProvider();
                xlsProvider.Export(workbook, ms);
                data = ms.ToArray();
            }

            Response.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
            Response.Headers.Remove("Content-Disposition");
            Response.AppendHeader("Content-Disposition", "attachment; filename=" + RadGridLista.ExportSettings.FileName + ".xlsx");
            Response.BinaryWrite(data);
            Response.End();
        }
Unplanned
Last Updated: 29 May 2020 15:31 by ADMIN
ADMIN
Created by: Peter Milchev
Comments: 0
Category: Calendar
Type: Bug Report
0
Workaround 1) Use .resx files as the attached ones 

Workaround 2) Set properties to ViewState
        RadMonthYearPicker1.MonthYearNavigationSettings.ViewState["_mCancelButtonCaption"] = "my cancel";
        RadMonthYearPicker1.MonthYearNavigationSettings.ViewState["_mTodayButtonCaption"] = "my today";
        RadMonthYearPicker1.MonthYearNavigationSettings.ViewState["_mOkButtonCaption"] = "my ok";
Unplanned
Last Updated: 26 May 2020 13:00 by ADMIN
Created by: Fernando
Comments: 0
Category: PivotGrid
Type: Bug Report
0

The appearance problem can be seen on http://demos.telerik.com/aspnet-ajax/pivotgrid/examples/firstlook/defaultcs.aspx.

Click on the filter icon for Product name, you will find that the save and cancel buttons are off-screen. And if you hover over Label Filters or Value Filters the window is not wide enough to fit the popout menus that show:

Unplanned
Last Updated: 25 May 2020 14:45 by ADMIN

 

<telerik:RadDropDownTree RenderMode="Lightweight" ID="RadDropDownTree3" runat="server" Width="300px" DefaultMessage="Please select"
            DataFieldID="EmployeeID" DataFieldParentID="ReportsTo" DataTextField="LastName"
            DataSourceID="SqlDataSource1">
        </telerik:RadDropDownTree>
      
        <asp:SqlDataSource runat="server" OnSelecting="SqlDataSource1_Selecting" ID="SqlDataSource1" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
            SelectCommand="SELECT * From Employees"></asp:SqlDataSource>
protected void SqlDataSource1_Selecting(object sender, SqlDataSourceSelectingEventArgs e)
{
    Label1.Text += "<br /> Sql request at:" + DateTime.Now.ToLongTimeString();
}

 

Unplanned
Last Updated: 25 May 2020 09:35 by ADMIN
Created by: Frank
Comments: 0
Category: ColorPicker
Type: Bug Report
1

There are missing keys in the resx files and the resource files are not applied correctly. More info here: 

Planned
Last Updated: 22 May 2020 12:16 by ADMIN
Scheduled for R2 2020 SP1

Workaround:

Placing the script below under the ScriptManager of the page:

kendo.ui.Chat.fn._resetToolbarButtons = function (j) {
    var k = this.wrapper.find(".k-toolbar-box");
    if (!k.is(":visible")) {
        k.show();
    }
    if (j.toolbar != false && "buttons" in j.toolbar) {
        this.options.toolbar.buttons = j.toolbar.buttons;
    }
}

Reproduction:

<telerik:RadChat runat="server" ID="RadChat1" Height="400px">
    <ClientEvents OnLoad="OnLoad"  />
</telerik:RadChat>
<script>
    function OnLoad(sender, args) {    
        sender.set_user({});
    }
</script>

Planned
Last Updated: 22 May 2020 11:09 by ADMIN
Scheduled for R2 2020 SP1

Reproduction code:

protected void Page_Load(object sender, EventArgs e)
{
    RadToolBarDropDown dropDown = new RadToolBarDropDown("PageSize");
       
    dropDown.CssClass = "perPageDropDown";
    dropDown.EnableImageSprite = false;
    // dropDown.Text = GetGlobalResourceObject("Insight", "Per pagina")
    // dropDown.ToolTip = GetGlobalResourceObject("Insight", "Per pagina")
    FileExplorer1.ToolBar.Items.Add(dropDown);
}

<telerik:RadFileExplorer RenderMode="Lightweight" runat="server" ID="FileExplorer1" Width="595px" Height="350px"
    AllowPaging="true" PageSize="10">
    <Configuration EnableAsyncUpload="true" ViewPaths="~/"
        UploadPaths="~/" DeletePaths="~/"></Configuration>
</telerik:RadFileExplorer>

Completed
Last Updated: 21 May 2020 13:19 by ADMIN
Release R2 2020
Completed
Last Updated: 21 May 2020 09:41 by ADMIN
Release R2 2020 SP1

When the RenderMode property is set to Lightweight, File manager dialogs still load with Classic render mode, even when the <add key="Telerik.Web.UI.RenderMode" value="Lightweight" /> is set globally in the web.config:

 

<telerik:radeditor RenderMode="Lightweight" runat="server" id="mainRadEditor" EditModes="Design" >
    <Tools>
        <telerik:EditorToolGroup>
            <telerik:EditorTool Name="ImageManager"/>
            <telerik:EditorTool Name="DocumentManager"/>
        </telerik:EditorToolGroup>
    </Tools>
</telerik:radeditor>

 

This is causing rendering problems and some of the icons do not load.


Unplanned
Last Updated: 14 May 2020 08:48 by ADMIN

Reproduction:

<telerik:RadMediaPlayer RenderMode="Lightweight" ID="RadMediaPlayer1" runat="server" AutoPlay="true"
Height="360px" Width="640px">
    <PlaylistSettings YouTubePlaylist="PL28149B23F489D223" Mode="Buttons" ButtonsTrigger="MouseDown" />
</telerik:RadMediaPlayer>

Planned
Last Updated: 13 May 2020 13:45 by ADMIN
Scheduled for R2 2020 SP1
Unplanned
Last Updated: 12 May 2020 12:28 by ADMIN

Scenario: RadButton within RadPageView part of RadMultiPageView integrated with RadTabStrip for switching PageViews.

When switching tabs, additional padding is applied to the text in RadButton. After a postback is made, padding is not applied anymore.

 

 

Planned
Last Updated: 11 May 2020 12:57 by ADMIN
When using RadAjaxManager or RadAjaxPanel in SharePoint 2019 for the purpose to enable ajax for Controls, a partial PostBack will cause the page become Blank. A test was conducted using the generic ASP UpdatePanel which worked as expected.
Unplanned
Last Updated: 08 May 2020 17:48 by ADMIN
Steps to reproduce the error.

Create a ClientDeleteColumn with CommandName="Delete" and wire up the onCommand client-event to RadGrid.

<telerik:RadGrid ID="RadGrid1" runat="server">
    <MasterTableView>
        <Columns>
            <telerik:GridClientDeleteColumn CommandName="Delete" ButtonType="LinkButton"></telerik:GridClientDeleteColumn>
        </Columns>
    </MasterTableView>
    <ClientSettings>
        <ClientEvents OnCommand="OnCommand" />
    </ClientSettings>
</telerik:RadGrid>

The event handler does not need to do anything.

function OnCommand(sender, args) {
}
Unplanned
Last Updated: 08 May 2020 17:43 by ADMIN
 

Using an ampersand character in RadBarcode's Text leads to a server-side error. Replacing the symbol with its corresponding HTML entity allows the control to render its text successfully, but the generated image corresponds to the passed entity character.

If RadBarcode1.Text="&amp;" the control generates this (read as "&amp;"):
https://www.screencast.com/t/NuOVjB8EY

while it should be this (read as "&"):
https://www.screencast.com/t/vOhWkUoW

Workaround:

When we generate the image by keeping ShowText = True, then it throws the exception.

When we generate the image by keeping ShowText = false, then it successfully generates the image.

Steps to reproduce:Run the following setup:

ASPX:
        <telerik:RadBarcode ID="RadBarcode1" runat="server" RenderChecksum="false"></telerik:RadBarcode>
CS:
    protected void Page_Load(object sender, EventArgs e)
    {
        RadBarcode1.OutputType = Telerik.Web.UI.BarcodeOutputType.SVG_VML;
        RadBarcode1.Type = Telerik.Web.UI.BarcodeType.Code128;
        RadBarcode1.Text = "string&string"; //leads to server-side error
        //RadBarcode1.Text = "string&amp;string"; //leads to wrongly generated barcode

        RadBarcode1.LineWidth = 0;
        RadBarcode1.ShowText = true;
        RadBarcode1.ShowChecksum = false;
        RadBarcode1.GetImage();
    }

Unplanned
Last Updated: 08 May 2020 17:24 by ADMIN
When the RenderMode of RadGrid is set to Mobile and UniqueName is different from the DataField then trying to Ungroup an item, it throws an exception: Object reference not set to an instance of an object
Unplanned
Last Updated: 08 May 2020 17:22 by ADMIN
If anchor links of GridButtonColumn do not define a text links are still rendered and screen readers read their href attribute. Anchor links with no text could define an attribute area-hidden="true".
1 2 3 4 5 6