Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
752 views

We need to disable embedded JQuery used in latest Telerik UI for ASP.NET AJAX 2017.3.913 library since it is using old jQuery version (version 1.11.1) and we have been advised to refer to disabling the embedded jQuery to do it (Ticket ID:1143165).

Unfortunately disabling it through web.config Telerik.ScriptManager.EnableEmbeddedjQuery key doesnt work. The application still loads old jQuery file.

We cannot use following suggestion to disable embedded jQuery since existing application is heavily depend on <asp:ScriptManager> and changing it to <telerik:RadScriptManager> breaks the existing code.

 

Disable the built-in jQuery on a concrete page.

<telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnableEmbeddedjQuery="false"><Scripts><asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" /><asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryExternal.js" /><asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryPlugins.js" /></Scripts></telerik:RadScriptManager>

 

Appreciate if you could help us with this.

Thanks

Lak

kalyan
Top achievements
Rank 1
 answered on 04 Dec 2019
10 answers
650 views

Hi
How to Solve Export To PDF Using RadClientExportManager For RadHtmlChart
not support Persian Characters in Export PDF Using "RadClientExportManager"
As pictured below : 

    Attached file


Is there another way :   Client Side OR Server Side

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 03 Dec 2019
3 answers
474 views
Hi,

  I am inserting image into the editor using image Manager and writing some contents in the editor.I would like to export the editor content with images to word document.

Am using these below code to export to word

               HttpContext.Current.Response.Clear();
                HttpContext.Current.Response.Charset = "";

                HttpContext.Current.Response.ContentType = "application/msword";
                string strFileName = "";
              
                strFileName = "GenerateDocument" + ".doc";
                
                HttpContext.Current.Response.AddHeader("Content-Disposition",
                  "inline;filename=" + strFileName);

                StringBuilder strHTMLContent = new StringBuilder();
                strHTMLContent.Append("<body lang=EN-US >");
                strHTMLContent.Append(RadEditor1.Content);
                strHTMLContent.Append("</body>");

                
                HttpContext.Current.Response.Write(strHTMLContent);
                HttpContext.Current.Response.End();
                HttpContext.Current.Response.Flush();


But I am not able to export the image into word doc.

please solve my problem.I have to export the image into the word document

Thanks for any help


Rumen
Telerik team
 answered on 03 Dec 2019
206 answers
4.1K+ views
Hi everyone,

Below you can find the list of latest resource for Telerik UI for ASP.NET AJAX suite. Resources are posted by chronological order.

To navigate to the latest one you can use the link below:

Link to Latest Online Resources (3 December 2019)






Online Resources from 23.11.2012:

New Articles

RadEditor
: Inner toolbars are displayed in multiple lines
When there are CSS styles applied through global selectors (tag names) the elements in the RadEditor may not have the expected rendering.

RadMenu: Creating Context Menu at Runtime
Help article that describes how to create RadContextMenu at runtime.

Update Articles

RadInput: Understanding the Single Rendering HTML Output and CSS Styling
Updated almost the whole content.

RadPivotGrid: Range Grouping in RadPivotGrid
Added ShowGroupsWhenNoData property.

RadListBox
Added code examples in the following articles:

RadAsyncUpload
Added code examples in the following articles:

Rumen
Telerik team
 answered on 03 Dec 2019
1 answer
159 views
Hi, 
i'm having trouble while closing a RadWindow.
I can't post the entire project because of the dimensions but i'm posting as much code as possibile of what i think could be relevant.

In my project there's a JS function used to get the rad window and you'll see it used in TS scripts as window.GetRadWindow():
function GetRadWindow() {
    var oWindow = null;
    if (window.radWindow) oWindow = window.radWindow;
    else if (window.frameElement)
        if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
    return oWindow;
}

I have a base page that opens a RadWindow (here called WINDOW1) with this code, and with this close event attached:

