Declined
Last Updated: 03 Nov 2014 11:45 by Elena
Bind RadGrid client-side to a WCF Data Service, using a separate GetCount method. Then filter on column typing the value 12345 in the filter textbox. The result is that the value is not passed correctly to the web service.
Unplanned
Last Updated: 03 Nov 2014 11:39 by Igor
GridAutoCompleteColumn columns cannot be created programmatically during OnLoad event, but only using the OnInit event.

In the attached sample, if you comment out 
panelOnInit.Controls.Add(gridOnInit);
and uncomment
panelOnLoad.Controls.Add(gridOnLoad);
when you click Edit in one row the following exception is thrown
Cannot create column with the specified type name: GridAutoCompleteColumn

But if you comment out 
panelOnLoad.Controls.Add(gridOnLoad);
and uncomment
panelOnInit.Controls.Add(gridOnInit);
the sample works

Note that if you change the GridAutoCompleteColumn for any other control type, for example GridHTMLEditorColumn, both methods will work.
Declined
Last Updated: 03 Nov 2014 11:29 by Elena
Created by: Ralf
Comments: 1
Category: Grid
Type: Bug Report
0
This behaviour only occurs in Chrome Webbrowser if you select an item in the grid in the bottom area of a list which has of more than 20 elements.
If you start to drag the item, it appears far to low which means that it is sometimes not on the page anymore.
It is even possible to redo this with the telerik demo ( on http://demos.telerik.com/aspnet-ajax/grid/examples/columns-rows/rows/drag-and-drop/defaultcs.aspx)
if you use the pager some times.
Declined
Last Updated: 03 Nov 2014 11:14 by Elena
GridBoundColumn has set ConvertEmptyStringToNull="false" but when calling InsertMethod, UpdateMethod the property binded to that GridBoundColumn is NULL.
TryUpdateModel then crashes
Declined
Last Updated: 03 Nov 2014 11:13 by Sipra
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
Declined
Last Updated: 03 Nov 2014 10:56 by Elena
In the following scenario it is not working.
1.	Grid populated with data.
2.	Filter applied on one of the columns in the grid. As a result data filtered correctly in the grid.
3.	For e.g 2nd column is moved to 5th column as vice versa.
4.	Again Filter applied on one of the columns in the grid.
5.	Grid data is not filtering as expected and column reorder that we did in point (3) is rolled back. (i.e., 5th column moved to 2nd column, vice versa)


Please help us in fixing this issue.
Declined
Last Updated: 03 Nov 2014 10:16 by Elena
Created by: Brijen
Comments: 1
Category: Grid
Type: Bug Report
0
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.
Declined
Last Updated: 03 Nov 2014 10:12 by Elena
Created by: Nikita
Comments: 1
Category: Grid
Type: Bug Report
0
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
Declined
Last Updated: 03 Nov 2014 10:09 by Elena
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>
Declined
Last Updated: 03 Nov 2014 10:00 by Elena
Created by: Omar
Comments: 1
Category: Grid
Type: Bug Report
0
After the upgrade yesterday, when an event is fired using AjaxPanel or AjaxManager, the first column of the grid is showed reduced (I'm using a button to change the page view on a multipage, but the grid is on second page) then if I apply sorting on a column the grid show well, next change the page and wend return to the page of the grid this is showed bad.
The same error is doing when I have a grid and RadWindow is showed over a grid (in modal mode).
Completed
Last Updated: 03 Nov 2014 09:55 by Elena
Design-time error when SelectMethod property added.

aspx
    <telerik:RadGrid ID="RadGrid1" GridLines="None" runat="server"
            AllowSorting="True"  PageSize="10" AllowMultiRowEdit="False"
            ItemType="ContosoUniversity.Models.Student" DataKeyNames="StudentID" 
            SelectMethod="GetStudentData"
            >                    
    </telerik:RadGrid>

code-behind:
        public IQueryable<Student> GetStudentData([Control] AcademicYear? displayYear)
        { .....

ERROR:
RadGrid - RadGrid1System.ArgumentException: source is not IEnumerable<> 
		at System.Linq.Queryable.AsQueryable(IEnumerable source) 
		at Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) 
		at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) 
		at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) 
		at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) 
		at System.Web.UI.WebControls.DataBoundControl.PerformSelect() 
		at Telerik.Web.UI.GridTableView.PerformSelect() 
		at Telerik.Web.UI.GridTableView.DataBind() 
		at Telerik.Web.UI.RadGrid.DataBind() 
		at System.Web.UI.Design.WebControls.DataBoundControlDesigner.DataBind(BaseDataBoundControl dataBoundControl) 
		at Telerik.Web.Design.RadGridDesigner.DataBind(BaseDataBoundControl dataBoundControl) 
		at System.Web.UI.Design.WebControls.BaseDataBoundControlDesigner.GetDesignTimeHtml()
