Hi I am trying change to change the color of the bar chart and databinded using sql datasource. the
Here's the code behind
Page load code behind
Dim barColors As Color() = New Color(7) {Color.Purple, Color.SteelBlue, Color.Aqua, Color.Yellow, Color.Navy, Color.Green, Color.Blue, Color.Red}
GraphIncoming.ChartTitle.Text = "Number of Incoming request per Area for the Year " + dpdYearWKPerArea.SelectedValue.ToString + ""
GraphIncoming.DataBind()
Dim k As Integer = 0
GraphIncoming.PlotArea.Series(0).Name = "Value"
For Each item As ChartSeriesItem In GraphIncoming.PlotArea.Series(0).Items
item.Appearance.FillStyle.MainColor = barColors(System.Math.Max(System.Threading.Interlocked.Increment(k), k - 1))
Next
######
aspx Page
<telerik:RadHtmlChart ID="GraphIncoming" runat="server" DataSourceID="SqlDataSource2" Font-Underline="False" Skin="Office2010Blue" Width="100%">
<PlotArea>
<Series >
<telerik:ColumnSeries DataFieldY="Value" >
<Appearance FillStyle-BackgroundColor="#337ab7"></Appearance>
<TooltipsAppearance Color="White" />
</telerik:ColumnSeries>
</Series>
<XAxis DataLabelsField="Area">
<LabelsAppearance RotationAngle="45">
</LabelsAppearance>
<TitleAppearance Text="">
<TextStyle Bold="true" Color="Red" FontFamily="Verdana" FontSize="12px" Italic="true" />
</TitleAppearance>
</XAxis>
<YAxis>
<TitleAppearance Text="Number of Incoming request">
<TextStyle Bold="true" Color="Red" FontFamily="Verdana" FontSize="12px" Italic="true" />
</TitleAppearance>
</YAxis>
</PlotArea>
<Legend>
<Appearance Visible="True">
</Appearance>
</Legend>
<ChartTitle >
<Appearance Visible="True">
<TextStyle Bold="true" Color="Blue" FontFamily="Verdana" FontSize="12px" Italic="true" />
</Appearance>
</ChartTitle>
<Zoom Enabled="False"></Zoom>
</telerik:RadHtmlChart>


Users reported a problem in a very old application using Telerik RadComboBox v2017.2.711.45 and I'm trying to find a solution for it, without having to upgrade the telerik controls (we don't have any active subscription or support):
Problem is, that when the user selects some text on a page, and releases the left mouse button over a RadComboBox control, then the dropdown opens. E.g:
- user presses left mouse button in a textbox for example
- user moves the mouse to select text
- while the left button is still pressed, the mouse is moved out of the textbox and over a RadComboBox
- user releases the left mouse button (while over the RadComboBox)
--> the dropdown list opens/expands, which is not desired (since the mouse-button down was not over that control)
Does anyone have an idea how to approach and fix this problem globally?
Is there for example a way to find a RadComboBox at the current mouse position, so that I could do something in the mousedown/up events?
Thanks a lot for any help

this.RadGrid1.MasterTableView.PagerStyle.AlwaysVisible = true;
this.RadGrid1.MasterTableView.PagerStyle.ShowPagerText = false;
this.RadGrid1.MasterTableView.PagerStyle.HorizontalAlign = HorizontalAlign.Center;
this.RadGrid1.MasterTableView.PagerStyle.PrevPageText = "Previous";
this.RadGrid1.MasterTableView.PagerStyle.NextPageText = "Next";
this.RadGrid1.MasterTableView.PagerStyle.Mode = Telerik.Web.UI.GridPagerMode.NextPrevAndNumeric;



I would like to fix the spacing in between my AsyncUpload and the previous object. I tried adding it to a table and doesn't seem to matter. From the code you can see that I have set "HideFileInput" to true. I am just wanting the "Select" button.
Attached is two images. If I put the AsyncUpload in the same cell it goes under the RadTextBox and I don't want that as I would like it next to. If they are in different cells then the spacing is too far apart. How do get them closer w/o throwing it under the RadTexBox.
<tr> <td class="LabelStyle-Right" style="vertical-align: top;">Subject:</td> <td style="vertical-align: top;"> <telerik:RadTextBox ID="_subject" runat="server" MaxLength="100" Width="200"></telerik:RadTextBox> </td> <td style="vertical-align: top; text-align: left;"> <telerik:RadAsyncUpload ID="_FaxFile" runat="server" Width="100%" AllowedFileExtensions=".pdf" MaxFileInputsCount="1" Visible="true" ToolTip="Select PDF" HideFileInput="true" MaxFileSize="15728640" Localization-Select="Select PDF"> </telerik:RadAsyncUpload><%-- <span class="allowed-attachments" style="font: italic 10px arial, verdana; color: blue;"> <asp:Label runat="server" ID="FileTypes" Visible="true" Enabled="false"></asp:Label></span>--%> </td> </tr>
Is it possible to navigate document using up, down, pgup, pgdn and home end keys or only pager options available?
How to translate page width descriptions like "Fit to page" etc.
I did translation using "MessagesSettings" but nowhere found combobox options.

I have a rad grid nested:
<telerik:RadGrid ID="gvDocs" runat="server" ShowHeader="false" Width="100%" AutoGenerateColumns="false" OnItemCommand="gvDocsDx_ItemCommand" GridLines="None" CssClass="diagCodes" OnItemDataBound="gvDocs_ItemDataBound">
<MasterTableView BorderWidth="0">
<Columns>
<telerik:GridButtonColumn CommandName="DeleteItem" UniqueName="btnDelDoc" ButtonType="PushButton" Text=" Delete "></telerik:GridButtonColumn>
<telerik:GridBoundColumn DataField="id" UniqueName="id" HeaderText="RefId" Display="false"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="friendlyName"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="pgNum"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="fileNote"></telerik:GridBoundColumn>
</Columns>
<NoRecordsTemplate>
<div class="no-record">No document associations</div>
</NoRecordsTemplate>
</MasterTableView>
</telerik:RadGrid>
I am trying to navigate to btnDelDoc so I can disable it. Here is the code I have and I think I am close: (it is not finding the button) HELP!
protected void gvDocs_ItemDataBound1(object sender, GridItemEventArgs e)
{
if (util.appUserIsReports)
{
//RadPushButton btn = e.Item
//GridDataItem item = e.Item as GridDataItem;
if (e.Item is GridDataItem)
{
GridDataItem item = e.Item as GridDataItem;
RadButton button = item.FindControl("btnDelDoc") as RadButton;
button.Enabled = false;
}
}
}

Hello,
I have a simple radDataPager with the Bootstrap skin.
The first, previous, next and last icons are wrongly displayed when the mouse hoovers the buttons (see the four pictures).
The markup:
<div class="SearchPagerContainer">
<telerik:RadDataPager ID="RadDataPager1" runat="server" PagedControlID="lvArticles" PageSize="24" Skin="Bootstrap" Style="margin-left: 3px; margin-top: 2px" OnInit="RadDataPager1_Init">
<Fields>
<telerik:RadDataPagerButtonField FieldType="FirstPrev" />
<telerik:RadDataPagerButtonField FieldType="Numeric" PageButtonCount="4"/>
<telerik:RadDataPagerButtonField FieldType="NextLast" />
<telerik:RadDataPagerPageSizeField PageSizeComboWidth="70" PageSizes="12;24;48" PageSizeText="# par page: " HorizontalPosition="NoFloat" />
</Fields>
</telerik:RadDataPager>
</div>
It seems to be basic, but it does not work.
Any idea ?
Philippe
