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>
Declined
Last Updated: 20 Oct 2014 11:58 by Hans
Declined
Last Updated: 26 Sep 2014 12:35 by ADMIN
Created by: obuliprakash
Comments: 1
Category: Grid
Type: Feature Request
0
I am new to telerik controls.
My requirement is i should display "n" number of items based on values available in a xmldocument which is generated at runtime.
is it possible to add the columns at aspx itself and bind it or it can be done only through dynamically creating datasource and binding it?
Also i should show some images and checkboxx for selection based on some conditions
Declined
Last Updated: 26 Sep 2014 11:56 by ADMIN
Natural Sort-Option for RadGrid to sort the items in the grid in a natural way. By natural sort we mean sorting like StrCmpLogicalW (Win32 API).
Declined
Last Updated: 17 Sep 2014 07:10 by Duncan
Declined
Last Updated: 16 Sep 2014 21:23 by Josh
ADMIN
Created by: Jeff Fritz
Comments: 2
Category: Grid
Type: Feature Request
2
For a RadGrid bound to a collection of objects, if the object has properties with a DisplayName or other DataAttributes, those attributes should be applied to the column.

DisplayName should set the text in the header of the column.
Declined
Last Updated: 16 Sep 2014 15:04 by ADMIN
I have created a dynamic hierarchical grid bind with dataset.
I would like to have provision for Add/Update/Delete. I could not do that. even i don't see any demos for the same to my knowledge that is not doable. Is there a way to do that please redirect me?
Declined
Last Updated: 01 Jul 2014 08:53 by ADMIN
Created by: Bruce
Comments: 1
Category: Grid
Type: Feature Request
0
I spend too much time hunting through the design time settings looking for a property settings. For example, your documentation indicates that I can produce a message to ask a user to confirm a row deletion when they click on a Delete button by adding some text to the ConfirmText property of the GridButtonColumn.  Where the heck is this?  I wish you would provide a "Search for this property or method" in you design control so that I could easily find the setting.   Same suggestion goes for all of your complex controls.  Thanks!
Declined
Last Updated: 16 Jun 2014 13:35 by Imported User
Declined
Last Updated: 16 Jan 2014 10:06 by ADMIN
Created by: Paul
Comments: 1
Category: Grid
Type: Feature Request
0
Enable drag-and-drop between cells
Declined
Last Updated: 21 Dec 2013 10:32 by ADMIN
Created by: Srujal
Comments: 1
Category: Grid
Type: Feature Request
1
Hi,

 In our project we are using the telerik grid on Invoice screen to display item list. 
 We are adding item from text box and adds it to grid dynamically using UpdateGrid javascript function. 
 
 Issue:
  When we add the new item to grid. It adds to grid as last row. But grid is not scrolling to last row.
  We want to scroll grid to last row every time we add new item.
  
  Below are the settings used in grid which did not work out:
<ClientEvents OnRowSelected="rowSelected" OnRowCreated="OnRowCreated" OnRowCreating="OnRowCreating" />
<Scrolling AllowScroll="True" EnableVirtualScrollPaging="True" UseStaticHeaders="false" SaveScrollPosition="true" />
  
Please help.
Declined
Last Updated: 21 Dec 2013 10:31 by ADMIN
Created by: Nirmal Shah
Comments: 1
Category: Grid
Type: Feature Request
2
Hi,
I am adding items to radgrid using cleint side javascript using updateGrid function.
My grid structure is DIV -> Table -> Radgrid.

I am adding rows dynamically based on the values added from the external fields.
I want the grid scroll bar at the last row position.
I have already tried all settings suggested from telerik site but was no success.
Below are the settings added which did not worked out:
<ClientEvents OnRowSelected="rowSelected" OnRowCreated="OnRowCreated" OnRowCreating="OnRowCreating" />
<Scrolling AllowScroll="True" EnableVirtualScrollPaging="True" UseStaticHeaders="false" SaveScrollPosition="true" />

Please help.

Regards.
Declined
Last Updated: 13 Dec 2013 12:25 by ADMIN
Created by: Ryan
Comments: 1
Category: Grid
Type: Feature Request
6
Currently the RADGrid  only supports creation of columns on the server side. With todays browsers capabilities it is important to support client side column creation as well.
Declined
Last Updated: 13 Dec 2013 12:23 by ADMIN
Created by: sqna
Comments: 1
Category: Grid
Type: Feature Request
0
Currently to use a UserControl in RadGrid, it has to be in EditFormSettings defined as UserControlName. This functionallity requires filling all the controls of UserControl again on ItemDataBound event.
It should be possible to put the UserControl in FormTemplate when EditFormType is "Template" . Thank you.
Declined
Last Updated: 01 Nov 2013 13:06 by ADMIN
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