Declined
Last Updated: 03 Nov 2014 09:49 by Elena
Had a script to invoke filter button on enter key in the Filter header context menu of rad grid. This worked fine in Telerik DLL File version - 2010.2.929.35 but recently we upgraded to latest DLL which is File version - 2012.2.912.40 and it stopped working. Could you please help me in resolving this issue?

Code used in ASpx.cs was
 void HeaderContextMenu_ItemCreated(object sender, RadMenuEventArgs e)
        {
            if (e.Item.Value == "FilterMenuContainer")
                {
                    RadTextBox HCFMRTBFirstCond = e.Item.FindControl("HCFMRTBFirstCond") as RadTextBox;
                    HCFMRTBFirstCond.ClientEvents.OnKeyPress = "PressFilterButton";

                    RadTextBox HCFMRTBSecondCond = e.Item.FindControl("HCFMRTBSecondCond") as RadTextBox;
                    HCFMRTBSecondCond.ClientEvents.OnKeyPress = "PressFilterButton";

                }
            }

Javascript code is
function PressFilterButton(sender, args) {

    var c = args.get_keyCode();
    if (c == 13) {
        var btnFilter = null;
        var btnref = sender._clientID.substring(0, sender._clientID.indexOf("RTBFirstCond")) + 'FilterButton';

        btnFilter = document.getElementById(btnref);
        
        if (btnFilter != null) {
            btnFilter.click();
        }
    }
}
Declined
Last Updated: 03 Nov 2014 09:38 by Elena
hi,

I have radgrid ,its showing two others column but in database view its only exists, Bold column not exists in view. 

I attached output of radgrid.

View's Column
---------------------
 ,[StartDate]      ,[EndDate]      ,[DepartmentName]      ,[LabourRate]      ,[BillingRate]      ,[AgencyRate]      ,[FirstName]      ,[LastName]
 ,[Description]      ,[ManagerFirst]   ,[ManagerLast]     ,[WeekEnding]    ,[Hours]    ,[RateType]  ,[TimesheetStatus]  ,[TimesheetID]

---------------------


<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h1>Current Contractors</h1>
    <br/>
        <telerik:RadButton ID="RadButton1" runat="server" onclick="RadButton1_Click" 
        Text="Previous">
    </telerik:RadButton>
    <telerik:RadButton ID="RadButton2" runat="server" onclick="RadButton2_Click" 
        Text="Next">
    </telerik:RadButton>
    <br/>
    <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" 
        CellSpacing="0" DataSourceID="ObjectDataSource1" GridLines="None" 
        AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" 
        ExportSettings-FileName="Payroll Report" ExportSettings-ExportOnlyData="False" 
        ExportSettings-HideStructureColumns="True" ExportSettings-IgnorePaging="True" 
        ExportSettings-OpenInNewWindow="True" 
         
 >
<MasterTableView DataKeyNames="Name,StartDate,EndDate,DepartmentName,LabourRate,FirstName,LastName,Description,ManagerFirst,ManagerLast,WeekEnding,RateType,TimesheetStatus" 
            DataSourceID="ObjectDataSource1" CommandItemDisplay="Top"
            CommandItemSettings-ShowExportToCsvButton="True" CommandItemSettings-ShowExportToExcelButton="True" CommandItemSettings-ShowExportToPdfButton="True"  CommandItemSettings-ShowExportToWordButton="True" CommandItemSettings-ShowAddNewRecordButton="False" CommandItemSettings-ShowRefreshButton="False" CommandItemStyle-HorizontalAlign="Left"
  
            >
<CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>

<RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>

<ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>

    <Columns>
                <telerik:GridBoundColumn DataField="ContractorName" FilterControlWidth="20px" 
            FilterControlAltText="Filter ContractorName column" HeaderText="Contractor" 
            ReadOnly="True" SortExpression="FirstName" UniqueName="ContractorName"  >
        </telerik:GridBoundColumn>

        
        <telerik:GridBoundColumn DataField="Description" 
            FilterControlAltText="Filter Description column" HeaderText="Job" FilterControlWidth="20px" 
            ReadOnly="True" SortExpression="Description" UniqueName="Description">
        </telerik:GridBoundColumn>

        <telerik:GridBoundColumn DataField="ManagerName" 
            FilterControlAltText="Filter ManagerName column" HeaderText="Manager" FilterControlWidth="20px" 
            ReadOnly="True" SortExpression="ManagerFirst" UniqueName="ManagerName"  >
        </telerik:GridBoundColumn>


      

       
        <telerik:GridBoundColumn DataField="AgencyRate" DataType="System.Decimal" FilterControlWidth="20px" DataFormatString="{0:C}"
            FilterControlAltText="Filter AgencyRate column" HeaderText="Agency Rate" 
            SortExpression="AgencyRate" UniqueName="AgencyRate">
        </telerik:GridBoundColumn>

        <telerik:GridBoundColumn DataField="LabourRate" DataType="System.Decimal" FilterControlWidth="20px" DataFormatString="{0:C}"
            FilterControlAltText="Filter LabourRate column" HeaderText="Labour Rate" 
            ReadOnly="True" SortExpression="LabourRate" UniqueName="LabourRate">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="BillingRate" DataType="System.Decimal" FilterControlWidth="20px" DataFormatString="{0:C}" 
            FilterControlAltText="Filter BillingRate column" HeaderText="Billing Rate" 
            SortExpression="BillingRate" UniqueName="BillingRate">
        </telerik:GridBoundColumn>


       <telerik:GridBoundColumn DataField="StartDate" DataType="System.DateTime" FilterControlWidth="20px" DataFormatString="{0:dd/MM/yyyy}"
            FilterControlAltText="Filter StartDate column" HeaderText="Start" 
            ReadOnly="True" SortExpression="StartDate" UniqueName="StartDate">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="DepartmentName" 
            FilterControlAltText="Filter DepartmentName column" HeaderText="Department" FilterControlWidth="20px" 
            ReadOnly="True" SortExpression="DepartmentName" UniqueName="DepartmentName"  >
        </telerik:GridBoundColumn>
        
  <telerik:GridBoundColumn DataField="Name" FilterControlWidth="20px" 
            FilterControlAltText="Filter Name column" HeaderText="Name" ReadOnly="True" 
            SortExpression="Name" UniqueName="Name" >
        </telerik:GridBoundColumn>        

        <telerik:GridBoundColumn DataField="Hours" DataType="System.Int32" FilterControlWidth="20px" 
            FilterControlAltText="Filter Hours column" HeaderText="Hours" 
            SortExpression="Hours" UniqueName="Hours">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="RateType" FilterControlWidth="20px" 
            FilterControlAltText="Filter RateType column" HeaderText="RateType" 
            ReadOnly="True" SortExpression="RateType" UniqueName="RateType">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="TimesheetStatus" FilterControlWidth="20px" 
            FilterControlAltText="Filter TimesheetStatus column" 
            HeaderText="Status" ReadOnly="True" SortExpression="TimesheetStatus" 
            UniqueName="TimesheetStatus">
        </telerik:GridBoundColumn>
    </Columns>

<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
</EditFormSettings>
</MasterTableView>

<FilterMenu EnableImageSprites="False"></FilterMenu>
    </telerik:RadGrid>
   

      <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
        SelectMethod="GetPayrollReport" TypeName="Business.PayrollReportList"  
                SortParameterName="sortBy"
        >
          <SelectParameters>
            <asp:SessionParameter SessionField="WeekEnding" DbType="DateTime" Name="WeekEnding" />
        </SelectParameters>
    </asp:ObjectDataSource>
</asp:Content>
Completed
Last Updated: 03 Nov 2014 09:31 by ADMIN
Completed
Last Updated: 03 Nov 2014 09:30 by ADMIN