Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
128 views

Good morning, I need to develop a combined chart, I leave it attached.
I could not find an example in the documentation.

Thanks a lot.

 

 

Vessy
Telerik team
 answered on 25 Jan 2021
28 answers
1.0K+ views

Hi Team,

      We are binding radgrid from server side,  and using default Export to Excel functionality. The problem area is when we export the excel we are getting Extra Words like "Sorted ascSorted desc" in Column Header along with Column Name. We have tried few related properties of export settings but failed to resolve the issue. For your reference attaching problematic excel screenshot and also grid settings below.

Please do needful as soon as possible.

Thanks.

            RadAjaxLoadingPanel RadajaxloadingpanelTestdata = new RadAjaxLoadingPanel();
            RadajaxloadingpanelTestdata.ID = "Radajaxloadingpanel_AccActWidget_" + WidMapID;
            this.Controls.Add(RadajaxloadingpanelTestdata);

            RadAjaxPanel panel_testdata = new RadAjaxPanel();
            panel_testdata.ID = WidMapID;

            RadGrid rgTestData = new RadGrid();
            rgTestData.ID = WidMapID;
            rgTestData.AllowPaging = true;
            rgTestData.AllowSorting = true;
            rgTestData.AutoGenerateColumns = false;
            rgTestData.ExportSettings.IgnorePaging = true;
            rgTestData.ExportSettings.ExportOnlyData = true;
            rgTestData.ExportSettings.Excel.Format.Equals("Biff");
            rgTestData.ExportSettings.HideStructureColumns = true;
            rgTestData.ExportSettings.FileName = "CountsOfTestsLoaded";
            rgTestData.ExportSettings.Pdf.ForceTextWrap = true;
            rgTestData.MasterTableView.DataKeyNames = new string[] { "VerifyDate" };
            rgTestData.MasterTableView.CommandItemDisplay = GridCommandItemDisplay.Bottom;
            rgTestData.MasterTableView.ClientDataKeyNames = new string[] { "VerifyDate" };
            rgTestData.MasterTableView.CommandItemSettings.ShowAddNewRecordButton = false;
            rgTestData.MasterTableView.CommandItemStyle.Height.Equals("22px");
            rgTestData.MasterTableView.CommandItemStyle.HorizontalAlign = HorizontalAlign.Right;
            rgTestData.MasterTableView.PagerStyle.AlwaysVisible = true;
            rgTestData.MasterTableView.PagerStyle.Mode.Equals("NextPrevAndNumeric");
            rgTestData.ShowHeader = true;
            rgTestData.ClientSettings.Selecting.AllowRowSelect = true;
            rgTestData.MasterTableView.CommandItemTemplate = new MyCommandItemTemplate() { IsRefresh = true, IsExcel = true, IsPdf = true, IsCsv = true };
            BoundColumns(rgTestData);
            panel_testdata.ClientEvents.OnRequestStart = "onRequestStartTestData";
            panel_testdata.LoadingPanelID = RadajaxloadingpanelTestdata.ClientID;
            this.Controls.Add(panel_testdata);
            panel_testdata.Controls.Add(rgTestData);

Attila Antal
Telerik team
 answered on 25 Jan 2021
20 answers
368 views
Hi,

Is it possible to display an image associated with a particular item beside the selected item? Like in the example at http://demos.telerik.com/aspnet-ajax/combobox/examples/default/defaultcs.aspx, there is a Payment Method combo box with some items in it. Upon viewing the available items we can see the image, but after making a selection the image associated with that particular item is not shown. How can that be achieved?

Thanks.
Regards.
Vessy
Telerik team
 answered on 25 Jan 2021
11 answers
320 views

Hello Team,

Whenever we copy an intranet link (tenmaid) for IE - it is able to convert that to a hyperlink properly but the same doesn't work for Chrome. But however, in Chrome it works for an external link

We simply copied the link using Ctrl + C & pasted it onto the editor as Ctrl + V

Telerik-> RadEditor - > HTML View on IE, <a> tags are displayed on TenMAID link and external link.

Take a look at IE screenshot

Telerik-> RadEditor - > HTML View on Chrome, <a> tags are not displayed on TenMAID link but <a> tags are shown on external link.

Take a look at Chrome screenshot

As the hyperlinking works fine for IE; it does identify it as a link - can we please figure out why this doesn't work for Chrome?

Link - https://tenmaid.tenuk.com/VendorJob/Job.aspx?tab=1&JobID=7556080

Rumen
Telerik team
 answered on 25 Jan 2021
3 answers
131 views

