Hi!
I defined an image for a pager button with RadGrid.PagerStyle.LastPageImageUrl = "url". The downside of the approach is that there is no hover effect any more. Is it possible to define an image that is used for hover with a similar property, or do I have to use Javascript/CSS?
Kind regards
Hi All,
I've a very simple page with a RadGrid, on clicking the header to sort, I get the error :-
Unable to cast object of type 'Telerik.Web.UI.RadGrid' to type 'Telerik.Web.UI.GridTableView'.
This only happened after upgrading the DLLs to 2016.2.607.40 from 2014.1.403.40
Going back to the old DLL fixes the issue.
Serverside I populate a DataTable and then use Datasource/Databind.
<telerik:RadGrid ID="dtgParameter" runat="server" CssClass="dataGridStyle" Width="99%" GridLines="Both" Height="100px" AllowSorting="True" AllowMultiRowSelection="False" AllowPaging="False" AutoGenerateColumns="False" ShowFooter="false" ShowHeader="true"> <HeaderStyle CssClass="dataGridHeader" /> <ItemStyle CssClass="dataGridItemStyleNormal" /> <AlternatingItemStyle CssClass="dataGridItemStyleAlt" /> <SortingSettings EnableSkinSortStyles="false" /> <ClientSettings EnablePostBackOnRowClick="false"> <Selecting AllowRowSelect="true" UseClientSelectColumnOnly="true" /> <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True" /> </ClientSettings> <MasterTableView Name="Parameter" DataKeyNames="ParameterId" ShowHeader="true" AutoGenerateColumns="False" HierarchyLoadMode="ServerOnDemand" width="99%"> <Columns> <telerik:GridBoundColumn HeaderStyle-ForeColor="White" DataField="ParameterId" HeaderStyle-Font-Bold="True" SortExpression="ParameterId" HeaderStyle-Width="0%" HeaderText="" visible="false"/> <telerik:GridBoundColumn HeaderStyle-ForeColor="White" DataField="Name" HeaderStyle-Font-Bold="True" SortExpression="Name" HeaderStyle-Width="20%" HeaderText="Name" /> <telerik:GridBoundColumn HeaderStyle-ForeColor="White" DataField="Comments" HeaderStyle-Font-Bold="True" SortExpression="Comments" HeaderStyle-Width="80%" HeaderText="Comments" /> </Columns> </MasterTableView> </telerik:RadGrid> protected void RadListBox1_Load(object sender, EventArgs e) { if (!IsPostBack) { RadListBox1.Visible = false; RadListBox2.Visible = false; Label1.Visible = false; Label2.Visible = false; } else { RadListBox1.Visible = true; RadListBox2.Visible = true; Label1.Visible = true; Label2.Visible = true; RadListBox1.ClientIDMode = ClientIDMode.Static; RadListBox2.ClientIDMode = ClientIDMode.Static; } { if (e.Items.Count > 1 && e.SourceListBox.ClientID == "RadListBox1") { lblTransfer.Text = "Transfer All to right"; command //BLL.Patrocinadores.Adicionar1PatrocinadorAoAtleta(id_atleta, id_patrocinador);Updatelistbox(); } else if (e.Items.Count == 1 && e.SourceListBox.ClientID == "RadListBox1") { lblTransfer.Text = "Transfer one Item to right"; } else if (e.Items.Count > 1 && e.SourceListBox.ClientID == "RadListBox2") { lblTransfer.Text = "Transfer All to left"; } else if (e.Items.Count == 1 && e.SourceListBox.ClientID == "RadListBox2") { lblTransfer.Text = "Transfer one Item to left"; } }I see a lot of example, but nothing works for my simple example. I am trying something like that
function OnSeriesHover_EconomyRelationshipsLevel2(sender,args) {
if (args.category == "30") {
args.series.tooltip.format = "Click for Details";
sender.series.tooltip.format = "Click for Details";
}
}
Hi,
I have the following client code and JSON output. When I run it up I get no errors but I get an empty combo box. I know that the JSON is being generated and sent to the client datasource.
Have I missed something obvious?
<telerik:RadClientDataSource runat="server" ID="RadClientDataSource1"> <DataSource> <WebServiceDataSourceSettings BaseUrl="http://localhost:65247/aTest/Data.asmx/"> <Select Url="GetData" DataType="JSON" /> </WebServiceDataSourceSettings> </DataSource> <Schema DataName="data"> <Model> <telerik:ClientDataSourceModelField FieldName="Id" DataType="Number" /> <telerik:ClientDataSourceModelField FieldName="Nme" DataType="String" /> <telerik:ClientDataSourceModelField FieldName="Ena" DataType="Boolean" /> </Model> </Schema></telerik:RadClientDataSource><telerik:RadComboBox ID="RadComboBox1" runat="server" ClientDataSourceID="RadClientDataSource1" EnableLoadOnDemand="true" DataTextField="Nme" DataValueField="Id"></telerik:RadComboBox>
Sample JSON below - I have checked the whole file with a checker and it all seems OK...
{"data":[{"Id":97,"Nme":"sample 1","Ena":true},{"Id":182,"Nme":"sample 2","Ena":true}]}
Hi,
I have upgraded Telerik from Q2.2010 to Q2.2016 Recently. After upgrade the background color of the Disabled combo box is changed.
Previously, the BG Color was White and now the Color is Transparent.
How will I change the BG Color of the Disabled Combo Box.
Regards,
Nisanth

I have updated the dll and I want to know if I need to replace each control on the page. We have upgraded .Net version 3.5 to 4.6 and the Telerik controls will not work with the successful update of the dll's.
So do I need to replace each control with new controls?
Hi,
Export to excel feature from Grid was working with Excel 2010 but lately it is not working. I am getting blank excel with no data. It works just fine with Excel 2013,2016. Please advise ASAP as it is production issue.
Many Thanks.

Hello,
I need to be able to copy one row and paste as a new row.
When I copy one row content of a table and want to paste only text of selected row to the other row, it copied text with table row.
So it copied as :
<td>
<table><tr><td> Text </td></tr></table>
</td>
I want to paste only contents instead of entire table row.
Regards,
Nandita