private btnAddFarmacoClick(): void {
            window.DeskDataEditing(true);
            var url = `${this.schedaRicFarmaGestFarmacoUrl}?IdItem=-1&IdFarmaco=-1`;
            let oBrowserWnd = window.GetRadWindow();
            setTimeout(() => {
                let oWnd: t.RadWindow = oBrowserWnd ? oBrowserWnd.BrowserWindow.radopen(url, "wSchedaRicGestFarm") : window.radopen(url, "wSchedaRicGestFarm");
                oWnd.moveTo(10, 10);
                oWnd.set_height(400);
                oWnd.set_width(700);
                oWnd.set_modal(true);
                oWnd.set_title("Titolo");
                oWnd.set_visibleTitlebar(true);
                oWnd.set_visibleStatusbar(false);
                oWnd.set_behaviors(t.WindowBehaviors.Move | t.WindowBehaviors.Close);
                oWnd.remove_close(this.farmacoRiconciliazioneClose$dlg);
                oWnd.add_close(this.farmacoRiconciliazioneClose$dlg);
                //oWnd.set_destroyOnClose(true);
            }, 0);
        }
 
        private farmacoRiconciliazioneClose(oWnd: any, args: any): void {
            oWnd.remove_close(this.farmacoRiconciliazioneClose$dlg);
            var arg = args.get_argument();
            if (arg != null) {
//DO THINGS
            }
        }

Then, in WINDOW1, i open another rad window (WINDOW2) with this script and event attached:

private ricercaFarmacoClick(): void {
    let url = `${this.ricercaFarmaciUrl}?Close1Step=1&idTest=-1`;
    let oBrowserWnd = window.GetRadWindow();
    setTimeout(() => {
        let oWnd: t.RadWindow = oBrowserWnd ? oBrowserWnd.BrowserWindow.radopen(url, "wSchedaRicFarmRicercaFarmaco") : window.radopen(url, "wSchedaRicFarmRicercaFarmaco");
        oWnd.moveTo(10, 10);
        oWnd.set_height(570);
        oWnd.set_width(800);
        oWnd.set_modal(true);
        oWnd.set_visibleStatusbar(false);
        oWnd.set_behaviors(t.WindowBehaviors.Move | t.WindowBehaviors.Close);
        oWnd.remove_close(this.ricercaFarmacoClose$dlg);
        oWnd.add_close(this.ricercaFarmacoClose$dlg);
        //oWnd.set_destroyOnClose(true);
    }, 0);
}
 
private ricercaFarmacoClose(oWnd, args): void {
    oWnd.remove_close(this.ricercaFarmacoClose$dlg);
    let arg = args.get_argument();
    if (arg != null) {
        //DO THINGS
    }
}

In WINDOW2 i open a third rad window (WINDOW3) with no event attached:

private dettaglioFarmacoClick(sender: any) {
    if (sender && sender.currentTarget) {
        let idFarmaco = sender.currentTarget.getAttribute("data-id-farm");
        let url = `${this.dettaglioFarmacoUrl}?IdFarmaco=${idFarmaco}`;
        let oBrowserWnd = window.GetRadWindow();
        setTimeout(() => {
            let oWnd = oBrowserWnd ? oBrowserWnd.BrowserWindow.radopen(url, "wRicercaFarmaciDettaglioFarmaco") : window.radopen(url, "wRicercaFarmaciDettaglioFarmaco");
            oWnd.moveTo(10, 10);
            oWnd.set_height(600);
            oWnd.set_width(800);
            oWnd.set_modal(true);
            oWnd.set_visibleStatusbar(false);
            oWnd.set_behaviors(t.WindowBehaviors.Move | t.WindowBehaviors.Close);
            oWnd.set_destroyOnClose(true);
        }, 0);
    }
 
}

WINDOW3 has nothing special: some readonly data, and can be closed by the X of the rad window itself and from a button that does this:

function CloseModal() {
    setTimeout(function () {
        GetRadWindow().close();
    }, 0);
}

The problem occurs whem i close WINDOW3:
i expect nothing to happen, instead the ricercaFarmacoClose of WINDOW1 is called. Obviously this beahviour causes all the chain of events to break.
I tried adding and removing all the destroyonclose without success. It's been 4 days of debugging, trying and failing at solving this problem.

Is there something i am missing?

Tanks in advance

Eyup
Telerik team
 answered on 03 Dec 2019
14 answers
892 views
Does anyone know if it is possible to display a column in the grid of the FileExplorer that displays the file's last modified date?
Rumen
Telerik team
 answered on 02 Dec 2019