I am trying to focus the AutoCompleteBox racInput but got no success. I tried this:

function pageLoaded() {
            var radInput = $find("<%= RadAutoCompleteBox1.ClientID %>");
            radInput.focus();
            //console.log(document.getElementById('RadAutoCompleteBox1'));
        }

<body onload="pageLoaded()">

Any idea?

Vessy
Telerik team
 answered on 22 Jan 2021
1 answer
213 views

I have a dataset of values that I want to have represented in Pie charts, and I would like it if the RadHTMLChart could generate separate pie charts, delimited by the content of one of the data columns.

Is there any way I can do this with a single RadHTMLChart, or do I need to create separate charts, and manually break the datasets apart, feeding the broken datasets to separate charts?

I have attached examples of the dataset I'm working with, and the sort of output I'm hoping to achieve with the RadHTMLChart.  In the attached file, column QuestCode delimits the series, and AnswerLabel/Cnt identify the data elements for each pie chart.

Thank you!

Vessy
Telerik team
 answered on 22 Jan 2021
4 answers
535 views
Hi Telerik Support

I am opening a radwindow on the click of a radbutton and want to provide some animations while opening and closing a Radwindow. On googling I came up with a thread where the admin states that for the time being they are trying to provide more functionalities for the control and does not support animation (seems to be an old thread). Do the latest version supports animation?

Then I found that the Ajaxcontrol toolkit is providing an animation extender control which works pretty well with their modalpopupextender control and I tried to use the same animationextender with my radwindow which caused some unusual behavior in the page events especially clicks and all. So, Does the animationextender control works properly with RadWindow? If it works I wish if someone can post a full working solution here.

Thanks
Ivy
Hugo Augusto
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 22 Jan 2021
1 answer
1.2K+ views

My asyncupload control is dynamically added during code runtime inside Page_Init. After my asyncupload validate success, the input is still showing red. opening the console i saw the error as shown in the attached file. Not sure if it is relevant, this code is created as a visual web part(farm solution) for Sharepoint 2016

 

i added the following to web.config

01.<httpHandlers>
02.     <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
03.      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
04.      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
05.</httpHandlers>
06. 
07. 
08.<handlers>
09....
10. <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
11.      <add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />
12.      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
13.</handlers>
14. 
15.<location path="Telerik.Web.UI.WebResource.axd">
16.    <system.web>
17.      <authorization>
18.    <allow users="?"/>
19.      </authorization>
20.    </system.web>
21.  </location>
22.<location path="ScriptResource.axd">
23.    <system.web>
24.      <authorization>
25.    <allow users="?"/>
26.      </authorization>
27.    </system.web>
28.  </location>
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
 answered on 22 Jan 2021
4 answers
248 views

I have a RadGrid with Batch Editting some like https://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx .

I need Move Up and Move Down buttons in each row to change order numbers and reorder the rows.

Clicking on Move Up will change the sort order i.e if a row is in position 7, it will be brought to 6 and its cell value in column "order" will become 6.

Clicking on Move Down will change the sort order i.e if a row is in position 7, it will be brought to 8  and its cell value in column "order" will become 8.

How to implement it?

 

 

Doncho
Telerik team
 answered on 21 Jan 2021
0 answers
542 views
Hi, 
   I have a aspx page, in that i added rad progressbar and one button when click that button, progress not show increase value, once fully page refresh , it show 100 % finished. How to show progress bar based in increase values which is passed from server side button click, here i paste code behind and server side code.

Code behind
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
    <div>
        <telerik:RadButton ID="RadButton1" runat="server" Text="RadButton"></telerik:RadButton>
        <telerik:RadProgressBar ID="RadProgressBar1" runat="server"></telerik:RadProgressBar>
    </div>
    </form>
</body>
</html>

And Server side code is

  Private Sub RadButton1_Click(sender As Object, e As EventArgs) Handles RadButton1.Click

        RadProgressBar1.BarType = Telerik.Web.UI.ProgressBarType.Percent
        RadProgressBar1.Orientation = Telerik.Web.UI.ProgressBarOrientation.Horizontal
        RadProgressBar1.MaxValue = 100

        RadProgressBar1.ShowLabel = True
        RadProgressBar1.Skin = "Silk"
        For i As Integer = 0 To 100 - 1
            RadProgressBar1.Value = i

            System.Threading.Thread.Sleep(100)
        Next
    End Sub

If i add ajax loading panel, then i will get default circle progressbar instead of bar progress bar.

Thanks
M Kumar
Top achievements
Rank 1
Iron
Iron
Veteran
 asked on 21 Jan 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?