Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
317 views
Hello Team,
I am using Telerik Version 14.1. I have created simple RadChart in Pie type. But I am unable to show the % of area covered. Can you please suggest how to show the percentage over the chart. I tried a lot & referred so many links. still didn't get. Please help me out.


For the ref i have attached image.


let me know for any query.

aspx page:
<telerik:RadChart ID="RadChart1" runat="server" Width="540px" Height="330px" DataSourceID="SqlDataSource1" DefaultType="Pie" ChartTitle-TextBlock-Text="Summary Chart">
            <Series>
             <telerik:ChartSeries Type="Pie" DataYColumn="Hits" DataLabelsColumn="PageName">
                <Appearance LegendDisplayMode="ItemLabels" />
            </telerik:ChartSeries>
            </Series>
        </telerik:RadChart>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:RPConnectionString %>" 
            SelectCommand="xsp_GetPageRank" SelectCommandType="StoredProcedure"></asp:SqlDataSource><br />








Danail Vasilev
Telerik team
 answered on 25 Apr 2014
5 answers
325 views
Hi,

Is telerik have default Chart Color Palette  ?  not in system color (AreaChart.PlotArea.YAxis.MinorGridLines.Color =color.white;)

Example :

AreaChart.PlotArea.YAxis.MinorGridLines.Color =ChartColorPalette.AcidWash;

Kannan.
Stamo Gochev
Telerik team
 answered on 25 Apr 2014
1 answer
55 views
I think a bug might have cropped up into the latest Telerik release (Q1 '14, April SP release). Typically, when clearing and adding items to a combo box client side, script like this has worked:

var combo = $find("MyComboList")
combo.trackChanges();
combo.clearItems();
// code to add items
combo.commitChanges();

However, with the current release, the above code will leave the previously selected item in the combo box as well. In order to remove it, you have to manually clear it, so the above code now becomes this:

var combo = $find("MyComboList")
combo.trackChanges();
combo.clearSelection(); // ensures that the current selected item will be removed as well
combo.clearItems();
// code to add items
combo.commitChanges();

This seems like a bug to me. Can someone from Telerik confirm?

Thanks,

Mike Oliver
Shinu
Top achievements
Rank 2
 answered on 25 Apr 2014
1 answer
551 views
Hello,
I'm having couple of RadComboBoxes in my page and one of it is not firing the selectedindexchanged event when the first item is selected. If I select the second list item, the event is firing. Here is my code:

<tel:RadComboBox ID="rcbArea" runat="server" Height="110px" DropDownAutoWidth="Disabled" Width="213px"
                                AutoPostBack="true" HighlightTemplatedItems="true"
                                AppendDataBoundItems="true"
                                EmptyMessage="Select Area"
                                Localization-CheckAllString="Select All"
                                Localization-AllItemsCheckedString="All Divisions Selected"
                                Font-Italic="false"
                                CheckBoxes="true" EnableCheckAllItemsCheckBox="true"
                                OnSelectedIndexChanged="rcbArea_SelectedIndexChanged">
                                <ExpandAnimation Type="OutQuart" Duration="500" />
                                <CollapseAnimation Type="OutQuint" Duration="300" />
                            </tel:RadComboBox>



Shinu
Top achievements
Rank 2
 answered on 25 Apr 2014
0 answers
81 views
Hi guys,

The Telerik ASP.NET Diagram control is now available for download and will help you create rich, high-performing and interactive diagrams with ease.

The Beta installations are available at the bottom of the Download UI for ASP.NET AJAX - Version: 2014.1 403 (Apr 3, 2014) section under Your Telerik.com account. You can obtain the trial MSI installation right from here.

You can also test the control in the live demos and add your comments and suggestions in the Feedback portal.

Best regards,
Rumen
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 25 Apr 2014
3 answers
61 views
Hello friends,
i have RadFilterControl for date range. i mean we have to enter from date and to date for filtering data.
my requirement is , i have to get the to date entered by user and have to add 5 hours to it. 
i am planning to do this in Itemcommand event before calling FireApplyCommand(). 
so i have to read the end date entered by user and have to read it , add 5 hours to it, and then apply the filter.
could you guide me how to read the values entered by the user.

ravindar
Top achievements
Rank 1
 answered on 25 Apr 2014
3 answers
402 views
Hello,
I want to save a file to database. I have a grid template column, in that I have RadUpload control. From this I will have to get the input file from user. I need to save this file in the database. I do not want to use the query in the aspx page. I want to save this file to DB in

rdgAddUpdFile_InsertCommand

method. What should be the DB column Type for this? Should this be text or Varchar?
Also, how to get this data saved again for reconstructing this file for download?
Thanks and Regards,
Deepika Karanth

Arron
Top achievements
Rank 1
 answered on 25 Apr 2014
3 answers
258 views

 Hi,
Anybody can help me how can I get selected cell value in radgrid dynamically. I would like to publish my code and attachement. What I want is when CellDbClick event fire, I want to get current selected cell value in attachement gridview. I appreciate any help.

.aspx
(
 <telerik:RadGrid runat="server" ID="grdAvailability" AllowPaging="true" AutoGenerateColumns="false"
                                         OnItemDataBound="grdAvailability_DataBound"
                                         PageSize="50" Height="565px" Skin="Simple">
                            <PagerStyle Visible="false"  />
                            <MasterTableView DataKeyNames="RoomKey" ItemStyle-Wrap="false" ClientDataKeyNames="RoomKey" TableLayout="Auto">
                            </MasterTableView>
                            <ClientSettings AllowRowsDragDrop="true">
                                <Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="true" />
                                <ClientEvents OnCellSelected="cellSelected" OnScroll="HandleScrolling" OnRowContextMenu="OnRowContextMenu" />
                                <ClientEvents OnRowDblClick="CellDbClick" />
                                <Selecting CellSelectionMode="SingleCell" EnableDragToSelectRows="true" />
                            </ClientSettings>
                        </telerik:RadGrid>
)

Script
(
 function CellDbClick(sender, eventArgs) {
                var grid = sender;
                var MasterTable = grid.get_masterTableView();
                var row = MasterTable.get_dataItems()[eventArgs.get_itemIndexHierarchical()];
                var cell = MasterTable.getCellByColumnUniqueName(row, 'RoomKey');
                var value = cell.innerHTML;
                var rvalue = cell.innerText;
                alert("HTML" + value);
                alert("Text" + rvalue);
            }
)
Princy
Top achievements
Rank 2
 answered on 25 Apr 2014
1 answer
630 views
I need to countdown days, hours, minutes to a future event on a clock type control.  Does anyone have a good example of doing that?
Shinu
Top achievements
Rank 2
 answered on 25 Apr 2014
2 answers
147 views
Hi guys,

I am displaying a Code11 barcode with the Text and Checksum. On increasing the font, I recently found the text got overlapped with the barcode as the size increases. How can I fix this?

Thanks
Joseph.
Mariah
Top achievements
Rank 1
 answered on 25 Apr 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?