1 answer
199 views
Hello, doing tests with the latest version of reports and controls ajax I find that if on the same page there is a Chart(HTML5) and a Telerik Report Viewer the top bar of the report is not generated correctly. I have tried including different versions of jquey, and the result is the same, starting a new project and only leaving those two controls the problem persists, deactivating one control and leaving only the other separately work perfectly, the problem only occurs when the two. Making tests to understand the problem disable some attributes of the Chart(HTML5) and leaving (EnableEmbeddedScripts = "false") the two controls are generated correctly even if the graph is not displayed. Is it not possible to combine the two controls? Thanks.
Vessy
Telerik team
 answered on 02 Dec 2019
2 answers
143 views

 

Hi,

We are using RadHtmlChart - BarSeries for one of our requirements. We would like to show a custom tool tip when user mouser overs on y-axis but not on the bar chart.

Please see the attached image. When user moves the cursor on circled area on y-axis on the graph, we would like to show some custom tool tip.

Kindly help on this.

We are referring the following below link:

https://demos.telerik.com/aspnet-ajax/htmlchart/examples/charttypes/barchart/defaultcs.aspx

 

Thanks,

Srinivas Merugu

Vessy
Telerik team
 answered on 02 Dec 2019
3 answers
269 views

Hi guys,

I know it has been spoken a lot about custom fields.

I have been reading forums for the last 3 days for fix my problem, but unfortunately, my problem is still there.

I have some fields on my Tasks database, like Duration, Actual Cost, and ... which I want to show them on the Gantt chart tree list view.

I have tried all the methods in the forums and documentation, but I still have problem with custom fields.

I am using AJAX ASP.NET and am using VB.NET as code behind.

Can anyone be able to help me please?

Thanks

Leo
Top achievements
Rank 1
 answered on 02 Dec 2019
48 answers
2.2K+ views

This morning, I received the email below about a security vulnerability in the Telerik ASP.NET UI product. Reading through, I don't think we'd be vulnerable, and therefore would not have to apply an update/patch, unless we are using the RadAsyncUpload control. Is that right?

 

From: Progress [mailto:progresssoftware@businessmaking.progress.net] 

Sent: Friday, September 01, 2017 10:44 AM
To:
Subject: Security Alert for Progress Telerik UI for ASP.NET AJAX



Security Alert for Progress Telerik UI for ASP.NET AJAX

In our ongoing effort to provide the highest levels of quality, security and performance of your Telerik UI for ASP.NET AJAX implementation, we are writing to inform you of security vulnerabilities (CVE-2017-11357, CVE-2017-11317, CVE-2014-2217) that exist in all versions of Telerik.Web.UI.dll assembly prior to 2017.2.711.

These vulnerabilities put websites using Telerik.Web.UI.dll at risk for arbitrary file uploads to the server and/or remote code execution. We have investigated and addressed these issues, and, as we consider the vulnerability critical, we strongly recommend you follow one of the steps below for the safety and security of your websites:
For those on active maintenance, upgrade to R2 2017 SP2 (2017.2.711) or a newer version of Telerik UI for ASP.NET AJAX.
Download and promote the security patch provided in your Telerik.com account for versions between Q1 2011 (2011.1.315) and R2 2017 SP1 (2017.2.621). If you have downloaded a patch before, download it again, because the file was updated.
Depending on your use case, you may need to prevent file uploads and/or create a custom handler as explained in the KB articles below.
We urge you to read the details on the mitigation paths and the required actions in the following KB articles:
ASP.NET AJAX Insecure Direct Object Reference
ASP.NET AJAX Unrestricted File Upload
Best regards,
The Progress Team

Terms of Use | Privacy Policy
NOTICE: This is a security alert from Progress Software Corporation or its affiliates ("Progress"), headquartered at 14 Oak Park Drive, Bedford, MA 01730 USA. Please click here to manage your subscriptions or unsubscribe.
Progress, Telerik and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings. Any other trademarks contained herein are the property of their respective owners.
Copyright © 2017 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.

 

Antony Wa
Top achievements
Rank 1
 answered on 29 Nov 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?