Hello,
I have a bar chart (attached) the labels need to be moved outside the chart on the left so they are not covering the bars.
I have seen this as an issue going back to 2012 in the forums.. Its 2017 so I cant imagine this is still an issue.
If it is still an issue what is the work around? Is there a hack? I looked to see if I could use CSS but it does not seem so.
I tried AxisCrossingValue... it moves the bars so they don't line up with the correct X-Axis Labels... so that does not work.
I really need this to work.
Thanks,
Charles
I have a RadAsyncUpload somewhere on a page and a RadGrid in the same page.The RadGrid has a column for every row that is a LinkButton which executes a grid ItemCommand. The ItemCommand fetches the ID associated to the row and stores it in a session variable. I want the item command to also then bring up the RadAsyncUpload window so the user could select files.
The way I tried to achieve this so far is by calling a javascript function which finds the RadAsyncUpload control and performs a button click. This does not happen after postback, however.
It is crucial to me that each file I upload is associated with a row ID. Is there a way I can achieve this scenario or am I limited by the RadAsyncUpload controls functionality?

I am trying to change the background colors of individual bars to red and green
TryCast(RadHtmlChart1.PlotArea.Series(0), BarSeries).SeriesItems(0).BackgroundColor = System.Drawing.Color.Red.
Chart works great and I am binding to a datatable
RadHtmlChart1.DataSource = DifferenceDT
RadHtmlChart1.DataBind()
The error is on SeriesItems (Out of Range) and count is 0 when I inspect.
Am I doing something wrong?
Here is my .aspx code
<telerik:RadHtmlChart ID="RadHtmlChart1" runat="server" Style="width: 100%; height: 98%;"> <PlotArea> <Series> <telerik:BarSeries DataFieldY="Count" Name="Count" > <LabelsAppearance> <TextStyle Color="White" /> </LabelsAppearance> </telerik:BarSeries> </Series> <XAxis DataLabelsField="Name" > <LabelsAppearance> <TextStyle Color="White" /> </LabelsAppearance> <MinorGridLines Visible="false" /> </XAxis> <YAxis AxisCrossingValue="0" Step="1" > <MinorGridLines Visible="false" /> <LabelsAppearance> <TextStyle Color="Blue" /> </LabelsAppearance> </YAxis> </PlotArea></telerik:RadHtmlChart>ValidatorEnable($(
'RequiredFieldValidator4'), value);
But that does not work and returns error "Microsoft JScript runtime error: 'null' is null or not an object"
<EditFormSettings EditFormType="Template" PopUpSettings-Width="900px" CaptionFormatString="Edit Property: {0}"CaptionDataField="PropertyName"InsertCaption="Add New Property"PopUpSettings-Modal="true"PopUpSettings-Height="500px"PopUpSettings-ScrollBars="Vertical"> <FormTemplate > ASP:RadTextBox ...... ASP:RadCombobox ASP:RequiredFieldValidator ASP:CustomValidator etc..... (approx 30 other controls) </FormTemplate >W.r.t to Excel like filtering in radgrid. I am trying to call a webservice using -
ADMIN: Code removed upon OP request.
Requirement : To use Webservice , I have 40 columns so planning to send Column name as a context to WS method and reuse the select query for all..
eg)
ADMIN: Code removed upon OP request.
I have map with two layers (shapes and bubbles).
Seems i can use tooltips only on active layer
Any recommendations?
Thank you
| <script type="text/javascript"> |
| $(document).ready(function () { |
| $("#uploadImageDialog").dialog({ |
| autoOpen: false, modal: false, resizable: false, height: 200, width: 450, |
| title: 'Bild hochladen' |
| }); |
| $('#uploadImageDialogOpener').click(function () { |
| $("#uploadImageDialog").dialog('open'); |
| }); |
| }); |
| </script> |
| <div id="uploadImageDialog" style="width: auto;"> |
| <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" AllowedFileExtensions="jpg" |
| ControlObjectsVisibility="None" Culture="German" EnableFileInputSkinning="False" |
| MaxFileInputsCount="10" AutoAddFileInputs="False"> |
| <Localization Remove="Entfernen" Select="Auswählen" /> |
| </telerik:RadAsyncUpload> |
| </div> |
Hi,
I have added RadPivotGrid to my vb.net page and RadPersistenceManager . I managed to save and load the user current state with the following:
RadPersistenceManager1.StorageProviderKey = fileId
RadPersistenceManager1.SaveState()
However, I need to get the XML and save the XML in the db and then load the xml when user clicks the load button.
How do I load and save XML from database?
Thanks
Hi
I am looking to write a custom aggregate that sums a column but excludes certain rows.
On this grid there are 2 groups applied. I have the sum working for the first level of groups but not the total of the second group level or the total of the whole grid
They just seem to show the values of the row above
Any ideas?
Private Sub grid_CustomAggregate(sender As Object, e As GridCustomAggregateEventArgs)
Dim total As Decimal = 0
if TypeOf (e.item) is GridGroupFooterItem then
If TryCast(e.Column, GridBoundColumn).DataType = GetType(Decimal) Then
For Each groupHeader As GridGroupHeaderItem In _grid.MasterTableView.GetItems(GridItemType.GroupHeader)
Dim children As GridItem() = groupHeader.GetChildItems()
total = 0
For Each gridDataItem As GridItem In children
Dim item As GridDataItem = TryCast(gridDataItem, GridDataItem)
If TypeOf (item) Is GridDataItem Then
If item("exclude").Text <> "True" Then
total = total + CDec(item(e.Column.UniqueName).Text)
End If
End If
Next
Next
End If
End If
e.Result = total
End Sub

