This is not a bug. In order to show the value into the GridDropDownColumn the relation between fields from the GridDropDownColumn data source and the grid datasource must be correct. Into the attached project in order to show the value in GridDropDownColumn the GridDropDownColumn's DataField needs to be "MyItemID": <telerik:GridDropDownColumn DataField="MyItemID" DataSourceID="SqlDataSourceColors" FilterControlAltText="Filter Color column" HeaderText="GridDropDownColumn" ListTextField="ColorName" ListValueField="ColorID" SortExpression="ColorName" UniqueName="MyItemIDMyItemID"> </telerik:GridDropDownColumn> Additionally the filtering also works as expected. More information here: http://www.telerik.com/help/aspnet-ajax/grid-filtering-by-listtextfield-for-griddropdowncolumn.html
The issue appears in Classic render mode and is due to the use of an image for background which does not stretches(which is a limitation). A possible workaround is to include the following CSS: .rgHeaderWrapper div.rgHeaderDiv{ background:none; }
The problem reported problem was due to specific implementation of the sample and was not caused by the RadGrid control.
when accessing column values in the client API (javascript), if the row indicator column is included the column indexes are off by 1. Behaving as if the row indicator column is not accounted for in the index scheme. without this (additional) row, indexing is correct. * I was just informed the indexing is also affected on the server side as well. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="TelerikColMismatch.Default" %> <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script> function grdCompany_DblClick(sender, eventArgs) { var masterTable = sender.get_masterTableView(); var row = masterTable.get_dataItems(); var selRow = row[eventArgs.get_itemIndexHierarchical()]; alert("grdColId : " + (masterTable.getCellByColumnUniqueName(selRow, "grdColId")).innerHTML); alert("grdColFirstName : " + (masterTable.getCellByColumnUniqueName(selRow, "grdColFirstName")).innerHTML); alert("grdColLastName : " + (masterTable.getCellByColumnUniqueName(selRow, "grdColLastName")).innerHTML); } </script> </head> <body> <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <telerik:radgrid runat="server" ID="grdCompany" AutoGenerateColumns="False" CellPadding="0" CellSpacing="0"> <MasterTableView gridlines="Both" hierarchyloadmode="ServerBind" allowautomaticupdates="True" DataKeyNames="Id"> <Columns> <telerik:GridRowIndicatorColumn FilterControlAltText="Filter RowIndicator column" UniqueName="Id" Resizable="False"></telerik:GridRowIndicatorColumn> <telerik:GridBoundColumn DataField="Id" HeaderText="ID" UniqueName="grdColId" Visible="true"></telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="FirstName" HeaderText="First Name" UniqueName="grdColFirstName" Visible="true"></telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="LastName" HeaderText="Last Name" UniqueName="grdColLastName"></telerik:GridBoundColumn> </Columns> </MasterTableView> <ClientSettings> <ClientEvents OnRowDblClick="grdCompany_DblClick" /> </ClientSettings> </telerik:radgrid> </div> </form> </body> </html>
We have telerik Radgrid on the pages in our application. When viewed in the windows phone 8 browser the horizontal touch scroll does not work. Moreover the color of the scrollbar is almost invisible. Requests anyone to please suggest how to overcome this issue. we tried providing a skin as "Balck Metro touch" and also tried enabling "embedded skins" but none of this works.
I have RadGrid with RadButton as Checkbox inside it for selection. This code: For Each item As GridItem In PrimaociGrid.MasterTableView.Items Dim cb As RadButton = CType(item.FindControl("PrimaPorukuCheckBox"), RadButton) cb.Checked = True Next worked in 2012.3.1016.40 With new 2013 q2 this is not working I try 2013.2.709.40, same , not working There in no check in check box
We are using the Radgrid and the problem is lines are sorted by the number in the textbox. Somehow the text in the box gets left aligned and we need it to be right aligned even though in the code we have made right aligned. On mouse over the text starts getting right aligned but when page is reloaded it gets left aligned again. We are using .net 4 and IE9.
I am able to edit only the last row in a radgrid. When I select any other row ..it throws an error.. "There was a problem extracting DataKeyValues from the DataSource. Please ensure that DataKeyNames are specified correctly and all fields specified exist in the DataSource." Though I have defined all the datakeyvalues it still throws me error. Did any one faced this problem..If I m able to edit one row why not others..please suggest. Thanks