Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
225 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
558 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
262 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
556 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
2 answers
96 views

     Hi, 

I have a site running version 2015.1.225.1 that has worked up until 1st January 2021. Now I am getting several javascript errors related to  

Telerik.Web.UI.WebResource.axd

with the following errors:

net::ERR_ABORTED 500

Any suggestion on what it might be? 

I have not done any changes to this code for many months (perhaps a year) as we are moving our customers over to a newer version (which means I have little to no knowledge how to find and fix this problem). We still have a few customers left on this site and they are now unable to do their work because of it. All I need it a quick-fix/workaround that might work for the next 2 months.  

mirco
Top achievements
Rank 1
 answered on 21 Jan 2021
3 answers
482 views

Hi,

I have 2 gridviews in a page, one hierarchical and one normal gridview.

I am using javascript to update data from one gridview row to the other.

To be able to do that, I need to find the html id of the control in each gridview:

Normal gridview: ctl00_MainContent_ctl_Score_rep_ctl01_ckIsFlag is equivalent to 

ctl00_MainContent_ctl_Rubric_GV_ctl00_ctl04_ckIsFlag in the hierarchical gridview.

In the normal gridview the 'ctl01' increment by one for each row. So if I have 3 rows, the ID will be:

'ctl00_MainContent_ctl_Score_rep_ctl01_ckIsFlag

'ctl00_MainContent_ctl_Score_rep_ctl02_ckIsFlag

'ctl00_MainContent_ctl_Score_rep_ctl03_ckIsFlag

I use the index of each row to find which control to update:

"ctl00_MainContent_ctl_Score_rep_ctl" + rowindex +"_ckIsFlag"

However in the hierarchical grid, the first row has ctl04, the second row ctl07 and the third ctl10. I don't really understand how the incrementation works. as the number of records in the detail view is 4 rows, and identical for all.

My question is how do I find out the html id control in the hierarchical gridview (ctl04, ctl07 and ctl10). Please check the attachment for more clarity.

Thank you for your help

Attila Antal
Telerik team
 answered on 20 Jan 2021
9 answers
733 views

I am trying to Export into PDF from RadGrid. My grid is too wide on a screen and when output to PDF happened it is squished. I was trying to apply style before I do Export but it does not make any difference.

        private void btnExportToPDF_Click(object sender, EventArgs e)

        {

            ApplyStylesToPDFExport(giftGrid.MasterTableView);

            giftGrid.MasterTableView.ExportToPdf();

        }

 

        private void ApplyStylesToPDFExport(GridTableView view)

        {

            // Get access to the header of the grid

            GridItem headerItem = view.GetItems(GridItemType.Header)[0];

 

            // Apply some css style to the header

            foreach (TableCell cell in headerItem.Cells)

            {

                cell.Style["font-family"] = "Verdana";

                cell.Style["text-align"] = "center";

                cell.Style["vertical-align"] = "middle";

                cell.Style["font-size"] = "2px";

            }

                       

            // Get access to the date of the grid

            GridItem[] dataItems = view.GetItems(GridItemType.Item);

 

            // Apply some css style to the data items

            foreach (GridItem item in dataItems)

            {

                foreach (TableCell cell in item.Cells)

                {

                    cell.Style["font-family"] = "Verdana";

                    cell.Style["text-align"] = "center";

                    cell.Style["vertical-align"] = "middle";

                    cell.Style["font-size"] = "2px";

                }

            }

        }

Please explain to me what do I do wrong.

Thanks,

Yuriy

Vessy
Telerik team
 answered on 20 Jan 2021
1 answer
362 views

Hello,

Is there a way of disabling cell, sheet or workbook editing with Javascript without having to set every cell to disabled.

Vessy
Telerik team
 answered on 20 Jan 2021
1 answer
167 views

hello,

Is there a way to tag a user from my db in radeditor/kendo

i need to display the list of users after clicking @ and filter based on typing.

i need it similar to facebook or devops editors.

thanks

 

Rumen
Telerik team
 answered on 20 Jan 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?