Hey, I'm having trouble getting a grid to popup inside the radwindow. getting the error- Object reference not set to an instance of an object.
I have a button that upon being clicked rebinds the chart and sets the popBlueBoxSales.VisibleOnPageLoad = true;
The controls are all properly updated in the AjaxSettings.
Here is the radwindow and grid. Thanks for the help!
<telerik:RadWindow ID="popBlueBoxSales" runat="server" Width="300px" Modal="true" Height="300px" Title="Description">
<ContentTemplate>
<telerik:RadGrid runat="server" ID="grdBlueBoxSalesQ" Height="270px" Width="90%" AllowPaging="true" OnItemCommand="grdBlueBoxSalesQ_ItemCommand" AllowSorting="true" Font-Size="Small" OnNeedDataSource="grdBlueBoxSalesQ_NeedDataSource" Visible="true" style="height:auto; margin-bottom:2%; margin-left:5%">
<ClientSettings AllowColumnsReorder="true" AllowExpandCollapse="true" Selecting-AllowRowSelect="true" ReorderColumnsOnClient="true">
<Resizing AllowRowResize="True" EnableRealTimeResize="True" ResizeGridOnColumnResize="True"
AllowColumnResize="True"></Resizing>
</ClientSettings>
<MasterTableView CommandItemDisplay="Bottom" PageSize="5" AutoGenerateColumns="false">
<CommandItemTemplate>
<div style="float: right">
<asp:LinkButton ID="btnExportExcel" runat="server" CommandName="Export" >
<asp:Image runat="server" BorderStyle="None" ImageUrl="~/Images/Export.png" Width="16px" /> Excel Export</asp:LinkButton>
</div>
</CommandItemTemplate>
<PagerStyle Mode="NextPrevAndNumeric" PageSizes="3,5,10" />
<Columns>
<telerik:GridBoundColumn DataField="ProjectDescription" HeaderText="Project Description" AutoPostBackOnFilter="True"
SortExpression="" CurrentFilterFunction="StartsWith" />
</Columns>
</MasterTableView>
</telerik:RadGrid>
</ContentTemplate>
</telerik:RadWindow>
